Try and simulate this code (18F452 @ 8MHz) :
- compile it
- open debugger window
- press F7 key (step into)
At GlcdInit instruction, debugger swap to asm window but now ou can't simulate any more pbas window. Even if ou press "Dissasembl view", close debugger window, even after a new compilation.
If you close project and reopen it, debugger will still simulate asm window.
The onl way to simulate again pbas window is to close MB and reload project.
Code: Select all
Program testv
dim testv as byte
main:
TRISA = $FF
TRISB = 0
TRISC = 0
TRISD = 0
ADCON1 = 7
ADCON0 = 0
CCP1CON = 0
PORTA = 0
Glcd_Init(PORTB, 2, 3, 4, 5, 7, 6, PORTD)
testv = 10
end.