View Single Post
  #30  
Old 08-08-2009, 04:10 PM
TomL_12953 TomL_12953 is offline
Member
 
Join Date: Jan 2007
Location: Malone, NY USA
Posts: 81
Send a message via AIM to TomL_12953 Send a message via MSN to TomL_12953 Send a message via Yahoo to TomL_12953 Send a message via Skype™ to TomL_12953
Default

Quote:
Originally Posted by philrrtx View Post
Looks like my 323 was correct, but the second byte should have been 077 instead of 037.
In Tom's case, I get 323 367. You can't mask off the bit; you have to write octal 173723 out in binary, split it into two eight bit bytes, then translate each of those into octal.
OK, so it's like this?

63443 = 11110111 11010011 b
octal = 367 323

Reverse bytes: 323 367

and those are the two bytes I'd put in the program.

Tom Lake
Reply With Quote