On Propeller Assembler
stevenmess2004
Posts: 1,102
Here is a project I have been working on.
It is more of a disassembler that allows editing than a proper assembler, but it still allows you to write assembly code and run it on the propeller. Press F1 to see what keys to use. At the moment there is no support for labels but I might add this later. At some stage I might add SD card support (have to make an SD reader for my proto board first) so that you can save files.
First update. Now have support for labels. Press F1 for how to enter them. Labels can be up to 5 characters long. Also, instructions must be in uppercase.
Second update - 002
Fixed bug in test program-should now run and allow you to keep using the keyboard after you run the program
Made it look more like propeller assembly in proptool
Z,C and R flags are now individually set
To set a source register as an immediate use 'S' and add '#' to the front of the label
new bug - labels don't always work properly
Steven
Post Edited (stevenmess2004) : 1/5/2008 4:00:53 AM GMT
It is more of a disassembler that allows editing than a proper assembler, but it still allows you to write assembly code and run it on the propeller. Press F1 to see what keys to use. At the moment there is no support for labels but I might add this later. At some stage I might add SD card support (have to make an SD reader for my proto board first) so that you can save files.
First update. Now have support for labels. Press F1 for how to enter them. Labels can be up to 5 characters long. Also, instructions must be in uppercase.
Second update - 002
Fixed bug in test program-should now run and allow you to keep using the keyboard after you run the program
Made it look more like propeller assembly in proptool
Z,C and R flags are now individually set
To set a source register as an immediate use 'S' and add '#' to the front of the label
new bug - labels don't always work properly
Steven
Post Edited (stevenmess2004) : 1/5/2008 4:00:53 AM GMT
Comments
Steven
Can somebody have a look at the demo program in there and tell me why the keyboard stops working when you run the program? Press F4 to run the program.
Steven
If the function calls have the same names, I can't see whynot. What board are you using?
See first post
Try the new update. If you run the demo program, it could have been the bug in that.
With Propasm001,
I changed the driver to NTSC,
changed the crystal constants to xtal2+pll8x and 10_000_000
changed the video pins to 24...27 for Hydra
changed the keyboard pins to 13,14 or 13,15
(Hydra uses 4 pins for keyboard i/o but only 2 are necessary, 12 is OUT)
and the code displayed on TV but no keys responded.
on Propasm002 I could not even get video out that way; it dies and reboots my EEPROM.
I also have a breadboarded Propeller, like proto board, but it uses the same pins as Hydra.
I suppose I could or might make one to use the same pins as your code.