The MASM Forum

General => The Campus => Topic started by: K_F on January 16, 2017, 05:01:59 AM

Title: Assembly Books
Post by: K_F on January 16, 2017, 05:01:59 AM
Found these two while browsing around

http://www.planetpdf.com/codecuts/pdfs/aoa.pdf (http://www.planetpdf.com/codecuts/pdfs/aoa.pdf)

http://blog.hit.edu.cn/jsx/upload/AT%EF%BC%86TAssemblyLanguage.pdf (http://blog.hit.edu.cn/jsx/upload/AT%EF%BC%86TAssemblyLanguage.pdf)
Title: Re: Assembly Books
Post by: jj2007 on January 16, 2017, 05:45:59 AM
The second one starts a bit slow, but on page 42 you'll see the first movl $0x1, -4(%ebp) 8)
Title: Re: Assembly Books
Post by: K_F on January 17, 2017, 07:10:34 AM
I noticed that..
After 'flipping' though it, it didn't look too bad.
Someone might find it useful.
:biggrin:
Title: Re: Assembly Books
Post by: MichaelW on January 19, 2017, 07:22:08 AM
The GNU assembler has long supported Intel syntax in addition to the original (AFAIK) AT&T syntax. GCC also supports both syntaxes in inline assembly and in the compiler's assembly output, as well as 64-bit code in inline assembly (unlike the Pelles and Microsoft compilers).
Title: Re: Assembly Books
Post by: RuiLoureiro on January 20, 2017, 11:06:16 AM
Quote from: MichaelW on January 19, 2017, 07:22:08 AM
The GNU assembler has long supported Intel syntax in addition to the original (AFAIK) AT&T syntax. GCC also supports both syntaxes in inline assembly and in the compiler's assembly output, as well as 64-bit code in inline assembly (unlike the Pelles and Microsoft compilers).
:biggrin:

Hello, how are you ?
:icon14:
Title: Re: Assembly Books
Post by: hutch-- on January 20, 2017, 11:24:38 AM
For people who actually like true low level coding, the GNU AS (GAS) assembler is in fact a very good tool as long as you use it with Intel notation. If you bother to master it, you can write as close to the #1running boards as you can get.

#1 Running boards were on the outside edges of very old cars so you could stand on them.