Instruction encoding

From TriPU

Instruction encoding

Instruction type 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ALU operation 0 0 0 operation (s.b.) srcReg2 srcReg1 targetReg
0 0 1 operation (s.b.) imm8 srcReg1 targetReg
memory access 0 1 R/W cond imm8 addrReg srcReg/targetReg
branch 1 0 0 cond (s.b.) addrReg
1 0 1 cond (s.b.) relative imm24
call 1 1 0 0 0 0 0 0 addrReg
callrel 1 1 0 0 0 0 0 1 relative imm24
interrupt 1 1 0 0 0 0 1 0 imm8
return 1 1 0 0 0 0 1 1
ret. from interrupt 1 1 0 0 0 1 0 0
load MCR 1 1 0 0 0 1 0 1 targetReg
store MCR 1 1 0 0 0 1 1 0 srcReg

ALU operation encoding

To be determined...

value operation

branch condition encoding

To be determined...

value condition
Personal tools

Homebuilt CPUs WebRing

JavaScript by Qirien Dhaela

Join the ring?

David Brooks, designer of the Simplex-III homebrew computer, has founded the Homebuilt CPUs Web Ring.  To join, drop Dave a line, mentioning your page's URL. It will then be added to the list. You will also need to copy this code fragment into your page.