Created
October 7, 2016 17:45
-
-
Save YPetremann/652ff42b90bb850548b1b45636b343c5 to your computer and use it in GitHub Desktop.
MCxxxx Family Language Reference Card
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
诚尚Micro™ | |
╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ | |
MCxxxx Family | |
Language Reference Card | |
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ | |
┃ ┃ | |
┃ [label:] [@+-] instructions [#comment] ┃ | |
┃ ‾‾‾‾‾ ‾‾‾‾‾‾‾‾‾‾‾‾ ‾‾‾‾‾‾‾ ┃ | |
┃ ┃ | |
┃ Basic Instructions Arithmetic Instructions ┃ | |
┃ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ ┃ | |
┃ nop add R/I # to acc ┃ | |
┃ mov R/I R # copy sub R/I # to acc ┃ | |
┃ jmp L # jump mul R/I # to acc ┃ | |
┃ slp R/I not # acc ┃ | |
┃ slx P # wait for dgt R/I # get digit ┃ | |
┃ gen P R/I R/I # pulse gen dst R/I R/I # set digit ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ Test Instructions Registers ┃ | |
┃ ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ ‾‾‾‾‾‾‾‾‾ ┃ | |
┃ # < = > null ┃ | |
┃ tlt R/I R/I # + - - acc ┃ | |
┃ teq R/I R/I # - + - dat ┃ | |
┃ tgt R/I R/I # - - + p0, p1 ┃ | |
┃ tcp R/I R/I # - + x0, x1, x2, x3 ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┃ ┃ | |
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment