Re: Assembly Language Question



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!

.



Relevant Pages

  • Re: Assembly Language Question
    ... Brian asked: ... It's just a string definition, usually preceded by a label. ...
    (alt.lang.asm)
  • Re: answer to Rick
    ... it will be executed even if user dont write anything in textbox3. ... You could have accomplished that by using only one label and GoTo'ing that one label from all of your If-Then statements. ... Here is a snippet from the middle of your code (same technique would apply in all of your Case statement blocks)... ... This is just an extension of the technique offered you in your original thread for your first Select Case block. ...
    (microsoft.public.excel.programming)
  • Re: do{switch(0)default:{/*break or continue*/;}/*cleanup*/}while(0);
    ... )>) avoids goto without any extra variable. ... The technique the OP was using was nothing more than ... label and you know where the control is going to flow. ... found it an accepted idiom. ...
    (comp.lang.c)
  • Re: Dan Carter out for 2 months
    ... shoot themselves in the foot it's like picking on a cripple. ... label you favourites and get going shall we? ...
    (rec.sport.rugby.union)
  • Re: How to Repeat a detail line n times.
    ... Printing a Quantity of a Label ... There is another technique you often see suggested, which involves repeating ...
    (microsoft.public.access.reports)