书上一个例子 用masm32命令行编译异常

书上一个例子 用masm32命令行编译错误This program adds and substracts 32-bit integers..386.model fla

书上一个例子 用masm32命令行编译错误
;This program adds and substracts 32-bit integers.
.386
.model flat,stdcall

;INCLUDE Irvine32.inc
;INCLUDELIB Irvine32.lib

.stack 4096
ExitProcess PROTO,dwExitCode:DWORD
DumpRegs PROTO
.code
main PROC
  mov eax,10000h
  add eax,40000h
  sub eax,20000h
  call DumpRegs

  INVOKE ExitProcess,0
main ENDP
END main

[解决办法]
有没提示什么错误?我在《INTEL汇编语言程序设计》的编译器汇编能通过啊。