- Working on a simple On-Calc Z80 Assembler for TI-84+CSE
- 28 Jan 2014 04:45:15 pm
- Last edited by amihart on 30 Jan 2014 03:40:35 pm; edited 1 time in total
I'm working on a very simple on-calc Z80 Assembler for the TI-84+CSE.
Basically my assembler will take what's written in a program file and then build an unsquished assembly program from it.
For example, if you create a new program named "EF" then write this inside:
Code:
You can then run the assembler like this:
Code:
That will generate another program named "OUT" with this inside of it:
Code:
If you want to squish it you can just use:
Code:
This is basically how the syntax is going to work.
It's pretty simple because it mainly runs off a table.
Currently I'm working on adding labels and another table for BCalls (so instead of "DW 44FB" you can just use "DW PUTC".
This isn't like going to be anywhere near as good as Mimas or anything.
But I couldn't find any on-calc assemblers for the TI-84+CSE so I decided to try my hand at making one myself.
Basically my assembler will take what's written in a program file and then build an unsquished assembly program from it.
For example, if you create a new program named "EF" then write this inside:
Code:
LD A,*
DB 41
RST 28H
DW 44FB
RET
You can then run the assembler like this:
Code:
"EF":Asm(prgmZASM)
That will generate another program named "OUT" with this inside of it:
Code:
Asm84CPrgm
3E41EFFB44C9
If you want to squish it you can just use:
Code:
AsmComp(prgmOUT,prgmEFSQ)
This is basically how the syntax is going to work.
It's pretty simple because it mainly runs off a table.
Currently I'm working on adding labels and another table for BCalls (so instead of "DW 44FB" you can just use "DW PUTC".
This isn't like going to be anywhere near as good as Mimas or anything.
But I couldn't find any on-calc assemblers for the TI-84+CSE so I decided to try my hand at making one myself.