2023-02-15 03:53:05 +00:00
|
|
|
start:
|
2023-02-10 15:35:43 +00:00
|
|
|
MOV AX,#0x0000
|
|
|
|
MOV CX,#0x0000
|
|
|
|
MOV BX,#0x0000
|
2023-02-10 14:08:39 +00:00
|
|
|
ADD AX,#0xDEAD
|
|
|
|
ADD CX,#0xBEEF
|
|
|
|
ADD CX,#0x4111
|
2023-02-11 14:43:53 +00:00
|
|
|
mov AX,#0x00FF
|
|
|
|
inc AL
|
|
|
|
mov AX,#0x00FF
|
|
|
|
inc ax
|
2023-02-10 14:08:39 +00:00
|
|
|
ADD AX,#0x2200
|
2023-02-15 03:53:05 +00:00
|
|
|
MOV SI,#0x0101
|
2023-02-15 01:28:02 +00:00
|
|
|
MOV [SI],AX
|
2023-02-15 03:53:05 +00:00
|
|
|
inc [si]
|
|
|
|
inc [si]
|
|
|
|
inc [si]
|
|
|
|
dec [si]
|
2023-02-16 01:46:22 +00:00
|
|
|
dec cx
|
2023-02-15 03:53:05 +00:00
|
|
|
cmp CX,#0x00
|
2023-02-24 10:08:01 +00:00
|
|
|
MOV CH,#0x9A
|
|
|
|
TEST CH,#0x70
|
|
|
|
jz WAZZ
|
|
|
|
mov ah,#2
|
|
|
|
mov dl,#'1
|
|
|
|
int #0x21
|
|
|
|
hlt
|
|
|
|
WAZZ:
|
|
|
|
mov ah,#2
|
|
|
|
mov dl,#'0
|
|
|
|
int #0x21
|
|
|
|
hlt
|