Operații cu stiva
Care sunt valorile registrilor dupa rularea urmatoarelor comenzi, stiind ca valorile initiale sunt cele de mai jos?
AX=0ECE DI=0291 SI=4209
PUSH AX
MOV AX, SI
POP SI
PUSH AX
ADD AX,SI
POP DI
.model small
.stack 100h
.data
.code
start:
MOV AX, 0ECEh
MOV DI, 0291h
MOV SI, 4209h
PUSH AX
MOV AX, SI
POP SI
PUSH AX
ADD AX, SI
POP DI
mov ax,4C00h
int 21h
end start
Care sunt valorile registrilor dupa rularea urmatoarelor comenzi, stiind ca valorile initiale sunt cele de mai jos?
AX=0A82 BX=2618 CX=2261 DX=8226
PUSH AX
MOV AX,DX
SUB AL,BL
PUSH AX
POP CX
POP BX
Last updated