I'm digging through it with gdb. I just loaded the symtables.
It seems to be working, it's just not printing the code. I'm going to check out 
a nasm mailing list and see what they can give me.


Thanks,
Tyler Littlefield
email: [EMAIL PROTECTED]
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005

  ----- Original Message ----- 
  From: David Hamill 
  To: [email protected] 
  Sent: Sunday, October 19, 2008 4:04 PM
  Subject: Re: [c-prog] asm help--not sure where the error is


  To work in assembler, you need to have a thorough knowledge 
  of the CPU's programming model (i.e. what all the registers, 
  flags etc are for) and a thorough knowledge of the op codes 
  and their effect on the registers, flags etc. Don't use an 
  op code unless you understand exactly what it does; wishful 
  thinking is a common source of bugs.

  You also need to be able to step through the code and work 
  out where it's going wrong. If, like me, you started out by 
  hand-assembling assembler mnemonics into hexadecimal machine 
  code on paper, you do this with pencil and paper or in your 
  head. But nowadays I suppose debuggers are the way to go. 
  Presumably the assembler you're using has an accompanying 
  debugger and disassembler for the CPU you're using? If not, 
  you need to find one that does.

  Sorry, I don't know x86 assembler so I can't offer any 
  specific help. In my day the targets were 8-bit 
  microprocessors and a 1MHz clock was considered fast. ;-)

  David



   

[Non-text portions of this message have been removed]

Reply via email to