versin v
This commit is contained in:
BIN
programs/nja
BIN
programs/nja
Binary file not shown.
17
programs/prog7.asm
Normal file
17
programs/prog7.asm
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// prog04.asm -- call/ret with args, and with ret value
|
||||
//
|
||||
|
||||
pushc 12
|
||||
rdint
|
||||
mul
|
||||
wrint
|
||||
call proc
|
||||
halt
|
||||
|
||||
proc:
|
||||
asf 0
|
||||
pushc '\n'
|
||||
wrchr
|
||||
rsf
|
||||
ret
|
||||
BIN
programs/prog7.bin
Normal file
BIN
programs/prog7.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user