12-15-2014, 08:27 PM
(This post was last modified: 12-15-2014, 08:47 PM by GISED_Link.)
(12-15-2014, 05:10 PM)LordDecapo Wrote: A nop should ALWAYS ALWAYS ALWAYS be 00000. So if u do something like pipeline and u have to stall, it simply just closes a read lock and nothing else can come though. Leaving the busses idling at 00000 during the stall, Hensel Noop.
I've joined the HCS12 instruction set (not only the picture), made by Freescale. See by yourself, NOP isn't at 0x00. Here, 0x00 is used to put the CPU in background mode.
You can set NOP at 0x00, but I suggest to put something else (that shows something special for the user). With that, when a problem happens with the instruction bus, you will immediately know where the error is and you will earn a lot of time. Or use NOP and turn on a Redstone lamp...
But you are lucky, with Minecraft you can do whatever you want.
Here, "000000" is a load instruction (see in the manual).
I've join a Instruction Set from a CPU coded in VHDL from Xilinx. And you can see that it doesn't have the NOP instruction. So ... We are fighting for something that doesn't matter at all XD.
I hope that those examples will help you (chibill).
By the way :
- I think that 3 kind of jump is not enough
- You can devide, but how can you store the remainder ?
- Same instruction? Why ? But why not... It's funny XD
- addc and subc... if you have the place to use those instructions, use them.
- INC, Increment a register