summaryrefslogtreecommitdiff
path: root/saa.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-17 19:30:34 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-17 19:30:34 -0700
commitedb58f7813b20f1ec1ad640b53fcd58b680d8103 (patch)
treefbdf8fcef98e5839ad48b05375e0a730577824af /saa.h
parent9a1f9f5ab6394279b5f8f0b5466184694a2dc2ba (diff)
downloadnasm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/saa.h b/saa.h
index 32fae2b..ffd4214 100644
--- a/saa.h
+++ b/saa.h
@@ -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 */