|
Home |
|
home | new products | publications | resource downloads | authors | contact details |
|
LOWLEV
- an introduction to low-level programmingMost programming is done in High-Level languages which are easily understood by people, but require a lot of translation before the instructions can be carried out by a computer. Low-Level languages (machine codeMAC and assembly languageASM) can be directly executed by a computer, but unfortunately are not as easily understood or learned by humans as high-level languages. Each instruction the computer can understand is represented by a number, and each piece of data you wish to store has to be put into a numbered memory location. Similarly, each instruction also has to be so stored. As far as the computer is concerned there is no distinction between the instructions and the data - both are just numbers. LOWLEV is based on a pseudo-computer pCOM with 1000 words of memory and five registers - a program counter, an instruction register, two arithmetic registers and an index register. The 1000 memory locations are addressed by number (0 - 999), using the decimal number system. These memory locations are used to hold both instructions and data. ISBN: 1 875415 41 6 |