I am fairly new to assembly language but i am starting to grasp the concept of it. I am trying to write a simple program in assembly language whilst trying to include data transfer, arithmetic ,jump and branch instructions. If anybody could kindly show me how to include these extra options it would be much appreciated. Once i can see an example i tend to pick up the concept of it easily.
For reference, this is the program that i have written so far which provides functionality for arithmetic to add two numbers together.
a, b, c: Integer;
// Get the sum of a, b, and c.
Write('Type the first value: ');
Write('Type the second value: ');
c := a + b;
Writeln(a, ' + ', b, ' = ', c);
Write('Press any key to continue...');