[Coco] is this a bug?

Dave Philipsen dave at davebiz.com
Thu Apr 20 03:28:16 EDT 2017


Further observations:

I tried a bunch of other instruction in the Motorola mode of the 
assembler and they all assemble correctly with extended addressing as 
expected.  Interestingly, if I use the SETDP directive to tell the 
assembler that I want it to use direct addressing in page $20 it still 
errors out.  Apparently this time the assembler regarded it as extended 
addressing in the first pass and then direct in the second pass:

Microware OS-9 Assembler RS Version 01.00.00    04/20/2017 02:21:07   
Page 001
  -

00001
00002
00003                            opt   M
00004
00005 D 0020                     setdp $20
00006
00007   2000                     org   $2000
00008   2000 0E07       start    jmp   entry
00009   2002 54455354            fcc   /TEST/
***** Error: phasing
00010 E 2006 12         entry    nop
00011                            end

00001 error(s)
00000 warning(s)
$0007 00007 program bytes generated
$0000 00000 data bytes allocated
$0086 00134 bytes used for symbols


Dave


More information about the Coco mailing list