summaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index 80de90b..191b190 100644
--- a/memory.h
+++ b/memory.h
@@ -22,6 +22,8 @@ struct memory {
extern uint8_t memory_get_byte(struct memory *mem, int32_t addr);
extern void memory_set_byte(struct memory *mem, int32_t addr, uint8_t data);
+extern uint16_t memory_get_halfword(struct memory *mem, int32_t addr);
+extern void memory_set_halfword(struct memory *mem, int32_t addr, uint16_t data);
extern uint32_t memory_get_word(struct memory *mem, int32_t addr);
extern void memory_set_word(struct memory *mem, int32_t addr, uint32_t data);