In: Electrical Engineering
In the PIC18F452 Programming Model, list 2 registers that are used to access the Program Memory. Indicate their sizes.
PIC18 has 18 to 100 pins and up to 128kb of flash memory.
The representation of the internal architecture of a processor, necessary to write assembly language programs.
Two groups of registers in PIC16 8bit programming model
ALU WREG Status Instruction decoder |
Registers Bank Select Registers File select registers Program counter |
Control Unit |
Data memory up to 4k bytes divided into 256 byte Banks.
Access bank 256 bytes
Access RAM 00h to 7Fh |
Access SFR 80h to FFh |
Register File concept: All of data memory is part of the register file, so any location in data memory may be operated directly.
All peripherals are mapped into data memory as a series of registers.
All instructions can operate on any data memory location.
Special Function registers F80h to FFFh
|
WREG
BSR: Bank Select Registers 0 to F
Thank you.