Learning Assembly

Learning Assembly

Postby Danko » Mon May 11, 2015 8:03 am


I am pretty new to low-level programming though I understand some basic principles.

Can anyone suggest good literature on Assembly for beginners (books, courses, tutorials etc.) which is relevant to eCore architecture?

I would like to write basic programs - "hello world", factorial, fibonacci.

My biggest aim for now is to write some simple interactive assembly interpreter that will run on 1 eCore and communicate with host.

Posts: 1
Joined: Mon May 11, 2015 7:45 am

Re: Learning Assembly

Postby piotr5 » Mon May 11, 2015 11:31 am

imho the best way to learn assembly is to compile a c-program and run it in a debugger -- preferably a visual one which displays assembly. the basics are: a processor has some set of commands, some amount of registers which serve as temporary variables and a set of true-false-flags which change everytime you execute a command and which can be used for branching. additionally the assembler provides , a strange syntax for saying that you want a pointer to an address instead of a literal number. unfortunately I know of no visual debugger compatible with epiphany since eclipse is defunct, so you'd better learn to use gdb commandline directly...
Posts: 230
Joined: Sun Dec 23, 2012 2:48 pm

Re: Learning Assembly

Postby ysapir » Mon May 11, 2015 9:51 pm

I imagine you could use Eclipse with the instruction simulator (e-run) instead of the hardware debug mode.
User avatar
Posts: 393
Joined: Tue Dec 11, 2012 7:05 pm

Return to Assembly

Who is online

Users browsing this forum: No registered users and 1 guest