{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Introduction to Computer Systems Chapter 11

Introduction to Computer Systems Chapter 11 - Chapter 11...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 11 11.1 a. Correctness: Easy to make mistakes when programming in assembly b. Debugging: Hard to find bugs in programs written in assembly c. Programming: Code has to be expressed at a very low level d. Readability: Assembly code is hard to read 11.3 High level languages are not as flexible as lower level languages. In assembly language, for instance, one can write code specific for a particular task that consists of fewer instructions, or is faster, than the corresponding program in a high-level language. 11.5 Once a program is compiled into a particular ISA, it can only run on machines that support that ISA. A program written in language X running through an interpreter, however, can run on any machine in any ISA provided that someone has written an interpreter for language X for that ISA. 11.7 The LC-3 simulator is an interpreter. It interprets LC-3 instructions one at a time and executes each in the ISA of the underlying machine (for example, an x86-based Windows machine).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}