Re: [Clax86list] Disassembler questions



On Sat, 26 Jul 2008 20:33:22 GMT
"Dylan Thies" <spamtrap@xxxxxxxxxx> wrote:

i can figure out the trivial stuff like "test.o: \n\n\t Disassembly of
`_main':" like stuff but there is some syntax that i cannot
understand such as "call 4004e0 <_start+0x90>", well i understand
it but i don't know how to make it assemble correctly

Unless the original compilation or assembly was done with debug
information requested, local labels will be lost, and you will have to
replace them. So, to make "call 4004e0 <_start+0x90>" assemble
correctly you need to change it to something like "call L4004e0", and
also insert this same label in front of the instruction which starts
at the address which is 90 hex bytes after the label _start. Of course,
a more meaningful label would be even better.

--
Chuck
http://www.pacificsites.com/~ccrayne/charles.html

.



Relevant Pages

  • Re: retf for 16bit or 32bit? CS:IP or CS:EIP?
    ... > funny that people try to implement "improved" assemblers ... > whether the low level syntax (specifying the operand ... require a trailing Colon, as well, for the Data Label. ...
    (alt.lang.asm)
  • Re: HLA History
    ... label"...there is - much like UNIX has one big ... "virtual file system" that you "mount" all your other file systems onto - ... hierarchy", you can use relative or absolute "pathnames"...and, similarly, ... If we assume C's syntax for this, just for an example, then "=" is the ...
    (alt.lang.asm)
  • Re: Making label caption = table field description
    ... Also when I out in this syntax I get an error that "Object doesn't support ... > Not sure why you are renaming all the controls. ... >>> assigning to the Caption of the attached label. ...
    (microsoft.public.access.formscoding)
  • Re: Element attribute syntax question
    ... engine that the following code is JScript and not VBScript. ... I understand the meaning of the syntax and I did not think of labels as they are so rarely used. ... Would two attributes with the same label be considered duplicate, or are they in a different scope? ...
    (comp.lang.javascript)
  • Re: reference control through VBA
    ... You can use this syntax for your textbox and label: ... lbl2, lbl3, etc. ...
    (comp.databases.ms-access)