?login_element?

Subversion Repositories NedoOS

Rev

Rev 129 | Blame | Compare with Previous | Last modification | View Log | Download

# file opened: stderr_as_listing.asm
 1    0000                  ORG $8000       ;; uncut align blocks
 2    8000                  ALIGN 4
 3    8000 01               DB  1
 4    8001 00 00 00         ALIGN 4
 5    8004 02 03            DB  2, 3
 6    8006 00 00            ALIGN 4
 7    8008 04 05 06         DB  4, 5, 6
 8    800B 00               ALIGN 4
 9    800C 07 08 09 0A      DB  7, 8, 9, 10
10    8010                  ALIGN 4
11    8010
12    8010                  ORG $8100       ;; cut to 3 and "..." align blocks
13    8100                  ALIGN 16
14    8100 01               DB  1
15    8101 00 00 00...      ALIGN 16
16    8110 02 03            DB  2, 3
17    8112 00 00 00...      ALIGN 16
18    8120 04 05 06         DB  4, 5, 6
19    8123 00 00 00...      ALIGN 16
20    8130 07 08 09 0A      DB  7, 8, 9, 10
21    8134 00 00 00...      ALIGN 16
22    8140
23    8140                  ORG $8200       ;; some should fit fully, some should be cut
24    8200                  ALIGN 8
25    8200 01 02 03         DB   1,  2,  3
26    8203 00 00 00...      ALIGN 8
27    8208 04 05 06 07      DB   4,  5,  6,  7
28    820C 00 00 00 00      ALIGN 8
29    8210 08 09 0A 0B      DB   8,  9, 10, 11, 12
29    8214 0C
30    8215 00 00 00         ALIGN 8
31    8218 0D 0E 0F 10      DB  13, 14, 15, 16, 17, 18
31    821C 11 12
32    821E 00 00            ALIGN 8
33    8220
34    8220                  ORG $8300       ;; same as $8200 case, crammed into single source line
35    8300                  ALIGN 8
35    8300 01 02 03      DB 1,2,3
35    8303 00 00 00...   ALIGN 8
35    8308 04 05 06 07   DB 4,5,6,7
35    830C 00 00 00 00   ALIGN 8
35    8310 08 09 0A 0B   DB 8,9,10,11,12
35    8314 0C
35    8315 00 00 00      ALIGN 8
35    8318 0D 0E 0F 10   DB 13,14,15,16,17,18
35    831C 11 12
35    831E 00 00         ALIGN 8
36    8320
37    8320                  ORG $9000       ;; BLOCK emit
38    9000 01               BLOCK   1, 1
39    9001 02 02            BLOCK   2, 2
40    9003 03 03 03         BLOCK   3, 3
41    9006 04 04 04 04      BLOCK   4, 4
42    900A 05 05 05...      BLOCK   5, 5
43    900F 06 06 06...      BLOCK   6, 6
44    9015 07 07 07...      BLOCK   7, 7
45    901C 08 08 08...      BLOCK   8, 8
46    9024
stderr_as_listing.asm(47): error: Unrecognized instruction: some error and warning here
47    9024                  some error and warning here
stderr_as_listing.asm(48): warning: value 0x7761726E is truncated to 8bit value: 0x6E
48    9024 3E 6E            ld      a,'warn'
49    9026
50    9026              cnt = 0
51    9026                  DUP 2
52    9026             >        DUP 3
53    9026 00          >            db  cnt
54    9027             >cnt = cnt+1
53    9027 01          >            db  cnt
54    9028             >cnt = cnt+1
53    9028 02          >            db  cnt
54    9029             >cnt = cnt+1
55    9029             >        EDUP
52    9029             >        DUP 3
53    9029 03          >            db  cnt
54    902A             >cnt = cnt+1
53    902A 04          >            db  cnt
54    902B             >cnt = cnt+1
53    902B 05          >            db  cnt
54    902C             >cnt = cnt+1
55    902C             >        EDUP
56    902C                  EDUP
57    902C
58    902C                  MACRO pokus count1,count2,data
59    902C ~                    DUP count1
60    902C ~                        DUP count2
61    902C ~                            db data
62    902C ~                        EDUP
63    902C ~                    EDUP
64    902C                  ENDM
65    902C
66    902C                  pokus 2,3,#FF
66    902C             >        DUP 2
66    902C             >            DUP 3
66    902C FF          >                db #FF
66    902D FF          >                db #FF
66    902E FF          >                db #FF
66    902F             >            EDUP
66    902F             >            DUP 3
66    902F FF          >                db #FF
66    9030 FF          >                db #FF
66    9031 FF          >                db #FF
66    9032             >            EDUP
66    9032             >        EDUP
67    9032
# file closed: stderr_as_listing.asm

Value    Label
------ - -----------------------------------------------------------
0x0006   cnt