home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Shareware Masterblend
/
cdsharewaremasterblend.iso
/
educatio
/
whatinpc
/
12
< prev
next >
Wrap
Text File
|
1991-06-14
|
1KB
|
50 lines
text/3/2
Bytes can also be used to
represent instructions. You could
invent a code in which each of the
256 possible combinations of bits
is a different instruction to the
computer. For instance, if 34 means
put a red dot in the middle of the
screen, and if 176 means move that
dot to the left... You get the idea,
that's programming. Of course there
are more than 256 things you could
have the computer do, so
combinations of many bytes, each
representing a simple instruction,
can be used to build a complex
instruction.
~
text/4/146
Programmers don't actually have
to remember the numbers assigned to
bytes, because their programming
~
text/342/3
languages themselves are programs
that assign English-like words to
the instructions contained in the
bytes. Here is a sample from a
programmer's scrap pile, this
example is actually from the
program that is running in the
background right now - What's In
That Box:
~
text/342/94
begin
cleardevice;
assign(outfile,'help');
readfile;
u := readkey;
menu;
end; {procedure help}
~
rectangle/348/90/615/159
text/339/162
(This pops up the help screen.)
~