-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.err
36 lines (36 loc) · 1.88 KB
/
test.err
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
036 f00 cp R1,5
**65 Error: Op CP must have operands R0,val(0-f)
037 f00 add r0,foo
**66 Error: Undefined symbol 'FOO'
038 f00 jr next3 ; EQU must be defined before ref
**67 Error: Undefined symbol 'NEXT3'
errdef equ next3+1 ; reference in equ must be before def
**68 Error: Undefined symbol 'NEXT3'
039 f00 add r0,22
**70 Error: The value 22 must be 0..15
org 32
**71 Error: Origin must be >= 03a (58)
03a f00 f00 next2 goto start-130
**72 Error: The value of START-130 is out of range: -130, must be 0..4095
03c f00 jr start-130 ; An address gets relative, even if negative
**73 Error: The value of START-130 is an invalid address -130 (must be 0..4095)
03d f00 jr Five-140 ; An EQU is an offset
**74 Error: The relative value of FIVE-140 is an invalid address -74 (must be 0..4095)
**74 Error: The value of FIVE-140 is out of range: -135, must be -128..127
03e f00 jr next2-130 ; An address is converted to an offset
**75 Error: The value of NEXT2-130 is an invalid address -72 (must be 0..4095)
03f f00 jr -100 ; Valid offset but invalid address
**76 Error: The relative value of -100 is an invalid address -37 (must be 0..4095)
041 f00 mov pc,[HIGH next+15:MED next+15] ; HIGH/MED eval before +
**78 Error: The value of MED NEXT+15 is out of range: 16, must be 0..15
042 f00 bit pcl,3
**79 Error: Op BIT must have operands Ry,val(0-3) y=R0..R3
043 f00 bit R3,Five
**80 Error: The value of FIVE is out of range: 5, must be 0..3
044 f00 mov R4,[3:4]
**81 Error: Op MOV must have operands one of: Rx,Ry Rx,n [Rx:Ry],R0 R0,[Rx:Ry] R0,[n:m] [n:m],R0 PC,[n:m]
045 f00 skip c,Five
**82 Error: The value of FIVE is out of range: 5, must be 0..3
046 f00 nocarry skip nz,start ; Skip address is always relative
**83 Error: Symbol NOCARRY is already defined on line 83
**83 Error: The value of START is out of range: -71, must be 0..3