Is it possible to render the opcode also as an operand? Understanding the error "Constraining currently undefined operand" #7011
Unanswered
hippietrail
asked this question in
Q&A
Replies: 1 comment 1 reply
-
For me |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a kind of
printf
-style debugging while working out my language spec I've tried to render an instruction with its opcode as if it's also an operand.I always get the error "Constraining currently undefined operand", which doesn't help me.
Is this just something that's never possible and happens to trigger an error message intended for something else? Or is it possible and I'm just not doing it the right way?
Things I've tried:
I got here because I'm progressing from opcodes based on all 8 bits in a byte to ones that use some bits as the opcode and some as built-in operand and trying to output what I've got so far to make sure I'm on track. When I couldn't get it to work I tried with whole opcodes which I actually thought I had done yesterday. Now I'm just thoroughly lost.
Beta Was this translation helpful? Give feedback.
All reactions