Assembly/22-11-2021/movax.asm

22 lines
393 B
NASM

; multi-segment executable file template.
name "Riempire il registro AX con un numero"
data segment
; aggiungo i miei dati
pkey db "press any key...$"
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
;aggiungo il codice necessario per muovere il numero nel registro
mov ax, 0000h
mov ax, 7h
ends
end start ; set entry point and stop the assembler.