ASM Help  
Author Message
toddneumiller





PostPosted: 2003-11-6 22:33:00 Top

java-programmer, ASM Help
I am trying to convert some asm to c. Learning asm as I go...

LINIT: .DB 38H ;
.DB 0CH ;
.DB 06H ;
LSIZZ .EQU $-LINIT ;

My question what is the LSOZZ equal?

 
Alex Hunsley





PostPosted: 2003-11-6 22:37:00 Top

java-programmer >> ASM Help toddneumiller wrote:

>
> I am trying to convert some asm to c. Learning asm as I go...
>
> LINIT: .DB 38H ;
> .DB 0CH ;
> .DB 06H ;
> LSIZZ .EQU $-LINIT ;
>
> My question what is the LSOZZ equal?
>
Did you accidently send this to the wrong newsgroup by any chance?
Assembley and C aren't related to java in a direct way.
alex

 
toddneumiller





PostPosted: 2003-11-6 22:53:00 Top

java-programmer >> ASM Help Yes I did.. :)

Alex Hunsley wrote:

> toddneumiller wrote:
>
>>
>> I am trying to convert some asm to c. Learning asm as I go...
>>
>> LINIT: .DB 38H ;
>> .DB 0CH ;
>> .DB 06H ;
>> LSIZZ .EQU $-LINIT ;
>>
>> My question what is the LSOZZ equal?
>>
> Did you accidently send this to the wrong newsgroup by any chance?
> Assembley and C aren't related to java in a direct way.
> alex
>

 
 
nos





PostPosted: 2003-11-7 2:57:00 Top

java-programmer >> ASM Help Actually, the answer is three.

".EQU" stands for equal
$ refers to the current location
LINIT refers to the location at the start of that line
three bytes are being defined
So the difference between these locations is 3

HTH

"Roedy Green" <email***@***.com> wrote in message
news:email***@***.com...
> On Thu, 06 Nov 2003 06:32:33 -0800, toddneumiller
> <email***@***.com> wrote or quoted :
>
> >LINIT: .DB 38H ;
> > .DB 0CH ;
> > .DB 06H ;
> >LSIZZ .EQU $-LINIT ;
> >
> >My question what is the LSOZZ equal?
> undefined from the amount of information you have given.
>
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.


 
 
Joona I Palaste





PostPosted: 2003-11-7 3:04:00 Top

java-programmer >> ASM Help nos <email***@***.com> scribbled the following:
> Actually, the answer is three.

> ".EQU" stands for equal
> $ refers to the current location
> LINIT refers to the location at the start of that line
> three bytes are being defined
> So the difference between these locations is 3

Um, not to be a spoilsport of anything, but LSIZZ and LSOZZ are
different things.

> "Roedy Green" <email***@***.com> wrote in message
> news:email***@***.com...
>> On Thu, 06 Nov 2003 06:32:33 -0800, toddneumiller
>> <email***@***.com> wrote or quoted :
>>
>> >LINIT: .DB 38H ;
>> > .DB 0CH ;
>> > .DB 06H ;
>> >LSIZZ .EQU $-LINIT ;
>> >
>> >My question what is the LSOZZ equal?
>> undefined from the amount of information you have given.

--
/-- Joona Palaste (email***@***.com) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"You will be given the plague."
- Montgomery Burns
 
 
Sudsy





PostPosted: 2003-11-7 6:16:00 Top

java-programmer >> ASM Help toddneumiller wrote:

>
> I am trying to convert some asm to c. Learning asm as I go...
>
> LINIT: .DB 38H ;
> .DB 0CH ;
> .DB 06H ;
> LSIZZ .EQU $-LINIT ;
>
> My question what is the LSOZZ equal?
>

3

(the difference between the current location counter and the
label LINIT...you've got three bytes defined)

 
 
EJP





PostPosted: 2003-11-9 16:25:00 Top

java-programmer >> ASM Help The answer is undefined until somebody defines the assembly language we
are talking about.

Roedy Green wrote:
>
> On Thu, 06 Nov 2003 18:57:17 GMT, "nos" <email***@***.com> wrote or
> quoted :
>
> I still maintain the answer is undefined.
> If he had asked what LSIZZ was, the answer would be three.
> LSOZZ is undefined.
>
> >Actually, the answer is three.
> >
> >".EQU" stands for equal
> >$ refers to the current location
> >LINIT refers to the location at the start of that line
> >three bytes are being defined
> >So the difference between these locations is 3
> >
> >HTH
> >
> >"Roedy Green" <email***@***.com> wrote in message
> >news:email***@***.com...
> >> On Thu, 06 Nov 2003 06:32:33 -0800, toddneumiller
> >> <email***@***.com> wrote or quoted :
> >>
> >> >LINIT: .DB 38H ;
> >> > .DB 0CH ;
> >> > .DB 06H ;
> >> >LSIZZ .EQU $-LINIT ;
> >> >
> >> >My question what is the LSOZZ equal?
> >> undefined from the amount of information you have given.
>
> --
> Canadian Mind Products, Roedy Green.
> Coaching, problem solving, economical contract programming.
> See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.