$nasm -f elf .asm; ld -m elf i386 -s -o demo .0 mov len BOV MSg MOV ebx, 1 main.asm:2: error: symbol len' undefined main.asm:3: error: invalid combination of opcode and operands ld: cannot find .o: No such file or directory int Oxs0 int Ox80 section .data msg db Hello, world!',exa

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter8: Advanced Data Handling Concepts
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Topic Video
Question

 Sort out  MISP code bugs 

mov len
mov n
MOv ebx, 1
$nasm -f elf *.asm; ld -m elf i386 -s -o demo *.o
main.asm:2: error: symbol len' undefined
main.asm:3: error: invalid combination of opcode and operands
ld: cannot find *.o: No such file or directory
3sw Ao
int Ox80
int Ox80
section .data
msg db 'Hello, world!',exa
Transcribed Image Text:mov len mov n MOv ebx, 1 $nasm -f elf *.asm; ld -m elf i386 -s -o demo *.o main.asm:2: error: symbol len' undefined main.asm:3: error: invalid combination of opcode and operands ld: cannot find *.o: No such file or directory 3sw Ao int Ox80 int Ox80 section .data msg db 'Hello, world!',exa
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning