Lines Matching defs:seg
51 uint8_t read_byte(uint16_t seg, uint16_t offset)
53 return( *(seg:>(uint8_t *)offset) );
56 void write_byte(uint16_t seg, uint16_t offset, uint8_t data)
58 *(seg:>(uint8_t *)offset) = data;
61 uint16_t read_word(uint16_t seg, uint16_t offset)
63 return( *(seg:>(uint16_t *)offset) );
66 void write_word(uint16_t seg, uint16_t offset, uint16_t data)
68 *(seg:>(uint16_t *)offset) = data;
71 uint32_t read_dword(uint16_t seg, uint16_t offset)
73 return( *(seg:>(uint32_t *)offset) );
76 void write_dword(uint16_t seg, uint16_t offset, uint32_t data)
78 *(seg:>(uint32_t *)offset) = data;