Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/20/02 16:57
Read: times


 
#23174 - RE: bug with 8252 and keil 6.23 or what ?
Hmmmm,

I'm using V7. Here's what I get...

.
.
.
  11   1      
  12   1      TB8 = ~ PARITY('M'); 
  13   1      
  14   1      
  15   1      SBUF = 'M'; 
.
.
.
ASSEMBLY LISTING OF GENERATED OBJECT CODE


             ; FUNCTION main (BEGIN)
                                           ; SOURCE LINE # 5
                                           ; SOURCE LINE # 6
                                           ; SOURCE LINE # 12
0000 744D              MOV     A,#04DH
0002 A2D0              MOV     C,P
0004 B3                CPL     C
0005 929B              MOV     TB8,C
                                           ; SOURCE LINE # 15
0007 F599              MOV     SBUF,A
                                           ; SOURCE LINE # 16
0009 22                RET     


This looks about right to me. Check your .LST file and see what the generated assembly code looks like.

Jon

List of 6 messages in thread
TopicAuthorDate
bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      
RE: bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      
RE: bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      
RE: bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      
RE: bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      
RE: bug with 8252 and keil 6.23 or what ?            01/01/70 00:00      

Back to Subject List