mirror of
https://github.com/rzzzwilson/pymlac.git
synced 2025-06-10 09:32:41 +00:00
22 lines
383 B
NASM
22 lines
383 B
NASM
; 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
|