我需要做的就是获取用户输入的字符串并将它们放在数组或结构中,但我不断收到错误
有效地址无效
这是什么意思?
section .data
  fName db 'Enter your first name: '
  fNameLen equ $-fName
  lName db 'Enter your last name: '
  lNameLen equ $-lName
  numberOfStruct equ 50
  structSize equ 25
  firstName equ 0
  lastName equ 10
section .bss
  person resb numberOfStruct*structSize
section .text
  global _start
_start:
  mov esi, 0
  input_start:
    mov eax, 4
    mov ebx, 1
    mov ecx, fName
    mov edx, fNameLen
    int 80h
    mov eax, 3
    mov ebx, 0
    lea ecx, [person+structSize*esi+firstName] ;This is where the error …