home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!kcbbs!kc
- Newsgroups: sci.electronics
- Subject: 8051 PUSH P2 question
- Message-ID: <14042.226925695@kcbbs.gen.nz>
- From: Steve_Baldwin@kcbbs.gen.nz (Steve Baldwin)
- Date: 14 Aug 92 03:54:02 GMT
- References: <9208121223.AA05108@glas.apc.org>
- Organization: Kappa Crucis Unix BBS, Auckland, New Zealand
- Lines: 13
-
- At least you took the time to do a bit of reading about it. It's something
- that isn't made very clear (if at all).
- It's not a read-modify-write instruction and as such is read from the
- pins. ie. you would get the MSB of the last fetch on P2.
-
- Because of that, you can be caught by the pin being externally pulled
- low on any port pin too.
-
- It also makes the MOVX @Ri instructions a waste of time with an external
- code source.
-
- Steve.
-
-