answersLogoWhite

0


Best Answer

Assuming you mean "multiplying a value by two using a command to change the binary value for the number", simply issue a binary shift one to the right (for example, 0111 [7] becomes 1110 [14] just like 0001 [1] becomes 0010 [2])

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you write code for multiplication of two 8 bit?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many bit required for two n bit multiplication?

for two n bits multiplication results produce 2n bits


Write a program to multiply two 8 bit numbers in microprocessor 8086?

mov ax,1234hmov bx,03hmul bxhlt( "THIS IS THE PROGRAMM CODING FOR 8 BIT 2NUMBERE'S MULTIPLICATION


Write an algorithm for multiplication of two sparse matrices?

how to multiply two sparse matrices


How do you write a multiplication sentence for 88?

88 is a two - digit number in maths


How do you write a program of matrix multiplication in a simple way?

you can write by two ways 1 by giving the size of array at declaration 2 by checking condition


Write a problem involving the addition or multiplication of two integers with different signs?

"What is 3*(-5)" would be such a problem.


Write a program to add two 8 bit numbers in microprocessor 8051?

write it in 8085


How would you write the number two in binary code?

10


How do you write a composite number as a product of two prime numbers?

To write a composite number as a product of two prime numbers, write it as an answered multiplication question like 2 x 17 = 34 or 3 x 3 x 7 = 63.


32 bit multiplication using 8085 instruction set?

The 8085 does not have 32 bit capabilities, nor does it have a multiply, so to do 32 bit multiplication you would need to write a routine. There are several possibilities. One would be to setup a 64 bit result area, and a loop that scans each bit in one multiplicand, adding the second multiplicand to the result, and then shifting the result. This is simply 32 adds with 32 multiplies by two. Even though the 8085 is only an 8 bit processor, some things can be done 16 bits at a time, particularly involving the HL register.


How do you write a multiplication sentence?

Here are some examples: Two multiplied by two has four as its product. Two times two is equal to four. 2*2 = 4. 2 X 2 = 4.


What is thew answer to multiplication problem?

the multiplication of two numbers is called a factor the answer to a multiplication problem is called a product