8 #define CASTLDBL (double)
34 eprintf(
"rz_reg_set_double: Bit size %d not supported\n", item->
size);
44 eprintf(
"rz_reg_set_value: item is NULL\n");
53 eprintf(
"rz_reg_set_double: Bit size %d not supported\n", item->
size);
69 long double vld = 0.0f;
71 long double ret = 0.0f;
88 eprintf(
"rz_reg_get_longdouble: Bit size %d not supported\n", item->
size);
98 eprintf(
"rz_reg_set_value: item is NULL\n");
101 switch (item->
size) {
109 eprintf(
"rz_reg_set_longdouble: Bit size %d not supported\n", item->
size);
RZ_API bool rz_reg_set_longdouble(RzReg *reg, RzRegItem *item, long double value)
RZ_API bool rz_reg_set_double(RzReg *reg, RzRegItem *item, double value)
RZ_API long double rz_reg_get_longdouble(RzReg *reg, RzRegItem *item)
RZ_API float rz_reg_get_float(RzReg *reg, RzRegItem *item)
RZ_API bool rz_reg_set_float(RzReg *reg, RzRegItem *item, float value)
RZ_API double rz_reg_get_double(RzReg *reg, RzRegItem *item)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
RZ_API void rz_mem_copybits(ut8 *dst, const ut8 *src, int bits)
int size
in bits> 8,16,32,64 ... 128/256
int arena
In which arena is this reg living. Usually equals type.
int offset
Offset into register profile in bits.