top | item 41814919 (no title) crackez | 1 year ago Yet the same number of register bytes (when only counting 6502's zero page)... 32x8 = 256 bytes... discuss order hn newest brucehoult|1 year ago 31x4 = 124 bytes :-) The Zero register doesn't have to physically exist, and we're talking about 32 bit CPUs e.g. Pi Pico 2 here, right.Ok, 128 bytes if you add in the PC.Except for RV32E -- as seen in the very popular $0.10 CH32V003 -- which has 15x4 = 60 bytes of GPRs, plus the PC.Plus usually a few CSRs on practical CPUs, though Zicsr is an extension so you don't have to have it.
brucehoult|1 year ago 31x4 = 124 bytes :-) The Zero register doesn't have to physically exist, and we're talking about 32 bit CPUs e.g. Pi Pico 2 here, right.Ok, 128 bytes if you add in the PC.Except for RV32E -- as seen in the very popular $0.10 CH32V003 -- which has 15x4 = 60 bytes of GPRs, plus the PC.Plus usually a few CSRs on practical CPUs, though Zicsr is an extension so you don't have to have it.
brucehoult|1 year ago
Ok, 128 bytes if you add in the PC.
Except for RV32E -- as seen in the very popular $0.10 CH32V003 -- which has 15x4 = 60 bytes of GPRs, plus the PC.
Plus usually a few CSRs on practical CPUs, though Zicsr is an extension so you don't have to have it.