BigEd / atalan

Automatically exported from code.google.com/p/atalan
MIT License
1 stars 0 forks source link

Word value passed as byte to assembler #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Consider this code:

'''
use atari

;Display List
const dl:array of dl_command =
    3 times BLANK8
    $0F+LMS,$8000,
    101 times $0f
    NEXT, dl

SDLSTL = dl
'''

I will compile to .asm, but MADS reports error (Value out of range).
The culprit is here the constant $8000 which gets assembled to:
'''
   dta b(32768)
'''

Original issue reported on code.google.com by pawel.ka...@gmail.com on 2 Apr 2011 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by pawel.ka...@gmail.com on 2 Apr 2011 at 7:03

GoogleCodeExporter commented 9 years ago
Error is correctly reported now.

Original comment by rudla.ku...@gmail.com on 3 Jun 2011 at 9:45