Re: ASM Tutorial
- Posted by Bernie Ryan <xotron at bluefrog.com> Nov 11, 2006
- 523 views
Andy wrote: > > I know some ASM, but is it the same as in Euphoria Andy: Yes it is the same as any INTEL Assembler. Take a look at mic's latest updated version of ASM.E which in the archive; it has a number of example programs in it. Euphoria can not use ASM directly. What you have e do is allocate memory and poke bytes into memory and then execute it from Euphoria. What ASM.E does is allows you to translate ASM nemonics like in text form. "mov eax, 123" into the machine code bytes that required to perform that operation. The ASM.E will output a file that will be Euphoria code that will run your assembler code. Download ASM.E and look at the examples. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan