fork download
  1. TITLE: NonrecursiveFactorial&FactorialComparison (Factorials.asm)
  2.  
  3.  
  4. INCLUDE Irvine32.inc
  5.  
  6. .data
  7. msgIntro WORD ?
  8. .code
  9. main PROC
  10.  
  11. mov edx,TYPE msgIntro ;intro message into edx
  12. call DumpRegs ;display msgIntro
  13. call Crlf ;endl
  14.  
  15. call Clrscr ;clear screen
  16.  
  17.  
  18. ExitProg::exit ;global label to exit
  19. main ENDP
  20.  
  21. END main
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: parser: instruction expected
prog.asm:4: error: parser: instruction expected
prog.asm:7: error: parser: instruction expected
prog.asm:9: error: parser: instruction expected
prog.asm:11: error: comma, colon, decorator or end of line expected after operand
prog.asm:18: error: parser: instruction expected
prog.asm:19: error: symbol `main' redefined
prog.asm:19: error: parser: instruction expected
prog.asm:21: error: parser: instruction expected
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty