Browse Source

Add Alignment Section

master
Taylor Bockman 7 years ago committed by GitHub
parent
commit
0e599cb357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      README.md

23
README.md

@ -27,7 +27,8 @@ languages consistent.
9. [Function Prototypes](#function-prototypes) 9. [Function Prototypes](#function-prototypes)
10. [Section](#section) 10. [Section](#section)
11. [Type Declarations](#type-declarations) 11. [Type Declarations](#type-declarations)
12. [Project Organization](#project-organization) 12. [Alignment](#alignment)
13. [Project Organization](#project-organization)
## Getting Started ## Getting Started
@ -124,7 +125,7 @@ Example:
```asm ```asm
.386 .386
.MODEL flat, stdcall .MODEL flat, stdcall
option casemap:none option casemap: none
include \masm32\include\windows.inc include \masm32\include\windows.inc
include \masm32\include\kernel32.inc include \masm32\include\kernel32.inc
@ -146,7 +147,7 @@ Example:
```asm ```asm
.386 .386
.MODEL flat, stdcall .MODEL flat, stdcall
option casemap:none option casemap: none
include \masm32\include\windows.inc include \masm32\include\windows.inc
include \masm32\include\kernel32.inc include \masm32\include\kernel32.inc
@ -241,6 +242,22 @@ Examples:
; ... ; ...
``` ```
### Alignment
Prefer to keep type declarations and instantiations aligned.
Example:
```asm
.DATA
ClassName db "WinClass", 0
AppName db "Window", 0
.DATA?
hInstance HINSTANCE ?
CommandLine LPSTR ?
```
### Project Organization ### Project Organization
TODO TODO

Loading…
Cancel
Save