Anyone ever heard of Ethiopian Multiplication?
Yes, it's the same as the "Russian Method" http://mathworld.wolfram.com/RussianMultiplication.html
what's 14 * 36? -14 36 7 72 3 144 1 288 -0 576 -0 1152 . 1BDC:0100 6A11 PUSH 11 ;17 1BDC:0102 6A22 PUSH 22 ;34 1BDC:0104 E80900 CALL 0110 1BDC:0107 90 NOP 1BDC:0108 90 NOP 1BDC:0109 90 NOP 1BDC:010A 90 NOP 1BDC:010B 90 NOP 1BDC:010C 90 NOP 1BDC:010D 90 NOP 1BDC:010E 90 NOP 1BDC:010F 90 NOP 1BDC:0110 89E5 MOV BP,SP 1BDC:0112 8B4E02 MOV CX,[BP+02] 1BDC:0115 8B5E04 MOV BX,[BP+04] 1BDC:0118 31C0 XOR AX,AX 1BDC:011A F7C10100 TEST CX,0001 1BDC:011E 7402 JZ 0122 1BDC:0120 01D8 ADD AX,BX 1BDC:0122 D1E3 SHL BX,1 1BDC:0124 D1E9 SHR CX,1 1BDC:0126 75F2 JNZ 011A 1BDC:0128 C3 RET 504
Join our real-time social learning platform and learn together with your friends!