* what does this do ?
@ 2013-03-03 17:21 ishare
2013-03-04 6:07 ` Sofiane Akermoun
0 siblings, 1 reply; 3+ messages in thread
From: ishare @ 2013-03-03 17:21 UTC (permalink / raw)
To: linux-assembly
here are a portion of build-in asm code :
" .long 661b\n" \
" .long 663f\n" \
" .byte %c0\n" / \
" .byte 662b-661b\n" \
" .byte 664f-663f\n"
what is 661b ,663f ? etc .
what do they mean?
thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: what does this do ?
2013-03-03 17:21 what does this do ? ishare
@ 2013-03-04 6:07 ` Sofiane Akermoun
0 siblings, 0 replies; 3+ messages in thread
From: Sofiane Akermoun @ 2013-03-04 6:07 UTC (permalink / raw)
To: ishare; +Cc: linux-assembly
Apprently here, 661b is an hex value.
You code is a bit strange because it is probably from C source that
generate asm code at runtime
But outside of the context it has non sense for me.. %c at the foutrh
line should be for string formating of a c program... and in theory if
we want to use hex value we use a "0x" prefix to avoid
misundertanding.
Do you have a link to the originall source or the project which this
code come from?
regards,
Sofiane Akermoun
2013/3/3 ishare <june.tune.sea@gmail.com>:
>
>
> here are a portion of build-in asm code :
>
> " .long 661b\n" \
> " .long 663f\n" \
> " .byte %c0\n" / \
> " .byte 662b-661b\n" \
> " .byte 664f-663f\n"
>
> what is 661b ,663f ? etc .
> what do they mean?
>
> thanks!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Sofiane AKERMOUN
akersof@gmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* what does this do?
@ 2013-02-17 20:46 horseriver
0 siblings, 0 replies; 3+ messages in thread
From: horseriver @ 2013-02-17 20:46 UTC (permalink / raw)
To: linux-assembly
hi:
what does this code do ?
lss 0xc010020c,%esp
does it need to addressing gdt entry?
thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-04 6:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-03 17:21 what does this do ? ishare
2013-03-04 6:07 ` Sofiane Akermoun
-- strict thread matches above, loose matches on Subject: below --
2013-02-17 20:46 what does this do? horseriver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).