| |||||
Technical Support Support Resources
Product Information | C51: USE OF F0 AND F1 IN PSWInformation in this article applies to:
QUESTIONI am developing an ASIC which contains an 8051 soft core. I want to use one of the user flags in the PSW register, for example F0 (PSW.5) or UD/F1 (PSW.1) to control my hardware. The flags in PSW are saved on the stack when the register bank is changed or an interrupt service routine is called. Using a bit in another register implies that these other registers need to be saved on the stack. Therefore my question: Are these flags used by one of the Keil products C51, ISD51, or RTX51? ANSWERThe F0 flag is used by several arithmetic library routines. The UD/F1 flag is not used by any of the Keil development tools and may be used by your software/hardware. SEE ALSO
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Friday, November 12, 2004 | ||||
| |||||