1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00
rzzzwilson.pymlac/pyasm/example.asm
2022-01-02 20:11:11 +11:00

22 lines
383 B
NASM
Executable File

; an assembler test file
org 0100
test equ 4
print equ 0200 ; print subroutine address
start law test
dac save
law 1
add save2
dac save2
law string
jms print
hlt
save bss 1
save2 data 3
string ascii 'Test'
data 0
end start