| <<< Runtime Environment | Index | Assembly and C Code Compared >>> |
; CIS-77
; your_program_name.asm
; Brief description of what the program does
.386 ; Tells MASM to use Intel 80386 instruction set.
.MODEL FLAT ; Flat memory model
option casemap:none ; Treat labels as case-sensitive
.CONST ; Constant data segment
.STACK 100h ; (default is 1-kilobyte stack)
.DATA ; Begin initialized data segment
.CODE ; Begin code segment
_main PROC ; Beginning of code
ret
_main ENDP
END _main ; Marks the end of the module and sets the program entry point label
| <<< Runtime Environment | Index | Assembly and C Code Compared >>> |