| www.retrosoftware.co.uk http://www.retrosoftware.co.uk/forum/ |
|
| 65c02 instructions http://www.retrosoftware.co.uk/forum/viewtopic.php?f=17&t=740 |
Page 1 of 1 |
| Author: | PhillHS [ Wed Feb 15, 2012 2:12 am ] |
| Post subject: | 65c02 instructions |
Is there anything I need to do to enable assembly of 65c02 instructions like phx / plx ? With BeebAsm for Windows 1.08 (from the zip on the front page), I get errors trying to assemble the following code : Code: phx plx rts beebasm -i test.asm test.asm:1: error: Unrecognised token. phx ^ Cheers. Phill. |
|
| Author: | RichTW [ Wed Feb 15, 2012 10:09 am ] |
| Post subject: | Re: 65c02 instructions |
Yes: put the directive Code: CPU 1 at the top of your code.
|
|
| Author: | PhillHS [ Wed Feb 15, 2012 10:20 am ] |
| Post subject: | Re: 65c02 instructions |
RichTW wrote: Yes: put the directive Code: CPU 1 at the top of your code.Thanks Rich, just found that by looking in the source....and then noticed it's actually documented on the BeebAsm webpage Serves me right for trying to port code at 1.30 in the morning....... Cheers. Phill. |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|