Assertions in design by contract: Difference between revisions

Content added Content deleted
Line 62: Line 62:
LDA (tempPC),y ;get the error code that was stored immediately after the BRK
LDA (tempPC),y ;get the error code that was stored immediately after the BRK
;now do whatever you want with that info, such as display a relevant error message to the screen etc.
;now do whatever you want with that info, such as display a relevant error message to the screen etc.


;rest of program


org $FFFA
org $FFFA