Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > BOOK: Professional Assembly Language
Password Reminder
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
Thread Tools Display Modes
  #1 (permalink)  
Old April 23rd, 2005, 09:14 AM
Registered User
Join Date: Apr 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't execute example under freebsd

I couldn't execute example (e.g: chap04/cpuid) underfreebsd .
The environment and tool I used were (in IBM X31 box):
bash-2.05b# uname -a
FreeBSD sexbear.localhost 5.3-STABLE FreeBSD 5.3-STABLE #3: Sun Feb 20 21:55:06 UTC 2005 ?root@sexbear.localhost:/usr/obj/usr/src/sys/SEXBEAR??i386
bash-2.05b# as -v
GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) using BFD version 2.15 [FreeBSD] 2004-05-23

bash-2.05b# ld -v
GNU ld version 2.15 [FreeBSD] 2004-05-23

bash-2.05b# gdb cpuid
(gdb) run
Starting program: /usr/local/src/code/chap04/cpuid
Program exited with code 0340.

I also executed the other example in the same chapter.
But I got the same result.
Could someone give me a hint where I could find the more information?


Reply With Quote
  #2 (permalink)  
Old April 24th, 2005, 09:37 AM
Registered User
Join Date: Apr 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Reply With Quote
  #3 (permalink)  
Old November 9th, 2005, 03:36 PM
Registered User
Join Date: Nov 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I had something alike, but my default OS is Windows and i tried something really strange, actually it was an typing mistake of mine... I switched all the codes from left to right:
ex.: MOV 0, AX became MOV AX, 0 and it actually worked !
If you are a windows user ... change the code and it works ...

Reply With Quote

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
FreeBSD 5.1 no loopback configured Daniel Walker Linux 1 December 15th, 2006 11:49 AM
connection.execute and command.execute difference vinod_yadav1919 Classic ASP Databases 0 September 28th, 2005 06:34 AM
execute gauravchhabra9111 Apache Tomcat 0 January 24th, 2005 05:06 AM
conn.execute,command.execute or rs.open vinod_yadav1919 Crystal Reports 0 January 3rd, 2005 09:26 AM

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

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