IBD Limited Şirketi - İzmir / Türkiye
379/1 Sokak A-Blok No: 2/101 - AFA Sanayi Çarşısı - II. Sanayi - 35100 Bornova / İzmir
Telefon : 90-232-462 7477-78 Telefax : 90-232-462 7545 - e-mail : [email protected]
PicBasic Pro Instruction Set:
- @ - Insert one line of assembly language code.*
- ASM..ENDASM - Insert assembly language code section.*
- BRANCH - Computed GOTO (equiv. to ON..GOTO).
- BRANCHL - BRANCH out of page (long BRANCH).*
- BUTTON - Debounce and auto-repeat input on specified pin.
- CALL - Call assembly language subroutine.
- CLEAR - Zero all variables.*
- COUNT - Count number of pulses on a pin.
- DATA - Define initial contents of on-chip EEPROM.
- DEBUG - Asynchronous serial output to fixed pin and baud.
- DISABLE - Disable ON INTERRUPT processing.*
- DTMFOUT - Produce touch-tones on a pin.
- EEPROM - Define initial contents of on-chip EEPROM.
- ENABLE - Enable ON INTERRUPT processing.*
- END - Stop execution and enter low power mode.
- FOR..NEXT - Repeatedly execute statements.
- FREQOUT - Produce up to 2 frequencies on a pin.
- GOSUB - Call BASIC subroutine at specified label.
- GOTO - Continue execution at specified label.
- HIGH - Make pin output high.
- HSERIN - Hardware asynchronous serial input.*
- HSEROUT - Hardware asynchronous serial output.*
- I2CREAD - Read bytes from I2C device.*
- I2CWRITE - Write bytes to I2C device.*
- IF..THEN..ELSE..ENDIF - Conditionally execute statements.*
- INPUT - Make pin an input.
- {LET} - Assign result of an expression to a variable.
- LCDOUT - Display characters on LCD.*
- LOOKDOWN - Search constant table for value.
- LOOKDOWN2 - Search constant / variable table for value.
- LOOKUP - Fetch constant value from table.
- LOOKUP2 - Fetch constant / variable value from table.
- LOW - Make pin output low.
- NAP - Power down processor for short period of time.
- ON INTERRUPT - Execute BASIC subroutine on an interrupt.*
- OUTPUT - Make pin an output.
- PAUSE - Delay (1mSec resolution).
- PAUSEUS - Delay (1uSec resolution).*
- PEEK - Read byte from register.*
- POKE - Write byte to register.*
- POT - Read potentiometer on specified pin.
- PULSIN - Measure pulse width on a pin.
- PULSOUT - Generate pulse to a pin.
- PWM - Output pulse width modulated pulse train to pin.
- RANDOM - Generate pseudo-random number.
- RCTIME - Measure pulse width on a pin.
- READ - Read byte from on-chip EEPROM.
- RESUME - Continue execution after interrupt handling.*
- RETURN - Continue execution at statement following last executed GOSUB.
- REVERSE - Make output pin an input or an input pin an output.
- SERIN - Asynchronous serial input (8N1) (BS1 style with timeout.)
- SERIN2 - Asynchronous serial input (BS2 style.)
- SEROUT - Asynchronous serial output (8N1) (BS1 style.)
- SEROUT2 - Asynchronous serial output (BS2 style.)
- SHIFTIN - Synchronous serial input.
- SHIFTOUT - Synchronous serial output.
- SLEEP - Power down processor for a period of time.
- SOUND - Generate tone or white-noise on specified pin.
- STOP - Stop program execution.
- SWAP - Exchange the values of two variables.*
- TOGGLE - Make pin output and toggle state.
- WHILE..WEND - Execute code while condition is true. *
- WRITE - Write byte to on-chip EEPROM.
- XIN - X-10 input.*
- XOUT - X-10 output.
Functions / Operators:
- ABS - Absolute value
- COS - Cosine
- DCD - 2n decode
- DIG - Return digit
- MAX - Maximum
- MIN - Minimum
- NCD - Encode
- REV - Reverse bits
- SIN - Sine
- SQR - Square root
- + - / // * ** */ << >> & | ^ ~ && || ^^ &/ |/ ^/
*PicBasic Pro language extension not found on BS1/2.

Back to the IBD Ltd. Şti. home
page.
Please send your comments about our website to the
Dipl.-Ing. Faruk DERİ (VDI)
© IBD - Ltd. Şti.
Last update 3/30/99