// ASSEMBLY DOT PRODUCT FUNCTION // File: dotprod_func.asm #include .section /pm my_asm_section; _a_dot_c_asm: .global _a_dot_c_asm; leaf_entry; I0 = R8; I1 = R4; M2 = 19; R0 = 0; NOP; M1=1; R1 = DM(I0,M1); R5 = DM(I1,M1); MRF=0; LCNTR=M2, DO aktual_obie UNTIL lce; begin_loop: MRF =MRF + R1*R5(ssi); R5 = DM(I1,M1); R1 = DM(I0,M1); NOP; aktual_obie: nop; MRF =MRF + R1*R5(ssi); R0=MR0F; leaf_exit; _a_dot_c_asm.end: