#include <asm_data.hpp>
|
| | AsmData (Program &prog, std::uintptr_t address) |
| |
| virtual | ~AsmData ()=default |
| |
| std::uintptr_t | operator& () const |
| |
| std::uintptr_t | get_address () const |
| |
| Result< T > | get_value () const |
| | Get the value currently present in the asm program.
|
| |
template<MemoryIOCompatible< T > U>
requires (MemoryWriteSupported<U>) |
| T | set_value (const U &val) const |
| | Set the value of type T in the asm program.
|
| |
| T | zero () const |
| | Zeros the object of type T residing in the asm program.
|
| |
◆ AsmData()
template<typename T >
requires (MemoryReadSupported<T>)
◆ ~AsmData()
◆ get_address()
◆ get_program()
◆ get_value()
template<typename T >
requires (MemoryReadSupported<T>)
Get the value currently present in the asm program.
◆ get_value_impl()
template<typename T >
requires (MemoryReadSupported<T>)
◆ operator&()
◆ set_value()
template<typename T >
requires (MemoryWriteSupported<U>)
template<MemoryIOCompatible< T > U>
requires (MemoryWriteSupported<U>)
Set the value of type T in the asm program.
Returns the previously held value
◆ zero()
template<typename T >
requires (MemoryWriteSupported<T>)
Zeros the object of type T residing in the asm program.
This is equivalent to set_value(T{}) if T is default-constructable. If not, simply sets the bytes in the range [address, address + sizeof(T)] to 0
The documentation for this class was generated from the following file: