Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: block_align_bytes.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
# file closed: block_align_bytes.asm
Value Label
------ - -----------------------------------------------------------