mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +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 {
|
forceinline bool is_wait() const {
|
||||||
return operation >= Operation::ReadOpcodeWait && operation <= Operation::InterruptWait;
|
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 {
|
enum Line {
|
||||||
CLK = 1 << 0,
|
CLK = 1 << 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user