assemblymachine-instructionvm-implementation

Do 16 bit register pairs make a machine 16 bit?


I have been working on a fictional retro virtual machine for xbox since January (I am not at all copying 0x10c, infact my project is older. just putting this out there incase some notch fanboys read this) and it has 6 general purpose registers. These are 8 bit but all can be combined to make 3 16 bit registers, memory addresses though are 16 bit and so is the program counter. I know this is a stupid question, but I couldn't figure this out, is it 16 or 8 bit???? The z80 uses 16 bit addresses and is 8 bit


Solution

  • As I know and learned of, the processor's bit width of the general purpose register determines it, because all the calculations are rely on the clock speed, and it can do process only the amount of the general purpose register.

    For example, in a 32-bit processor, it can do 64 bit calculations by register concatenation, but it doesn't possible to call it as a 64-bit processor. Of course there are some 64-bit extensive instructions in 32-bit processors, but they consumes double clocks, two steps.

    I think your processor's designer just want to expand the memory address space to support more big memory.

    So, my conclusion is 8-bit processor.