added rec and updated gitignore to ignore device files
This commit is contained in:
parent
483a16c194
commit
06aa39473a
3 changed files with 248 additions and 0 deletions
23
ass1/print.asm
Normal file
23
ass1/print.asm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.code
|
||||
prog START 0
|
||||
|
||||
LDX #0
|
||||
|
||||
loop LDCH msg,X
|
||||
WD #0xAA
|
||||
|
||||
TIX msglen
|
||||
JLT loop
|
||||
|
||||
LDA #0x0D
|
||||
WD #0xAA
|
||||
LDA #0x0A
|
||||
WD #0xAA
|
||||
|
||||
halt J halt
|
||||
|
||||
.data
|
||||
msg BYTE C'SIC/XE'
|
||||
msglen WORD 6
|
||||
|
||||
END prog
|
||||
Loading…
Add table
Add a link
Reference in a new issue