Hello everyone, before you read this, I do have a question about one of my new projects I really want to make... it’s near the end of this post.
Project 1: 2D Minecraft CE
Project 2: 2D Minecraft CE Launcher
Project 3: Advanced Calc CE’s ICE programs (with basically routines not available in BASIC)
Project 4: *NEW PROJECT* On-calc ASM Compiler written in ICE.
So, the question is FOR MY ON-CALC ASM COMPILER project...
So, I’ve had several people to help me gind the hex versions of some tokens and even regular ez80 asm code, but...
Is the ld <var>,<value> ‘s token in asm hex “FD”?
I might have a few more pieces of code like this soon...
but thanks everyone!!!
EDIT 1:
Ok so another question, in the code:
ld a,(iy+8)
... wouldn’t ‘ld ‘ as hex be FD, and ‘a’ be 7E, and ‘(iy+8) be 08? Or is ‘a’ 08 and ‘(iy+8)’ be 7E?
The full hex code is for Toggle Program Mode, which I found somewhere a while back. Here it is:
FD7E08EE02FD7708C9
... and it’s non-hex code was:
ld a,(iy+8)
xor 2
ld (iy+8),a
ret
CAN SOMEONE PLEASE TELL ME WHAT EACH PART of the code above’s 2-character hex is? Like, how would I match up the hexadecimal code to the other code?
I’m asking, still, because I’m trying to understand how asm compiling would work, since I’m making an on-calc asm compiler..
Project 1: 2D Minecraft CE
Project 2: 2D Minecraft CE Launcher
Project 3: Advanced Calc CE’s ICE programs (with basically routines not available in BASIC)
Project 4: *NEW PROJECT* On-calc ASM Compiler written in ICE.
So, the question is FOR MY ON-CALC ASM COMPILER project...
So, I’ve had several people to help me gind the hex versions of some tokens and even regular ez80 asm code, but...
Is the ld <var>,<value> ‘s token in asm hex “FD”?
I might have a few more pieces of code like this soon...
but thanks everyone!!!
EDIT 1:
Ok so another question, in the code:
ld a,(iy+8)
... wouldn’t ‘ld ‘ as hex be FD, and ‘a’ be 7E, and ‘(iy+8) be 08? Or is ‘a’ 08 and ‘(iy+8)’ be 7E?
The full hex code is for Toggle Program Mode, which I found somewhere a while back. Here it is:
FD7E08EE02FD7708C9
... and it’s non-hex code was:
ld a,(iy+8)
xor 2
ld (iy+8),a
ret
CAN SOMEONE PLEASE TELL ME WHAT EACH PART of the code above’s 2-character hex is? Like, how would I match up the hexadecimal code to the other code?
I’m asking, still, because I’m trying to understand how asm compiling would work, since I’m making an on-calc asm compiler..