Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MUST BE WRITTEN IN H1 ASSEMBLY CODE ex4-14. Write and run an assembly language program that displays all the odd hexadecimal numbers from hexadecimal 1

MUST BE WRITTEN IN H1 ASSEMBLY CODE

ex4-14. Write and run an assembly language program that displays all the odd hexadecimal numbers from hexadecimal 1 to some hexadecimal number in ascending order. Prompt and input from the user what the limit hexadecimal number will be. Use a loop with a label to loop through the hexadecimal numbers up to that hexadecimal number. The final printout will print the odd hexadecimal numbers 1 through your input hexadecimal number with a space between each hexadecimal number and then on a separate line print your name after all the hexadecimal numbers. Run your program with the user inputting the ending hexadecimal number 1b.

Hint: Make the counter starting at 1 be a hexadecimal counter.

Input:

Enter ending hexadecimal number: 1b

Output:

0001 0003 0005 0007 0009 000B 000D 000F 0011 0013 0015 0017 0019 001B

Mark Smith (replace with your name)

Assemble the program, then run in the simulator without the debugger.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions

Question

2. Share student successes through notes or email messages.

Answered: 1 week ago

Question

Evaluate the importance of the employee handbook.

Answered: 1 week ago

Question

Discuss the steps in the progressive discipline approach.

Answered: 1 week ago