371 lines
15 KiB
Erlang
371 lines
15 KiB
Erlang
Filename: M/L Part I
|
||
|
||
***************************************
|
||
* *
|
||
* *
|
||
* MACHINE LANGUAGE TUTORIAL DISK *
|
||
* *
|
||
* WRITTEN BY DR. FIRMWARE *
|
||
* *
|
||
* *
|
||
***************************************
|
||
|
||
|
||
The aim of this disk is for you the reader to understand machine language to an
|
||
extent so that you can program fully in machine language (ml).
|
||
|
||
|
||
PART I
|
||
======
|
||
|
||
The fundamentals.
|
||
-----------------
|
||
|
||
The first part of the course is number bases. if you undestand binary and
|
||
hexadecimal numbers and conversion between these and decimal, you can skip to
|
||
the next section.
|
||
|
||
|
||
Binary: Base two.
|
||
-----------------
|
||
|
||
Number bases are what we are dealing with here. The number base that we normally
|
||
use in everday life is decimal. 'Decimal' comes from latin where it meant ten.
|
||
We have ten digits, 0,1,2,3,4,5,6,7,8, and 9, which are combined in various ways
|
||
to produced other numbers. It is understood that the number '345' means
|
||
3x100+4x10+5x1. The right-most digit has the least significance, while the
|
||
left-most has the most significance. FrgiOƒ<EFBFBD>Ï<EFBFBD>€O„‚a˜8€ |