Lab4
x86_64 intro and assembly language program
- With syscall and without printf function creates more work for cpu
 - The syscall invokes one or more registers than write command
 - There is 2 assembly codes format: NASM and GAS
 - GAS
 - it's a GNU assembler syntax
 - it works from left to right
 - NASM
 - it works from right to left
 - it's a lot similar to Aarch64
 
In order to have numbers without 0's in first digit column in first ten numbers is "cmp", "jne" commands and a label.
AARCH64 intro and assembly language program
- It's similar to x86_64
 - It uses NASM which reads the code from right to left
 - Cannot write to memory from address
 
Comments
Post a Comment