Re: Assembly Language Question
- From: Terence <tbwright@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 15:06:55 -0700 (PDT)
On Mar 27, 5:58 pm, "Wolfgang Kern" <nowh...@xxxxxxxx> wrote:
Brian asked:
What level of assembly language would the following statement be:
db "Hello There",$
It's just a string definition, usually preceded by a label.
If you find it within code right after a call without a label,
then you found one of these well known weird HLL functions.
Don't know what you mean by 'level' (the "$" tells it's for DOS).
You'll find db statements in almost all ASM variants with only
minor differences in usage. This one could be from FASM,NASM,...
__
wolfgang
I don't agree.
I saw a lot of code that used the technique of picking up the return
address to find a list of, or a set of, parameters to a routine,
allowing either the calculation of the return address (by adding total
parameter lengths as they were acquired) , or by the inclusion as one
of the parameters, of the address to return to. A kind of non-stack
call.
It was ugly, and along time ago, but it was just a style of
programming (which I never used myself).
Ugh!
.
- References:
- Assembly Language Question
- From: Brian
- Re: Assembly Language Question
- From: Wolfgang Kern
- Assembly Language Question
- Prev by Date: Re: Machine-Level Assembly Language
- Next by Date: Re: Machine-Level Assembly Language
- Previous by thread: Re: Assembly Language Question
- Next by thread: Re: Assembly Language Question
- Index(es):
Relevant Pages
|