Status: Assigned
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 161 by [email protected]: Inline assembly doesn't generate
appropriate bank switching.
http://code.google.com/p/jallib/issues/detail?id=161
Example (using 16F88):
procedure ISR is
pragma interrupt
if (PIR2_CMIF == 1) then
asm movfw CMCON
PIR2_CMIF = 0
end if
end procedure
PIR2 is in Bank0, CMCON is in Bank1. Code generated doesn't switch banks.
The work around is to use a dummy variable: dummy = CMCON.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.