Index ¦ Archives ¦ Atom ¦ RSS > Tag: gas

Branch delays

I've coded up logic for more arithmetic instructions, register moves, as well as direct and indirect jumps. For jumps, I simply pass a branch signal from the execute stage back to the fetch stage, as well as the computed target address. Here's some code that works now:

.text
    xor $r0 …

© Anthony Green. Built using Pelican. Theme by Giulio Fidente on github.