repo.or.cz
/
fpgammix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial
[fpgammix.git]
/
workloads
/
overflow.s
blob
2eed55e6de4ba24880b17bb4d850946cf4722cd1
1
# 1 "div.c"
2
!
mmixal
:=
8
H LOC Data_Section
3
.text ! mmixal:= 9H LOC 8B
4
.p2align 2
5
LOC @
+(
4
-
@
)&
3
6
.global main
7
main IS @
8
SETL $
0
,
#6c1
9
STT $
0
,
foo
10
SETL $
3
,
#1
11
SET $
1
,
$
0
12
L
:
2
IS @
13
SL
$
0
,
$
1
,
2
14
ADD
$
2
,
$
0
,
$
1
15
SET $
1
,
$
2
16
ADD
$
0
,
$
3
,
1
17
SET $
3
,
$
0
18
SL
$
0
,
$
0
,
32
19
SR
$
0
,
$
0
,
32
20
CMP
$
0
,
$
0
,
10
21
PBNZ $
0
,
L
:
2
22
STT $
2
,
foo
23
POP
1
,
0
24
25
.comm foo,4,4 ! mmixal-incompatible COMMON
26
.data ! mmixal:= 8H LOC 9B