Posts

Showing posts with the label MULTIPLY WITHOUT CARRY

MULTIPLY WITHOUT CARRY

Image
  To MULTIPLY TWO 8-BIT NUMBERS WITHOUT CARRY MP 8085A we use repetitive addition, here we can not consider CARRY, Thus Output size is 8 bit. WRITE 8085 ASSEMBLY LANGUAGE PROGRAM TO MULTIPLY TWO 8-BIT NUMBERS STORED IN MEMORY LOCATION AND STORE THE 16-BIT RESULTS INTO THE MEMORY WITHOUT CARRY. In Maths, Large Number multiplication shortcut trick THEORY :  In 8085 microprocessor, there is no multiplication operation. To get the result of multiplication, we should use the repetitive addition method. After multiplying (repetitive addition) two 8bit numbers are store in the next memory location. We are saving the data at location 2000h and 2001h. The resultant value will be stored at the location in 2002h. ALGORITHM : Step 1: LXI H,2000h, to load the address in H-L register pair using LXI H from 16-bit location 2000h. Step 2: MOV B, M to move the value of 2000h memory address value into the register B. Step 3: INX H, to increase the value of th...