Subversion Repositories NedoOS

Rev

Details | Last modification | View Log

Rev Author Line No. Line
1537 lvd 1
# file opened: issue166_multiarg_exceptions.asm
2
 1    0000              ; make some instructions to accept single-comma multi-arg even when --syntax=a mode is specified
3
 2    0000              ; instructions supporting relaxed multi-arg: dec, inc, pop, push
4
 3    0000
5
 4    0000              ; errors of double-comma used without --syntax=a mode
6
 5    0000
7
issue166_multiarg_exceptions.asm(6): error: Unexpected: ,,de
8
 6    0000 0B               dec bc,,de
9
issue166_multiarg_exceptions.asm(7): error: Unexpected: ,,de
10
 7    0001 03               inc bc,,de
11
issue166_multiarg_exceptions.asm(8): error: Unexpected: ,,de
12
 8    0002 E5               push hl,,de
13
issue166_multiarg_exceptions.asm(9): error: Unexpected: ,,de
14
 9    0003 E1               pop hl,,de
15
10    0004                  OPT --reversepop
16
issue166_multiarg_exceptions.asm(11): error: Unexpected: ,,de
17
11    0004 E1               pop hl,,de
18
12    0005
19
13    0005              ; enabled --syntax=a mode, and check mixed commas for relaxed instructions
20
14    0005
21
15    0005                  OPT reset --syntax=a
22
16    0005 0B 1B 2B 3B      dec bc,de,,hl,sp,,ix,iy,,b,c,d,e,,h,l,(hl),a
23
16    0009 DD 2B FD 2B
24
16    000D 05 0D 15 1D
25
16    0011 25 2D 35 3D
26
17    0015 03 13 23 33      inc bc,de,,hl,sp,,ix,iy,,b,c,d,e,,h,l,(hl),a
27
17    0019 DD 23 FD 23
28
17    001D 04 0C 14 1C
29
17    0021 24 2C 34 3C
30
18    0025 C5 D5 E5 F5      push bc,de,,hl,af,,ix,iy
31
18    0029 DD E5 FD E5
32
19    002D C1 D1 E1 F1      pop bc,de,,hl,af,,ix,iy
33
19    0031 DD E1 FD E1
34
20    0035                  OPT --reversepop
35
21    0035 FD E1 DD E1      pop bc,de,,hl,af,,ix,iy
36
21    0039 F1 E1 D1 C1
37
22    003D
38
# file closed: issue166_multiarg_exceptions.asm
39
 
40
Value    Label
41
------ - -----------------------------------------------------------