Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Assembly Language
This is the forum to discuss the Wrox book Professional Assembly Language by Richard Blum; ISBN: 9780764579011
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Assembly Language section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 27th, 2007, 06:50 PM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Figure 7-9?

I'm guessing there's an error on Page 179 Figure 7-9. In that figure shouldn't Byte2 be displayed as 8 bits? Also on that figure shouldn't decimal value 8 and 9 be represented as 1000 and 1001 (in binary form) instead of 1000 and 010001? Is this an error or i just got it wrong? Thanks for your time.

Reply With Quote
  #2 (permalink)  
Old January 10th, 2010, 06:41 AM
Authorized User
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by davx92 View Post
I'm guessing there's an error on Page 179 Figure 7-9. In that figure shouldn't Byte2 be displayed as 8 bits? Also on that figure shouldn't decimal value 8 and 9 be represented as 1000 and 1001 (in binary form) instead of 1000 and 010001? Is this an error or i just got it wrong? Thanks for your time.
I am looking at page 179 right now.

Byte 1
00010100
Byte 2
10001001

Both are 8-bit values.

How ever, to convert the binary to decimal - follow this example,

16368421
00010100

16+ 4 = 18

16368421
10001001
1+8+128 = 137

= 13,718?
= 18,137?
You are right, the binary is wrong. But, just ignore that and take a look at objdump output to figure out the correct binary values. OR write a program that outputs binary from decimal input!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't figure this out. aaronmuslim XSLT 4 March 20th, 2008 11:13 AM
SQL Syntax Error I can't figure out Syster Tara Classic ASP Basics 24 December 2nd, 2006 04:09 PM
Figure 4-7 on p. 64 clm3cv BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2005 08:19 AM
Cannot figure out how to fix error in Tomcat 5 Bluelicious Apache Tomcat 1 December 4th, 2004 02:14 PM



All times are GMT -4. The time now is 12:41 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.