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.
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. :)
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.
Just a couple of quick notes:
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?
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.
To encourage you to do more, here is a little more feedback on your tutorial. For these, I will reference section headings and paragraphs --
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.
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.
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.
hello everybody i just have one question how can i introduce an array in Assembly language?
I was ask to write a program that will add numbers from 10 to 20 and i need someone's help