mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-25 07:31:52 +00:00
465da8c139
fixed a bug where "number out of range" error led to bogus "label already defined" errors made "number out of range" errors more specific (8/16/24 bit range) re-phrased two error messages cleaned up docs concerning "command/opcode/mnemonic/instruction" added test program to trigger "out of range" errors internal cleanup concerning INW/DEW/JAM mnemonics git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@278 4df02467-bbd4-4a76-a152-e7ce94205b78
15 lines
290 B
Plaintext
15 lines
290 B
Plaintext
;ACME 0.97
|
|
*=$1000
|
|
; these must throw errors:
|
|
!by -129, 256
|
|
!wo -32769, 65536
|
|
!24 -0x800001, 16777216
|
|
; 32-bit values are not range checked atm:
|
|
!32 -0x80000001, 0x100000000
|
|
|
|
; these must work:
|
|
!by -128, 255
|
|
!wo -32768, 65535
|
|
!24 -0x800000, 16777215
|
|
!32 -0x80000000, 0xffffffff
|