24.06.2015 Views

WAM Ch 2 - Iona Physics

WAM Ch 2 - Iona Physics

WAM Ch 2 - Iona Physics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Variables:<br />

Programming<br />

Symbols (must start with a letter, may contain letters, numbers, and<br />

the underscore, max 32 characters, may not be reserved words)<br />

which may take on different values during program execution. They<br />

actually represent memory locations.<br />

Declaration of a variable:<br />

counter VAR Type<br />

Type may be Bit, Nib, Byte, Word<br />

A bit can be a 0 or a 1<br />

A nibble is 4 bits and can count 0 to 15<br />

A byte is 8 bits and can count 0 to 255<br />

A word is 16 bits and can count 0 to 65535<br />

Oct 14 ­ 6:48 PM<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!