20 lines
352 B
NASM
20 lines
352 B
NASM
;.include "./another_test.asm"
|
|
.db video_start 0xF37F
|
|
.db msg "Hello, world!", 0
|
|
.db NOTERM "No terminating byte here"
|
|
.db null_byte 0
|
|
|
|
;load r2, label
|
|
something_insance:
|
|
load r1, unknown_symbol
|
|
load byte r1, r3
|
|
load r1, 5
|
|
load r3, r4
|
|
store byte r3, r5
|
|
store r5, r7
|
|
cmp r1, r4
|
|
cmp r1, 5
|
|
and r1, r2
|
|
add r4, r7
|
|
inc r1 ;increment r1
|
|
xor r1, r1 ;clear self |