mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 00:28:56 +00:00
[INCLUDE:ASM]: fix the .space macro definition for MASM: it aims at imitating the .space macro of GAS. Its syntax is: ".space size_in_bytes optional_fill_byte_defaults_to_zero" . As previously declared, it was doing the reverse: filling *just* one (zero?) bytes with 'count' interpreted as a byte value. Also add a .skip macro that exactly does the same (and is equivalent of the same one in GAS).
svn path=/trunk/; revision=68004
This commit is contained in:
parent
e1aecc4b70
commit
77f9846093
|
@ -141,8 +141,12 @@ ENDM
|
|||
ENDM
|
||||
ENDM
|
||||
|
||||
.space MACRO count
|
||||
DB 0 DUP (count)
|
||||
.skip MACRO size, fill:=<0>
|
||||
DB size DUP (fill)
|
||||
ENDM
|
||||
|
||||
.space MACRO size, fill:=<0>
|
||||
.skip size, fill
|
||||
ENDM
|
||||
|
||||
ljmp MACRO segment, offset
|
||||
|
|
Loading…
Reference in a new issue