Question: using nasm cmd prompt assembler, i have this code https://pastebin.com/C856V3FC and these errors C:NASM>nasm bal-lab2.asm -o bal-lab2.com bal-lab2.asm:5: error: attempt to define a local label
using nasm cmd prompt assembler, i have this code
https://pastebin.com/C856V3FC
and these errors
C:\NASM>nasm bal-lab2.asm -o bal-lab2.com bal-lab2.asm:5: error: attempt to define a local label before any non-local labels bal-lab2.asm:5: error: parser: instruction expected bal-lab2.asm:6: error: attempt to define a local label before any non-local labels bal-lab2.asm:6: error: parser: instruction expected bal-lab2.asm:7: warning: label alone on a line without a colon might be in error [-w+orphan-labels] bal-lab2.asm:7: error: attempt to define a local label before any non-local labels bal-lab2.asm:17: warning: label alone on a line without a colon might be in error [-w+orphan-labels] bal-lab2.asm:18: error: parser: instruction expected bal-lab2.asm:127: error: symbol `main' redefined bal-lab2.asm:127: error: parser: instruction expected bal-lab2.asm:128: error: parser: instruction expected
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
