|
Tutorials |
Contents |
|
1.1 |
DEMONSTRATION - An "empty" PICmicro MCU |
|
1.2 |
DISCUSSION - Minimum PICmicro MCU program commands |
|
2.1 |
DEMONSTRATION - Turning on LEDs |
|
2.2 |
DISCUSSION - Memory, Files and Registers |
|
2.3 |
DISCUSSION - Bits and Bytes |
|
2.4 |
DISCUSSION - Terms Set and Clear |
|
2.5 |
DISCUSSION - Commands CLRF and CLRW |
|
2.6 |
DISCUSSION - Commands BSF and BCF |
|
2.7 |
DISCUSSION - Port file numbers, Data direction register, Status register, Status bit 5 (Page), Pages 0 and 1 |
|
2.8 |
DISCUSSION - Listing 2 commands, Output port default values |
|
3.1 |
DEMONSTRATION - Turning LEDs on and off |
|
3.2 |
DISCUSSION - Listing 3 discussion, Instruction EQU |
|
3.3 |
DISCUSSION - Listing 3 operation, Command GOTO, Repetitive loop |
|
3.4 |
DISCUSSION - Names and Labels, "dot" LST disk files |
|
4.1 |
DEMONSTRATION - Rotating (shifting) LED display |
|
4.2 |
DISCUSSION - Bit names and use, Bits F, W and C, Carry flag, STATUS bit 0 |
|
4.3 |
DISCUSSION - Listing 4 operation, Byte rotation (shifting), Commands RLF and RRF |
|
4.4 |
DISCUSSION - Commands MOVLW and MOVWF |
|
4.5 |
DISCUSSION - Commands BTFSS and BTFSC, Program counter, Register PCL, Logical Truth |
|
4.6 |
DISCUSSION - Listing 4 again. |
|
5.1 |
DEMONSTRATION - Rotating LED display using Carry bit |
|
5.2 |
DEMONSTRATION - Simpler LED rotation |
|
6.1 |
DEMONSTRATION - LEDs illustrate Zero flag testing |
|
6.2 |
DISCUSSION - Command MOVF |
|
7.1 |
DEMONSTRATION - LEDs illustrate counting up and down |
|
7.2 |
DISCUSSION - Counting up and down, Incrementing, Decrementing, Files as counters |
|
8.1 |
DEMONSTRATION - LEDs illustrate switch use |
|
8.2 |
DISCUSSION - Commands ADDWF, ADDLW, Adding data, STATUS bit 1, Digit Carry flag, Bit code DC, Nibbles |
|
8.3 |
DISCUSSION - Commands SUBWF and SUBLW, Subtracting data |
|
8.4 |
DISCUSSION - Listing 8 flow |
|
9 |
DEMONSTRATION - LEDs illustrate speedier switch testing |
|
10 |
DEMONSTRATION - LEDs illustrate bit testing for switches |
|
11 |
DEMONSTRATION - LEDs illustrate switch selected operations |
|
12 |
DEMONSTRATION - PORTA switches controlling PORTB LEDs |
|
13 |
DEMONSTRATION - LEDs illustrate nibble swapping |
|
14 |
DEMONSTRATION - LEDs illustrate byte inversion |