Dale - Computer Science Illuminated 242

Dale Computer - using the abstractions that the language provides For example we are able to set up a block of storage and give the first byte in

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
7.6 Other Important Threads 215 7.6 Other Important Threads In the last chapter, we talked about threads that are important in computing: information hiding, abstraction, naming things, programming languages, and testing. All of these threads have appeared in this chapter, emphasizing how intertwined they all are. At the machine-language level, there is very little information hiding going on. Every little detail must be explicitly taken care of. One bit of information was hidden: Pep/7 uses 2’s complement to represent negative numbers, but we did not need to know this to use the machine language. (See Chapter 2 to refresh your memory about 2’s complement.) When we move up to the assembly-language level, we can hide some of the details
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: using the abstractions that the language provides. For example, we are able to set up a block of storage and give the first byte in the block a name by which we can refer to the block. We can associate a word of storage with a name and store a value into the word. We can give an instruction a name and branch to the instruction. These examples of abstraction involve giving names to data or actions. The idea that we can give a name to an action as we did with the instruction we called Main that loads the sum into the accumulator is an extremely important concept, upon which we dwell at some length in later chapters....
View Full Document

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online