After more reasearching, the 0x15 and 0x16 is basically a right and left bit shift operator respectively. To use it basically use a number with the power of 2 for [b] to bit shift by how much and any number for [a]
What do instructions 0x15 and 0x16 do?
So uhh can someone tell me what the hexadecimal code is for below the commands/instructions?
@xiaohei_5753: Also, what is your memory layout? It seems that the computer has one, as the a, b, and c, values are completely nonsensical if you treat them as purely RAM addresses.
@xiaohei_5753: Could you explain the example program in the original save? Because it makes no sense. There are no instructions that read or write to cache, but the cache still is written to?? What?? How do you even read from cache in the first place??? Nothing about this computer makes any sense.
bitewise not is "~a" instead of "a!"
@Furry_02 :A,B,C are all addresses. For example, 0x18010203 means to add the data stored at 0x01 to the data stored at 0x02 and write it to 0x03.
Question, what are A and B? Registers? Immediates? Some other kind of input? A and B seem to have no way of setting them, and the diagram is more confusing than it is helpful. C is obviously a register from context. Also, how is the cache supposed to be used? I see no way of writing to it, only reading, which makes no sense, because that's not how cache works in my experience. Is the cache written to from somewhere else? If so, what is written to it?
@ :The upper RAM and the lower CPU are independent, so the CPU controls RAM by sending messages to RAM.If CPU output 0x11******,the RAM will perform the operation"read [add]".(******=[add])