Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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.

 
Old January 10th, 2010, 07: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!




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 05: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 09:19 AM
Cannot figure out how to fix error in Tomcat 5 Bluelicious Apache Tomcat 1 December 4th, 2004 03:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.