Home / Expert Answers / Computer Science / 5-write-a-program-to-get-an-8-bit-binary-number-from-mathrm-p-1-convert-it-to-decimal-an-pa554

(Solved): 5. Write a program to get an 8-bit binary number from \( \mathrm{P} 1 \), convert it to Decimal an ...



5. Write a program to get an 8-bit binary number from \( \mathrm{P} 1 \), convert it to Decimal and ASCII; and save the \( \mORG 0000H
MOV A,
MOV P1, A
MOV A, P1
MOV B,
DIV AB
MOV \( 50 H, B \)
MOV B, #10
ORL
ORL

5. Write a program to get an 8-bit binary number from \( \mathrm{P} 1 \), convert it to Decimal and ASCII; and save the \( \mathrm{ASClI} \) numbers to RAM locations \( 50 \mathrm{H}, 51 \mathrm{H} \), and \( 52 \mathrm{H} \). What is the \( \mathrm{ASClI} \) numbers saved in RAM locations if P1 has \( 10111011(\mathrm{BBH}=187) \) binary as input? (Back Side!!) ORG 0000H MOV A, MOV P1, A MOV A, P1 MOV B, DIV AB MOV \( 50 H, B \) MOV B, #10 ORL ORL


We have an Answer from Expert

View Expert Answer

Expert Answer


ANSWER: Sir I a
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe