diff options
Diffstat (limited to 'src/ksimulator.cpp')
-rw-r--r-- | src/ksimulator.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ksimulator.cpp b/src/ksimulator.cpp index 6dd8a84..6cbb6c0 100644 --- a/src/ksimulator.cpp +++ b/src/ksimulator.cpp @@ -27,7 +27,7 @@ KSimulator::KSimulator(TQObject *parent, const char *name ) m_assembler->setCode( m_picoBlaze->code ) ; m_timer = new TQTimer( this ) ; - m_bInterrupt = FALSE ; + m_bInterrupt = false ; m_timer->stop() ; m_run = false ; @@ -60,7 +60,7 @@ void KSimulator::clear() void KSimulator::interrupt() { - m_bInterrupt = TRUE ; + m_bInterrupt = true ; } unsigned int KSimulator::getNextSourceLine() @@ -71,7 +71,7 @@ unsigned int KSimulator::getNextSourceLine() void KSimulator::next() { if ( m_bInterrupt ) { - m_bInterrupt = FALSE ; + m_bInterrupt = false ; m_picoBlaze->Interrupt() ; } else m_picoBlaze->Next() ; @@ -99,9 +99,9 @@ unsigned char KSimulator::getFlags() void KSimulator::setFlags( unsigned char flags ) { - m_picoBlaze->flags.carry = flags & CARRY_FLAG ? TRUE : FALSE ; - m_picoBlaze->flags.zero = flags & ZERO_FLAG ? TRUE : FALSE ; - m_picoBlaze->flags.interrupt_enable = flags & INTERRUPT_FLAG ? TRUE : FALSE ; + m_picoBlaze->flags.carry = flags & CARRY_FLAG ? true : false ; + m_picoBlaze->flags.zero = flags & ZERO_FLAG ? true : false ; + m_picoBlaze->flags.interrupt_enable = flags & INTERRUPT_FLAG ? true : false ; } void KSimulator::run() |