Re: Assembly
- Posted by nieuwen at XS4ALL.NL
Oct 30, 1999
> Here's a few lines from Neil:
>
> poke(getlfb, {
> #60, -- 0: pusha
> #8B,#1D,#52,#2B,#14,#02,-- 1: mov ebx, [@linear]
> #85,#DB, -- 7: test ebx, ebx
> #74,#0C, -- 9: jz batman
> #89,#D9, -- B: mov ecx, ebx
> #C1,#EB,#10, -- D: shr ebx, 16
> #B8,#01,#08,#00,#00, -- 10: mov eax, #801
> #CD,#31, -- 15: int #31
> ....and so on...
>
> This is a bit confusing. All those hexas....How can I know that #60, f.ex., is
> pusha? Has
someone written some documentation about this?
No, no. Pete has a library called asm.e and a program called asm.ex which
converts your
source code with normal asm command into machine code. The original code is then
commented.
So, he only wrote the right part, the left part was then added by his utility
asm.ex
You can also have your program convert asm --> machine codes in real time,
during
program launch, however it slows your program down a very little tiny bit. For
real-time
conversion you will need to use asm.e
Its available at his site. I believe behind this link:
www.harbor.com/xseal ..
But i'm not sure ... try the 'other sites related to Euphoria'- page on RDS'
site
Good luck.
Ralf Nieuwenhuijsen
[[ Email ]]
nieuwen at xs4all.nl
ralf_n at email.com
[[ I-Seek-You ]]
UIN: 9389920
[[ The Elevator ]]
http://www.xs4all.nl/~nieuwen
|
Not Categorized, Please Help
|
|