[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Orca/M bug MVN & MVP?



In article <93161.175913KCR103@psuvm.psu.edu> <KCR103@psuvm.psu.edu> writes:
>Whenever I compile with these commands such as:
>
>     lda #$0ffe
>     ldy #$2000
>     ldx#$1000
>     mvp $01,$01
>
>The compiled code never keeps the 01 and 01 in the MVP instruction.
>I always get:  44 00 00 for instead of 44 01 01.  What's the deal?
>
>Ken
>

   This is not mentioned anywhere in the manual for Orca/M, and it
really bugged me the first few times I ran into it. The only thing I've 
found is to hardcode the MVN myself doing things like:

     lda #$0ffe
     ldy #$2000
     ldx#$1000
     dc h'44 01 01'

  or:
     lda #Locs   ;Banks to move things around
     sta MVPLoc+1

     ...
MVPLoc mvp $01,$01

   
   I've goten so used to doing this that I haven't bugged Mike Westerfield
and seen what his excuse of the day for this one is.


Nathan Mates


-- 
* Nathan Mates nathan@cco.caltech.edu * MSC #850, Pasadena  CA 91126
* No fancy quote, no disclaimers for irate employers, no .sig-- oops,
* Too late for that! Several Megabyte joke collector and IIGS hacker 
* operating out of Caltech, the world's best place for an education!