pep8, Basic Computer Science

Write an Assembly program that reads an integer (-32,768 through 32,767) in decimal and prints its equivalent in binary. The output must show all 16 bits. And you must use a loop for producing and outputing the bits. You must also use only local variables.
For example, if the input is 120, output should be: 0000000001111000.

If the input is smaller than -32,768 or larger than 32,767, print an error message and read another number until a number in the required range is entered...
Posted Date: 4/22/2012 2:11:40 AM | Location : United States







Related Discussions:- pep8, Assignment Help, Ask Question on pep8, Get Answer, Expert's Help, pep8 Discussions

Write discussion on pep8
Your posts are moderated
Related Questions
Question 1: (a) How would you describe human reasoning? (b) Describe the different types of human reasoning? Question 2: (a) What are the computational factors affec

QUESTION 1 What are search engines? QUESTION 2 Write short notes on the inverted file. QUESTION 3 Write short notes on: (i) Derivative indexing (also known a

Explain how the internet works

what are the definition?

disvange and advantege of providing intternet sservice to customer

A STAIRCASE LIGHT IS CONTROLLED BY TWO SWITCHES ONE AT THE TOP OF THE STAIRS AND ANOTHER AT THE BOTTOM OF STAIRS

write a basic program for f= a+b+c//2

4. Union City Al has decided to upgrade their tornado warning system. The city leaders have identified six potential locations for erecting a warning siren tower. They want to e

DESIGNING COMPUTER BASED INFORMATION SYSTEMS Background The role of Management Information Systems (MIS) in an organization can be considered as providing

Proposal a) Disabling Interrupts (Hardware Solution) • Every process disables all interrupts just after entering in its critical section and re-enables all interrupts just previous