![]() |
| ||
| Let's learn assembly! 1 Attachment(s) Just for fun, I wrote up a quick tutorial for basic assembly. At present, it's only in the form of a PDF document, but I'll eventually get around to adding it to my website. |
| ||
| Re: Let's learn assembly! Thank you! :) |
| ||
| Re: Let's learn assembly! Just to note that there's a bug in the code near the end. I just noticed that I intended to use 'invoke' as the subroutine macro, but was too used to my usual 'scall' when I wrote the programs. Change this: %macro invoke 2-*To this: %macro scall 2-*And you won't need to make any changes to the example programs. :) |
| ||
| Re: Let's learn assembly! I just joined daniweb and i'm having trouble accessing the pdf. it says i need to register :( |
| ||
| Re: Let's learn assembly! Quote:
o You might want to talk about the structure of the CPU first before giving ANY code. o You might want to describe an intruction before you use it in a code listing. o What about comments beside the code? o Remove sentences that don't contribute to learning assembly. o Maybe split this into about 3 sections/chapters? A really good start! Nathan. |
| ||
| Re: Let's learn assembly! Can you divided the assembly section to different assembler ground it will be must easier... for example HLA ,NASM ,..........etc |
| ||
| Re: Let's learn assembly! Just thanks. |
| ||
| Re: Let's learn assembly! Quote:
Prerequisites: o Well, you know what they say about assumptions. ;) Notes about the Tutorial o P2 - "inconjunction" o Maybe give a link where they can get GCC? Basic Components (.data section) o In P3, the sentence about dq and dt -- do you need it? o Code comments are inconsistent. o Leaves a question open of how many bytes are allocated. BETTER: myvar: ; Declare a variable myvar: db ; Initialize the variable myvar: db ‘Hello, world!’,10,0 ; Allocate 15 bytes (this is a C-style string) Registers o P2 - "The four registers break down" which four?? The rest of the document gets better, so I'll stop here. Nathan. |
| ||
| Re: Let's learn assembly! Microsoft’s (CPR) critical problem resolution platforms team's escalation engineers are writing blogs that help people understand assembly in a real world windows environment. The blogs contain a lot of assembly annotation and cover advanced debugging of the windows environment without source in some cases. I think you will find it’s worth a visit. http://blogs.msdn.com/ntdebugging |
| ||
| Re: Let's learn assembly! < knock, knock > Hello? Anyone home?? Is there a sequal on the way??? Nathan. |
| All times are GMT -4. The time now is 7:20 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC