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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/07/02 08:48
Read: times


 
#22639 - RE: Falling Object in oscilliscope
"Is adding an unsigned operand to a signed one legal?"

Are you talking 'C' or assembler?

In 'C', yes of course it's legal.

The 8051 itself has no specific support for signed numbers, so in assembler you will have to do it all "manually"
ie, you need to decide whether the value 0xFF represents 255 or -1...

BTW: When starting a new question, it's best to start a new Thread!

List of 8 messages in thread
TopicAuthorDate
Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      
RE: Falling Object in oscilliscope            01/01/70 00:00      

Back to Subject List