completed rec and again fixed echo
This commit is contained in:
parent
8c8a68cb89
commit
b16c3e23d8
6 changed files with 371 additions and 14 deletions
14
ass1/fac.asm
14
ass1/fac.asm
|
|
@ -1,11 +1,13 @@
|
|||
prog START 0
|
||||
JSUB sinit
|
||||
LDA #5
|
||||
prog START 0
|
||||
zacetek CLEAR X
|
||||
loop RD #0xFA
|
||||
COMP #0
|
||||
JEQ halt
|
||||
JSUB fact
|
||||
WD #1
|
||||
J loop
|
||||
|
||||
|
||||
|
||||
halt J halt
|
||||
halt J halt
|
||||
|
||||
.fakulteta
|
||||
fact COMP #1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue