diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 19:30:34 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 19:30:34 -0700 |
commit | edb58f7813b20f1ec1ad640b53fcd58b680d8103 (patch) | |
tree | fbdf8fcef98e5839ad48b05375e0a730577824af /saa.h | |
parent | 9a1f9f5ab6394279b5f8f0b5466184694a2dc2ba (diff) | |
download | nasm-edb58f7813b20f1ec1ad640b53fcd58b680d8103.tar.gz nasm-edb58f7813b20f1ec1ad640b53fcd58b680d8103.tar.bz2 nasm-edb58f7813b20f1ec1ad640b53fcd58b680d8103.zip |
SAA: add saa_writeaddr() similar to other locations
Provide saa_writeaddr() to write an integer in x86 format.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'saa.h')
-rw-r--r-- | saa.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,5 +55,6 @@ void saa_write32(struct SAA *s, uint32_t v); void saa_write64(struct SAA *s, uint64_t v); void saa_wleb128u(struct SAA *, int); /* write unsigned LEB128 value */ void saa_wleb128s(struct SAA *, int); /* write signed LEB128 value */ +void saa_writeaddr(struct SAA *, uint64_t, size_t); #endif /* NASM_SAA_H */ |