-
Notifications
You must be signed in to change notification settings - Fork 0
/
spill.mid
60 lines (52 loc) · 1.01 KB
/
spill.mid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
;Test packing words into standard data blocks in REL format.
;MIDAS's buffer has space for BSIZE=0o37 words:
;codebits
;data x12
;codebits
;data x12
;codebits
;data x3
;checksum
;Each "redefine symbol" (74) or expunge (76) will generate 3 codebits
;and two words of data. The two words should *not* be split across
;two different blocks, else STINK won't understand.
RELOCATABLE
1PASS
LOC 200
;74 redefine symbol
A"==1
B"==2
C"==3
D"==4
E"==5
F"==6
G"==7
H"==8
I"==9
J"==10
K"==11
L"==12
M"==13
N"==14
O"==15
WIN1"==1
LOC 300
;76 local-to-global (expunge unknown)
;For non-obvious reasons, MIDAS doesn't emit a directive
;for each of these, so we need lots to ensure that we have
;more than a block's worth.
EXPUNGE AA,BB,CC,DD,EE,FF
EXPUNGE GG,HH,II,JJ,KK,LL
EXPUNGE MM,NN,OO,PP,QQ,RR
EXPUNGE SS,TT,UU,VV,WW,XX
EXPUNGE YY,ZZ
EXPUNGE AAA,BBB,CCC,DDD,EEE
EXPUNGE FFF,GGG,HHH,III,JJJ
EXPUNGE KKK,LLL,MMM,NNN,OOO
EXPUNGE PPP,QQQ,RRR,SSS,TTT
EXPUNGE UUU,VVV,WWW,XXX,YYY
EXPUNGE ZZZ
WIN2"==1
;FIXME Also test 76 local-to-global.
END