Write an HLA Assembly program that prompts for an int8 value to inspect and then prints it in binary format. For example, here w

Program 1

Write an HLA Assembly program that prompts for an int8 value to inspect and then prints it in binary format. For example, here would be the program output for various entered valuesGimme a decimal value to print: 1515 is 0000_1111Gimme a decimal value to print: 77 is 0000_0111(Hint: There is no standard output that prints in binary output, so you need to do this yourself. In order to accomplish this, you need to move a bit at time into the carry flag and print 0 or 1, depending on what you find in the Carry bit. Shift and repeat this procedure 8 times and you are done! Eventually, we will learn how to loop, which would make this task much less terrible.)

(Second Hint:LAHF pushes the Carry Bit and all the other flags out of the EFLAGS register and into AH. As an Assembly programmer, you have the power to mask out all the bits but the one you are interested in by using either AND or OR.)

Program 2

Using the ROL instruction to perform doubling, write a program to produce a quad table.  This table should be built from a single int32 value provided by the user and print three rows from the starting value, each offset by one from the starting value. In that column, the pattern of quad numbers should be calculated by doing ROL instructions twice on each value.  For example, the following output should be produced when the user inputs the starting value 4:Gimme a starting value: 4Quad Table4:  16 645:  20 806:  24 96 

For example, the following output should be produced when the user inputs the starting value 7:

Gimme a starting value: 7Quad Table7:  28  1128:  32  1289:  36  144 

(Note: To receive full credit, you must use ROL to solve this problem.)  (Hint: Again, please don't worry too much about the spacing in the table. 

It should be the case that the only instructions you need to complete the programs assigned here are the ones in the pdf file

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more