Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
# file opened: dir_align.asm1 0000 DEVICE ZXSPECTRUM482 0000 org $80003 8000 ; 17 bytes block of "default" memory values4 8000 41 42 43 44 db "ABCDEFGHIJKLMNOPZ"4 8004 45 46 47 484 8008 49 4A 4B 4C4 800C 4D 4E 4F 504 8010 5A5 8011dir_align.asm(6): error: [ALIGN] Illegal align: 06 8011 ALIGN 0 ; errordir_align.asm(7): error: [ALIGN] Illegal align fill-byte: 1,-17 8011 ALIGN 1,-1 ; errordir_align.asm(8): error: [ALIGN] Illegal align fill-byte: 1,2568 8011 ALIGN 1,256 ; errordir_align.asm(9): error: [ALIGN] Illegal align: 39 8011 ALIGN 3 ; errordir_align.asm(10): error: [ALIGN] Illegal align: 5,1010 8011 ALIGN 5,10 ; errordir_align.asm(11): error: [ALIGN] Illegal align: $1000011 8011 ALIGN $10000 ; error12 801113 8011 ; re-run over the initial values again with different ALIGN directives14 8011 org $800015 8000 61 db 'a' ; [8000] = 'a'16 8001 ALIGN 1 ; effective nothing should happen here17 8001 ALIGN 1, '!' ; and neighter here18 8001 42 ALIGN 2 ; this should advance to $8002 + preserve memory19 8002 62 62 ALIGN 4, 'b' ; [8002] = [8003] = 'b'dir_align.asm(20): error: [ALIGN] Illegal align: 7, '!'20 8004 ALIGN 7, '!' ; error21 8004 45 46 47 48 ALIGN 8 ; advance to 8008, preserve memory22 8008 63 63 63... ALIGN 16, 'c' ; [8008..800F] = 'c'23 8010 ALIGN ; should not make any difference (already at MOD 4 address)24 801025 8010 ; the final result should be "aBbbEFGHccccccccZ"26 801027 8010 SAVEBIN "dir_align.bin", $8000, 17 ; modified area is saved into BIN file28 8010dir_align.asm(29): error: [ALIGN] fill-byte expected after comma: ALIGN 1,29 8010 ALIGN 1, ; error30 8010# file closed: dir_align.asmValue Label------ - -----------------------------------------------------------