scribbling something on the board that i may or may not type up looks like we're pulling the max value from an array and he can't write correctly writing fail PUBLIC absmax RSEG code absmax: push r7 push r6 push r4 mov 8(sp),r6 mov 10(sp),r4 clr r12 lnext:mov @r4+,r7 cmp #0,r7 jge lcmp inv r7 inc r7 lcmp:cmp r7,r12 jge ldec mov r7,r12 dec r6 jnz lnext lend:pop r4 pop r6 pop r7 ret end yay for explanations of code that needs no explaining all we do is go over assembly IT'S NOT THAT FUCKING HARD @RXX operates on the memory location pointed to by RXX such as: RRC @R5+ right circular shift 0(R5), then increment R5