1. Assembly

I'd need to convert some of my code to machine language but I don't know =
almost anything about it.

I'd need to know the commands and what they do. Does anyone know any net =
page where I could get some information?

Thanks,
--Talvitie

new topic     » topic index » view message » categorize

2. Re: Assembly

Go here for tutorials
  http://www.gustavo.net/programming/assembly__tutorials.shtml
Bernie

new topic     » goto parent     » topic index » view message » categorize

3. Re: Assembly

Hi, Talvitie.

http://webster.cs.ucr.edu/ has a 1500 page on-line book on assembly
language.

Hope this helps,

Ben


>From: Talvitie <smtoa at SAUNALAHTI.FI>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Assembly
>Date: Wed, 27 Oct 1999 19:31:03 +0300
>
>I'd need to convert some of my code to machine language but I don't know
>almost anything about it.
>
>I'd need to know the commands and what they do. Does anyone know any net
>page where I could get some information?
>
>Thanks,
>--Talvitie

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: Assembly

Here's a few lines from Neil:
=20
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?


global constant pusha=3D#60, etc.
If I'd made a include file like this....
Would someone need it? Could it be done?=20
Or has someone already done that?

--Talvitie

new topic     » goto parent     » topic index » view message » categorize

5. Re: Assembly

> 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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu