File: test1.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 (17 lines) | stat: -rw-r--r-- 167 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
a:	const 1
b:	const 2
c:	const 3

m:	mem  2
n:	mem  1

	load 	a 	R1	
	load 	b 	R2
	load	c 	R3
	loadn   m 	R4
	storei	R1	R4 
	inc R4
	storei	R2	R4 
	store	R3 	n
	halt