MGMT 1000 Lecture Notes - Lecture 16: Raster Graphics, Display Device, Exact Sequence

18 views2 pages
MGMT 1000 Tutorial 16 Notes An extended instruction set and Output 902
Introduction
Output 902
The glyphs are then converted to bitmap graphics for presentation according to the
characteristics of the display device or printer.
For the rare occasion where the text is actually embedded within an image, the glyphs
that represent the characters may be combined, stored, and manipulated as an object
image.
All that remains is for us to have the Little Man output the result to the out basket.
Coffee break 000
The program is complete, so we allow the Little Man to take a rest.
These instructions are stored sequentially starting from mailbox 00, where the Little
Man will retrieve and execute them one at a time, in order.
The program is reshown
Since we were careful to locate the data outside the program, this program can be rerun
simply by telling the Little Man to begin again.
An extended instruction set
The instructions that we have defined must always be executed in the exact sequence
specified.
Although this is sufficient for simple program segments that perform a sequence of
operations
It does not provide any means for branching or looping, both constructs that you know
are very important in programming.
Let us extend the instruction set by adding three more instructions for this purpose
BRANCH UNCONDITIONALLY instruction (sometimes known as JUMP)op code 6
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents