How to branch multiple times in SuperH assembly?
Advertisements I wrote a SuperH assembly subroutine that draws a pixel to the screen: # r3: x coord # r4: y coord # r5: pixel color draw_pixel: mov.l frame_buffer_address, r0 mov.l screen_width, r6 mul.l r6, r4 sts macl, r4 add r4, r3 add r3, r0 mov r5, r1 mov.b r1, @r0 rts nop I can… Read More How to branch multiple times in SuperH assembly?