Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
I've been trying to convert an exception handling package that I picked up off the net to a MANX library and have come down to one line of assembly code I can't reconcile: andi #$dfff,sr MANX understands that sr is the status register but it gives a message something like a operand mismatch. If I make the immediate value a byte it assembles fine and then crashes after linking and running ( not really unexpected ;^} ). What was unexpected was that Lattice considers the status register 16bits and MANX, only 8. This is V3.4a of MANX. Does anybody know if this is a known bug and what the workaround might be ( on my knees without a 68000 manual ). Thanks, Dick
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
2834.1 | joke Follows | WJG::GUINEAU | Opening the doors of Perception | Wed Aug 16 1989 08:28 | 10 |
Heck, Just *cast* it: > andi #$dfff,sr andi #$dfff,(word)sr :-) John | |||||
2834.2 | Getting worse... | LOWLIF::DAVIS | That's not a BUG, it's a FEATURE! | Wed Aug 16 1989 11:06 | 4 |
Hey John, I don't C what you mean! ...richard |