MGMT 1000 Lecture Notes - Lecture 16: Raster Graphics, Display Device, Exact Sequence
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