 
     readOperation: ->
         @operationsTable[@$readNextProgramByte()]
-
-    haltOperation: ->
-        @moveProgramCounter -1
 
     readNextProgramByte: ->
         @$readByte @$moveProgramCounter 1

        @tick() for [1..3]                               # 3 "dummy" writes, mentioned above
        @enterInterruptHandler 0xFFFC
        @clearInterrupt Interrupt.RESET

    handleNMI: ->
        @saveStateBeforeInterrupt()


    executeOperation: ->
        operation = @$readOperation()
        unless operation
            logger.info "CPU halted!"
            @halted = true # CPU halt (KIL operation code)
            return

        instruction = operation.instruction
        addressingMode = operation.addressingMode
