18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Programming<br />

expression / expression<br />

Divide<br />

expression ** expression<br />

Raises first expression to value of second expression (exponent)<br />

expression expression<br />

Inequality test (relational operator)<br />

expression < expression<br />

Less than test (relational operator)<br />

expression > expression<br />

Greater than test (relational operator)<br />

expression = expression<br />

Greater than or equal test (relational operator)<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

?<br />

Same as PRINT<br />

ABS (expression)<br />

Returns the absolute value of expression<br />

expression .AND. expression<br />

Logical AND<br />

ASC(character)<br />

Returns the value of ASCII character<br />

ATN(expression)<br />

Returns the arctangent of expression<br />

BAUD expression<br />

Sets the baud rate for LPT (pin 8). For proper operation, XTAL must match the<br />

system’s crystal frequency.<br />

CALL integer<br />

Calls an assembly-language routine at the specified address in program memory.<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

C,R<br />

<strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong> 75

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

Saved successfully!

Ooh no, something went wrong!