The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 09, 2010, 02:10:09 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
MASM32 Downloads
Forum Links and Website
Archived Old Forum Files
Links for VC and MASM
117346
Posts in
14003
Topics by
1654
Members
Latest Member:
road_hog
The MASM Forum
General Forums
The Campus
What the ':=<0>' mean?
« previous
next »
Pages:
[
1
]
Author
Topic: What the ':=<0>' mean? (Read 260 times)
UtillMasm
Member
Posts: 560
Please use a non offensive avatar
What the ':=<0>' mean?
«
on:
February 09, 2010, 04:16:30 am »
Code:
;...
FILE_DEVICE_UNKNOWN equ 22h
METHOD_BUFFERED equ 0
FILE_READ_ACCESS equ 1
FILE_WRITE_ACCESS equ 2
;...
CTL_CODE macro DeviceType:=<0>,Function:=<0>,Method:=<0>,Access:=<0>
exitm %(((DeviceType) shl 16) or ((Access) shl 14) or ((Function) shl 2) or (Method))
endm
;...
IOCTL_GET_PHYS_ADDRESS equ CTL_CODE(FILE_DEVICE_UNKNOWN,800h,METHOD_BUFFERED,FILE_READ_ACCESS+FILE_WRITE_ACCESS)
;...
Help! Help! Help!
Logged
dedndave
Member
Gender:
Posts: 5929
Still using Abacus 2.0
Re: What the ':=<0>' mean?
«
Reply #1 on:
February 09, 2010, 04:36:46 am »
it must be part of the label name
ohhhh - i bet those are locals - the ":" is the scope
Logged
Z
n+1
= Z
n
2
+C
sinsi
Member
Gender:
Posts: 1407
Re: What the ':=<0>' mean?
«
Reply #2 on:
February 09, 2010, 04:50:15 am »
If you skip a parameter the text in the angles is the default value.
Logged
the best end of the day
is the
West End
of the day
UtillMasm
Member
Posts: 560
Please use a non offensive avatar
Re: What the ':=<0>' mean?
«
Reply #3 on:
February 09, 2010, 04:57:50 am »
how to skip a (the 'DeviceType') parameter:
Code:
IOCTL_GET_PHYS_ADDRESS equ CTL_CODE(,800h,METHOD_BUFFERED,FILE_READ_ACCESS+FILE_WRITE_ACCESS)
any other way to skip a parameter?
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Welcome To New Members
-----------------------------
=> How To Successfully Join The MASM Forum
=> Introduction
=> The Rules Of The Forum
=> Changes to the Masm Forum
-----------------------------
General Forums
-----------------------------
=> The Campus
=> The Workshop
=> The Laboratory
=> The Soap Box
=> The Colosseum
-----------------------------
Project Support Forums
-----------------------------
=> MASM32
===> WINDOWS.INC Project
===> Starting with MASM32
===> MASM32 Licencing
===> AV Software sh*t list.
=> GoAsm Assembler and Tools
=> HLA Forum
=> PowerBASIC Low Level Code
===> Archival PowerBASIC Code
=> The GeneSys Development System
===> API tutorial set
===> User Contributed Code
=> IDE Development and Support
===> RadAsm Support Forum
===> WinAsm Studio
===> ASMedit
===> Easy Code
=====> Easy Code Tutorials
=> OpenGL Forum
=> 64 Bit Assembler
-----------------------------
Specialised Projects
-----------------------------
=> Assembler/Compiler Technology
=> Pelle's Macro Assembler Development
=> High Performance Ray Tracing
=> Custom Interface Components
=> Compiler Based Assembler
===> Assembler With Microsoft Visual C
===> Pelle's C compiler and tools
-----------------------------
Miscellaneous Forums
-----------------------------
=> Miscellaneous Projects
===> Windows Projects
=> The Orphanage
=> 16 bit DOS Programming
-----------------------------
Toddler's Corner
-----------------------------
=> Romper Room