22 lines
245 B
NASM
22 lines
245 B
NASM
start:
|
|
MOV AX,#0x0000
|
|
MOV CX,#0x0000
|
|
MOV BX,#0x0000
|
|
ADD AX,#0xDEAD
|
|
ADD CX,#0xBEEF
|
|
ADD CX,#0x4111
|
|
mov AX,#0x00FF
|
|
inc AL
|
|
mov AX,#0x00FF
|
|
inc ax
|
|
ADD AX,#0x2200
|
|
MOV SI,#0x0101
|
|
MOV [SI],AX
|
|
inc [si]
|
|
inc [si]
|
|
inc [si]
|
|
dec [si]
|
|
cmp CX,#0x00
|
|
jz start
|
|
HLT
|