mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02: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
1 changed files with 6 additions and 2 deletions
|
@ -141,8 +141,12 @@ ENDM
|
||||||
ENDM
|
ENDM
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
.space MACRO count
|
.skip MACRO size, fill:=<0>
|
||||||
DB 0 DUP (count)
|
DB size DUP (fill)
|
||||||
|
ENDM
|
||||||
|
|
||||||
|
.space MACRO size, fill:=<0>
|
||||||
|
.skip size, fill
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
ljmp MACRO segment, offset
|
ljmp MACRO segment, offset
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue