+1
On Mon, Mar 7, 2016 at 6:26 PM, Mitt Green wrote:
> Here are even more:
>
> Info on SysV ABI:
> http://www.x86-64.org/documentation/abi.pdf
>
> amd64 registers:
> http://www.logix.cz/michal/devel/amd64-regs/
>
> x86 opcode and instruction reference:
> http://ref.x86asm.net/
>
> Thanks to gens
Here are even more:
Info on SysV ABI:
http://www.x86-64.org/documentation/abi.pdf
amd64 registers:
http://www.logix.cz/michal/devel/amd64-regs/
x86 opcode and instruction reference:
http://ref.x86asm.net/
Thanks to genss from LQ.
All links are collected in the thread
on LQ:
http://www.linuxque
Emiliano Marini writes:
> Maybe the C compiler adjusts what registers to use for C code to avoid
> conflicts, or saves his registers on the stack before the assembly code.
> I'm just guessing, I never embed assembly code in C programs.
When using gcc inline assembly, one will usually either use n
Maybe the C compiler adjusts what registers to use for C code to avoid
conflicts, or saves his registers on the stack before the assembly code.
I'm just guessing, I never embed assembly code in C programs.
On Wed, Mar 2, 2016 at 7:17 PM, Hendrik Boom wrote:
> On Wed, Mar 02, 2016 at 08:55:20AM -
On Wed, Mar 02, 2016 at 08:55:20AM -0300, Emiliano Marini wrote:
> But be aware that gas is the one GCC uses for in-line assembly embedded in
> C programs. So, if you are planning to embed assembly instructions in C
> code, you will need to learn gas syntax.
I've always wondered how the C code gen
You welcome.
BTW: about debugging with ddd, you have the (huge) manual here
http://www.gnu.org/software/ddd/manual/pdf/ddd.pdf
Or a nice quick guide here
http://cs.smith.edu/~thiebaut/classes/231_0708/doc/quickstart.html
Greetings,
Emiliano.
On Wed, Mar 2, 2016 at 5:05 PM, Mitt Green wrote:
>
Thanks for the advice and the links, Emiliano.
I appreciate it.
Peace,
Mitt
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Honestly, I use yasm because it was Teacher's choice before I was a
Teaching Assistant. Anyways, yasm supports gas and nasm syntax, and
multiple binary object formats. yasm/nasm use a syntax similar to Intel's,
and gas uses a syntax similar to AT&T. It's a matter of taste but, to me,
AT&T it's less
Emiliano Marini wrote:
>I teach assembly, but x86. I use yasm to compile and ddd to debug.
>You can start with this:
[...]
Thank you, sir, that's galore. I myself found asm.sourceforge.net
and dugan from LQ recommended me http://programminggroundup.blogspot.ca/
Why do you use yasm? If we co
I teach assembly, but x86. I use yasm to compile and ddd to debug.
You can start with this:
http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
http://www.tortall.net/projects/yasm/manual/html/manual.html
http://www.cs.dartmouth.edu/~sergey/cs108/tiny-guide-to-x86-assembly.pdf
http://cs.smith
On Sun, Feb 28, 2016 at 09:07:01PM +0800, Brad Campbell wrote:
>
> I started with the 6502 and a dead tree of the Apple ][ ROM source a
> couple of moons ago. That was so much more pleasant than x86
> assembly, but that method works just as well.
x86 has an ugly machine language, and with all the
On 28/02/16 17:49, Mitt Green wrote:
Hi,
I believe, here are some people that know assembly, I'd like to know
what resources would ye recommend that teach it. Preferably AT&T syntax
using gas.
I do my coding in C, but always wondered about something low level.
Also, I have a book The Art of A
12 matches
Mail list logo