mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Add a further accessor.
This commit is contained in:
parent
10bf6744aa
commit
bdcab447f9
@ -145,6 +145,12 @@ struct PartialMachineCycle {
|
||||
forceinline bool is_wait() const {
|
||||
return operation >= Operation::ReadOpcodeWait && operation <= Operation::InterruptWait;
|
||||
}
|
||||
/*!
|
||||
@returns @c true if this partial machine cycle is a memory access; @c false otherwise.
|
||||
*/
|
||||
forceinline bool is_memory_access() const {
|
||||
return operation <= Operation::Write;
|
||||
}
|
||||
|
||||
enum Line {
|
||||
CLK = 1 << 0,
|
||||
|
Loading…
Reference in New Issue
Block a user