All posts categorized amd64
x86-64 TUTORIAL: HELLO WORLD!
Below is a program that prints |
Posted on by Vikas N. Kumar. |
x86-64 TUTORIAL: INPUT OUTPUT FUNCTIONS
Here are some print functions for strings, integers and newline characters.
There is also a function for reading an integer. All the code is in
NASM’s syntax.
The macros NOTE: Remember that the registers |
Posted on by Vikas N. Kumar. |
x86-64 TUTORIAL: MULTIPLICATION & DIVISION
In the Hello World sample
program we had used the instructions |
Posted on by Vikas N. Kumar. |
x86-64 TUTORIAL: FIND PRIME NUMBERS
Below is a code snippet that prints a list of prime numbers, one on each line,
based on a limit entered by the user. It uses both while loops and conditional
branch |
Posted on by Vikas N. Kumar. |
x86-64 TUTORIAL: BIT SHIFTING OPERATIONS
Logical shifts are operations in which the bits of a register or memory location
are moved to the right or left by a certain number or a value in the |
Posted on by Vikas N. Kumar. |
Pages: | ← Previous | | | 1 | | | 2 | | | 3 | | | 4 | | | Next → |