![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |||
| [SOLVED] (b)Write a program in 8086 assembly language that accepts a number having a of two decimal digits? This number is then covered to equivalent binary and stored in AX register. DX stores the binary equivalent of 25. The program now compares the AX and DX registers and outputs whether the number is more, equal or less than 25 |
| |
| |||
| Presumably you don't have to do any I/O here, although you're not clear on that point. So, you have to compare registers AX and DX. Then jump to the appropriate code to print out the right answer. Why don't you just look at your notes and take a crack at it? It's really not very hard, and I'm sure your instructor has reviewed the instructions you need to use. |
![]() |
| Thread Tools | |
| Display Modes | |
| |