0

Wht this code print the str? As far as I know len should be defined as $-len

section .data
str: db 'I am a program',0ah,0
len: dd len-str
section .text
global _start
_start:
mov edx,[len]
mov ecx,str
mov ebx,1
mov eax,4
int 0x80
Peter Cordes
  • 328,167
  • 45
  • 605
  • 847

0 Answers0