XC:
Code: Select all
lz=clz(x);if(lz<2) lz=0; else x<<=(lz-1);ye=B0e-lz;TEMP=ye-Z0e;
l=0;{h,l}=macs(x,B0,h,l);
Code: Select all
0x10216 neg (2r) r8, r0
0x10218 sub (2rus) r6, r8, i 0x0
0x1021a add (2rus) r2, r4, i 0x0
0x1021c add (2rus) r0, r4, i 0x0
0x1021e ldwcp (lru6) r11, cp[i 0x10]
FNOP
0x10222 maccs (l4r) r2, r0, r9, r11
It´s something with the pipeline, isn't it?
(The 8-bit "computer" we made by hand from scratch in the university didn't have a pipeline - but it had 8 LEDs and 8 on-off switches+1 switch for the clock. After programming it for 3 h with the switches, it could calculate 4+7, showing the results with the LEDs)