New machine language port
|
12-21-2019, 03:22 AM
(This post was last modified: 12-21-2019 04:57 AM by Joe Horn.)
Post: #2
|
|||
|
|||
RE: New machine language port
If you're compiling using the 50g's built-in assembler, then you have a setting wrong somewhere*, or a syntax error (e.g. a missing final "@"), because the mnemonics you listed are valid in the 50g.
On the other hand, if you're using a non-HP assembler, you might need an HP<>AG translation table, such as the following: http://holyjoe.net/hp/ROSETTA.TXT For example, if you look up the D1=A mnemonic, you'll see that it's a valid HP mnemonic, whose AG equivalent is MOVE.A A,D1. Explanations are at the top of the file. * EDIT: One setting which makes a difference is flag -92: Set means "MASD SysRPL mode" and clear means "MASD asm mode". EDIT 2: ASM assembles the following (useless Code object) correctly in SysRPL mode (when flag -92 is set): "CODE D1=A ENDCODE @" ASM assembles the the following into the same (useless) Code object when flag -92 is clear (asm mode): "D1=A @" Do not run that Code object; it's just an example of using one of the opcodes you listed. <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)