- #1
pairofstrings
- 411
- 7
section .text
global _start:
_start:
mov eax, 4
mov ebx, 1
mov ecx, string
mov edx, length
int 80h
mov eax, 1
mov ebx, 0
int 80h
section .data
string: db "hello world", OxOA
length: equ 13
My question is simple. Why is the programmer not using other registers such as segment registers, index registers or pointer registers? I googled everywhere but couldn't find any explanation. If you have any material please share. thank you.
global _start:
_start:
mov eax, 4
mov ebx, 1
mov ecx, string
mov edx, length
int 80h
mov eax, 1
mov ebx, 0
int 80h
section .data
string: db "hello world", OxOA
length: equ 13
My question is simple. Why is the programmer not using other registers such as segment registers, index registers or pointer registers? I googled everywhere but couldn't find any explanation. If you have any material please share. thank you.