Class DebuggableSystemRegisters

java.lang.Object
  |
  +--SystemRegisters
        |
        +--DebuggableSystemRegisters

public class DebuggableSystemRegisters
extends SystemRegisters


You can read the source of this class here.


Fields inherited from class SystemRegisters
C, DC, EEADR, EECON1, EECON2, EEDATA, FSR, INTCON, IRP, OPTION, PCL, PCLATH, PD, PORTA, PORTB, RP0, RP1, STATUS, TMR0, TO, TRISA, TRISB, Z
 
Constructor Summary
DebuggableSystemRegisters()
           
 
Method Summary
 int Read(int address, int bank)
          Returns byte at address address in bank Bank of system registers.
 void Write(int address, int n, int bank)
          Writes byte n at address address in bank Bank of system registers.
 
Methods inherited from class SystemRegisters
Read, Write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebuggableSystemRegisters

public DebuggableSystemRegisters()
Method Detail

Read

public int Read(int address,
                int bank)
Description copied from class: SystemRegisters
Returns byte at address address in bank Bank of system registers.
Overrides:
Read in class SystemRegisters
Tags copied from class: SystemRegisters
Parameters:
address - Address to read from.
Bank - Bank to read from.

Write

public void Write(int address,
                  int n,
                  int bank)
Description copied from class: SystemRegisters
Writes byte n at address address in bank Bank of system registers.
Overrides:
Write in class SystemRegisters
Tags copied from class: SystemRegisters
Parameters:
address - Address to write to.
n - Byte to write.
Bank - Bank to write to.