File: test2.apoo

package info (click to toggle)
apoo 2.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 444 kB
  • ctags: 264
  • sloc: python: 1,954; perl: 67; makefile: 56; sh: 4
file content (19 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
a:	const	1
	const	-3
	const	40
	const	0
b:	mem	1

	loadn 	a 	R1
	zero 	R3
ciclo:	loadi	R1	R2
	jzero	R2	fim
	add	R2	R3
	inc	R1
	jump	ciclo
fim:	store	R3	b
	halt