top of page
TERN
The most powerful microprocessor instruction set architecture to date
125 total instruction
64 base instructions
61 pseudo-instructions
Three-way branching
Middle moves
Large model sizes
Three-way branching
Middle moves
Large model sizes
.modl sm
.section .data
.wrd a 100
.wrd b 2000
.wrd c 1000
.wrd res 0t0
.section .txt
main:
lwl t1, b
push t2
move t2, t1
...
We know new can be scary...
...that's why we based TERN off RISC-V
...
lwl t1, a
bg t1, t2, set_resreg_6
add t1, zero, 0t0
jal x0, exit_bg_6
set_resreg_6:
addi t1, zero, 0t+
exit_bg_6:
pop t2
be t1, zero, else_15
...
Build Anew
All Ways
bottom of page