Narjen print.asm in primeri z vaj
This commit is contained in:
parent
a363fd8403
commit
1a6a994e53
4 changed files with 44 additions and 0 deletions
15
ass1/vhod_izhod/text.asm
Normal file
15
ass1/vhod_izhod/text.asm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
text START 0
|
||||
LDCH #97
|
||||
+STCH @screenp
|
||||
|
||||
LDA screenp
|
||||
ADD #1
|
||||
STA screenp
|
||||
|
||||
LDCH #97
|
||||
+STCH #0xb801
|
||||
|
||||
halt J halt
|
||||
|
||||
screenp WORD 0xb800
|
||||
END text
|
||||
Loading…
Add table
Add a link
Reference in a new issue