diff --git a/.gitattributes b/.gitattributes index 861c4d91db8dde23b807a69cadf8aa624ff91049..5f6f3a6731c9500d0af324ddbaf853a5bd6b35fd 100644 Binary files a/.gitattributes and b/.gitattributes differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221.rar" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221.rar" new file mode 100644 index 0000000000000000000000000000000000000000..446bfe0c4ae597f978aa811bc01f42aac4ecfe48 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221.rar" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ff79ca4a03a9a76d0beb7732fc6fe0f48fc8e59d33131e27d03bcca95e3037e +size 6845046 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..28967f7a7cd7fd0111873969ff6460607cb94912 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/NOP_MOV.HEX" @@ -0,0 +1,2 @@ +:06000000300350645401BE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..43772d9c11b9f2d1835f781e844b24e08866dfd9 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/PUSH_POP.HEX" @@ -0,0 +1,3 @@ +:10000000100848454C4C4F213C02388034060125ED +:0B001000832C92285027181A100F01B3 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..927442f091daa518cd138553f1b5ec58a014c398 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.HEX" @@ -0,0 +1,6 @@ +:1000000038865A389958103010000000000000203F +:1000100034800138825A506138C05A3860585A705A +:1000200038805A44C4011C2438C05A3860585A7069 +:1000300038C05A38135838C25A3808583805583812 +:0B0040007E5838805A40C0011C460169 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.asm" new file mode 100644 index 0000000000000000000000000000000000000000..91aabbe9ff9effbf7285dcfdfe5f84d4f6f5f1ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/test/test_8259.asm" @@ -0,0 +1,106 @@ +ORG 0000H +;配置8255A + DB 00111000B ;SET R2,86H ;选择8255,控制端 + DB 10000110B ; ;A1A0=11 + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,99H ;控制字 + + DB 10011001B ; ;PA输入/PB输出/PC输入 + DB 01011000B ;OUT R2, PORT0 + DB 00010000B ;JMP 30H ;跳转到主程序 + DB 00110000B ; + +;8259A的中断矢量表[00001xxx] + DB 00010000B ;vector0 [08H]=10H + DB 00000000B ;vector1 [09H]=00H + DB 00000000B ;vector2 [0AH]=00H + DB 00000000B ;vector3 [0BH]=00H + + DB 00000000B ;vector4 [0CH]=00H + DB 00000000B ;vector5 [0DH]=00H + DB 00000000B ;vector6 [0EH]=00H + DB 00100000B ;vector7 [0FH]=20H + +ORG 0010H +;中断源0 + DB 00110100B ;SET R1,80H ; R1赋值80H(减1则最高位变0) + DB 10000000B ; + DB 00000001B ;HLT + DB 00111000B ;SET R2,82H ;选PB口 + + DB 10000010B ; ;A1A0=01 + DB 01011010B ;OUTA R2,PORT0 + DB 01010000B ;OUT R0,PORT0 ;PB口输出 + DB 01100001B ;MOV R0,R1 ; R0赋值80H(减1则最高位变0) + + DB 00111000B ;SET R2,C0H 选择8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,60H ; EOI命令(OCW2命令字) + + DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + DB 01011000B ;OUT R2,PORT0 + DB 01011010B ;OUTA R2,PORT0 ;去掉8259片选,避免误修改配置 + DB 01110000B ;IRET + +ORG 0020H +;中断源7 + DB 00111000B ;SET R2,80H ;选PA口 + DB 10000000B ; ;A1A0=00 + DB 01011010B ;OUTA R2,PORT0 + DB 01000100B ;IN R1,PORT0 ;PA口输入,赋值R1 + + DB 11000100B ;SUBI R1,01 ; R1递减“-1” + DB 00000001B + DB 00011100B ;JS 24H ; R1最高位为1,则循环递减 + DB 00100100B ; + + DB 00111000B ;SET R2,C0H 选择8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,60H ; EOI命令(OCW2命令字) + + DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + DB 01011000B ;OUT R2,PORT0 + DB 01011010B ;OUTA R2,PORT0 ;去掉8259片选,避免误修改配置 + DB 01110000B ;IRET + +ORG 0030H +;配置8259 + DB 00111000B ;SET R2,C0H ;配置8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,13H ;设置初始化命令字 ICW1 + + DB 00010011B ; 上升沿触发/单片工作/需要设置ICW4 + DB 01011000B ;OUT R2,PORT0 + DB 00111000B ;SET R2,C2H ;配置8259/奇地址 + DB 11000010B ; + + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,08H ;设置初始化命令字 ICW2 + DB 00001000B ; 中断类型号(中断向量表入口地址00001xxx) + DB 01011000B ;OUT R2,PORT0 + + DB 00111000B ;SET R2,05H ;设置初始化命令字 ICW4 + DB 00000101B ; 全嵌套/非缓冲/主片/非自动中断结束 + DB 01011000B ;OUT R2,PORT0 + DB 00111000B ;SET R2,7EH ;写入 操作命令字 OCW1 + + DB 01111110B ; 屏蔽所有未用到的中断IR ;[40H] + DB 01011000B ;OUT R2,PORT0 +;main + DB 00111000B ;SET R2,80H ;选PA口 + DB 10000000B ; ;A1A0=00 + + DB 01011010B ;OUTA R2,PORT0 + DB 01000000B ;IN R0,PORT0 ;PA口输入 ,R0赋值 + DB 11000000B ;SUBI R0,01 ; R0递减“-1” + DB 00000001B ; + + DB 00011100B ;JS 46H ; R0最高位为1,则循环递减 + DB 01000110B ; + DB 00000001B ;HLT + +END + \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\345\276\256\346\214\207\344\273\244\351\233\206.txt" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\345\276\256\346\214\207\344\273\244\351\233\206.txt" new file mode 100644 index 0000000000000000000000000000000000000000..196ff4dd43c2c8900de3d3b7254f5fe4856fc9bb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\345\276\256\346\214\207\344\273\244\351\233\206.txt" @@ -0,0 +1,70 @@ +EPROM1 EPROM2 EPROM3 +0000 0000 0100 1000 0001 0101 取址(NOP_HLT) [00000] +0000 0000 1010 0100 1000 0000 [10101] + +0000 0001 0000 1000 0001 1110 中断响应 [10000] +0000 0000 1010 1110 0100 0000 [11110] + +0000 0000 1111 1110 0100 0000 IRET [00111] + +0000 0000 0100 1000 0011 1010 LAD [01000] +0000 0000 1010 1000 0001 1101 [11010] case1 +0000 0000 0101 1000 0001 1101 [11011] case2 +0000 0000 0010 0010 0100 0000 [11101] + +0000 0000 0100 1000 0011 0110 STO [01001] +0000 0000 1010 1000 0001 0001 [10110] case1 +0000 0000 0101 1000 0001 0001 [10111] case2 +0000 0000 0001 1010 0100 0000 [10001] + +1001 0000 0001 1100 0011 1000 ADD [01101] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +0110 0000 0001 1100 0011 1000 SUB [01100] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +1011 1000 0001 1100 0011 1000 AND [01110] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +1110 1000 0001 1100 0011 1000 OR [01111] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + + +0110 1000 0001 1100 0011 1000 XOR [01011] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + + +1111 1000 0001 1100 0001 0011 SHT [01010] +1111 1010 0000 1100 0001 0100 [10011] +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +0000 0000 0100 1000 0011 1110 JMP [00001] +0000 0000 1010 1110 0100 0000 [11110] case1(中断响应2) +0000 0000 1101 1111 0100 0000 [11111] case2 + +0000 0000 0100 1000 0001 0010 SET [00011] +0000 0000 1010 0010 0100 0000 [10010] + +0000 0000 0110 0010 0100 0000 IN [00100] + +0000 0000 0001 0110 0100 0000 OUT [00101] + +0000 0000 0101 0010 0100 0000 MOV [00110] + +0000 0100 0001 1100 0001 0100 SOP [00010] +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" new file mode 100644 index 0000000000000000000000000000000000000000..0c8b74bf4e87f44f916337188e6eef6fcd80492d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" @@ -0,0 +1,34 @@ +EPROM1 EPROM2 EPROM3 +0000 0000 0100 1000 0001 0101 取址(NOP) [00000] 取址(NOP_HLT)1 +0000 0000 0100 1000 0011 1110 JMP [00001] JMP1 +0000 0100 0001 1100 0001 0100 SOP [00010] SOP1 +0000 0000 0100 1000 0001 0010 SET [00011] SET1 +0000 0000 0110 0010 0100 0000 IN [00100] IN1 +0000 0000 0001 0110 0100 0000 OUT [00101] OUT1 +0000 0000 0101 0010 0100 0000 MOV [00110] MOV1 +0000 0000 1111 1110 0100 0000 IRET [00111] IRET1 +0000 0000 0100 1000 0011 1010 LAD [01000] LAD1 +0000 0000 0100 1000 0011 0110 STO [01001] STO1 +1111 1000 0001 1100 0001 0011 SHT [01010] SHT1 +0110 1000 0001 1100 0011 1000 XOR [01011] XOR1 +0110 0000 0001 1100 0011 1000 SUB [01100] SUB1 +1001 0000 0001 1100 0011 1000 ADD [01101] ADD1 +1011 1000 0001 1100 0011 1000 AND [01110] AND1 +1110 1000 0001 1100 0011 1000 OR [01111] OR1 + +0000 0001 0000 1000 0001 1110 中断响应 [10000] 中断响应1 +0000 0000 0001 1010 0100 0000 [10001] STO3 +0000 0000 1010 0010 0100 0000 [10010] SET2 +1111 1010 0000 1100 0001 0100 [10011] SHT2 +0000 0000 0011 0010 0100 0000 [10100] ADD\SUB\AND\OR\XOR 4(case1)3(case2)\SOP2\SHT3 +0000 0000 1010 0100 1000 0000 [10101] 取址(NOP)2 +0000 0000 1010 1000 0001 0001 [10110] STO2 case1 +0000 0000 0101 1000 0001 0001 [10111] STO2 case2 +0000 0000 0100 1000 0001 1100 [11000] ADD\SUB\AND\OR\XOR 2(case1) +0000 0000 0101 1100 0001 0100 [11001] ADD\SUB\AND\OR\XOR 2(case2) +0000 0000 1010 1000 0001 1101 [11010] LAD2 case1 +0000 0000 0101 1000 0001 1101 [11011] LAD2 case2 +0000 0000 1010 1100 0001 0100 [11100] ADD\SUB\AND\OR\XOR 3(case1) +0000 0000 0010 0010 0100 0000 [11101] LAD3 +0000 0000 1010 1110 0100 0000 [11110] 中断响应2\JMP2 case1 +0000 0000 1101 1111 0100 0000 [11111] JMP2 case2 \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2b805fdffd2d49031d2eb764e8690cc6dbab4f17 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.HEX" @@ -0,0 +1,5 @@ +:10000000380030DD525830D052585830D152340573 +:10001000545830D2525834805430D3523405545846 +:1000200030DB5234845434895430D85234855430BF +:0D003000DF52340C540130D9523404540115 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..0509e1f98f9d6a9e0ece8cc6ccbdface407f8e78 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.SDI" @@ -0,0 +1,80 @@ +,,,ORG 0000H +,,, +0000,38,, DB 00111000B ;SET R2, 00H ; +0001,00,, DB 00000000B ; +0002,30,, DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] +0003,DD,, DB 11011101B ; +,,, +0004,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0005,58,, DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 +0006,30,, DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] +0007,D0,, DB 11010000B ; +,,, +0008,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0009,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) +000A,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 +000B,30,, DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] +,,, +000C,D1,, DB 11010001B ; +000D,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +000E,34,, DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 +000F,05,, DB 00000101B ; +,,, +0010,54,, DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H +0011,58,, DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H +0012,30,, DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] +0013,D2,, DB 11010010B ; +,,, +0014,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0015,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) +0016,34,, DB 00110100B ;SET R1, 80H ; +0017,80,, DB 10000000B ; +,,, +0018,54,, DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H +0019,30,, DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] +001A,D3,, DB 11010011B ; +001B,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +,,, +001C,34,, DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 +001D,05,, DB 00000101B ; +001E,54,, DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H +001F,58,, DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H +,,, +0020,30,, DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] +0021,DB,, DB 11011011B ; +0022,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0023,34,, DB 00110100B ;SET R1, 84H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(01),选� +,,, +0024,84,, DB 10000100B ; +0025,54,, DB 01010100B ;OUT R1, PORT0 ; +0026,34,, DB 00110100B ;SET R1, 89H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(10),选� +0027,89,, DB 10001001B ; +,,, +0028,54,, DB 01010100B ;OUT R1, PORT0 ; +0029,30,, DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] +002A,D8,, DB 11011000B ; +002B,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +,,, +002C,34,, DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0) +002D,85,, DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) +002E,54,, DB 01010100B ;OUT R1, PORT0 ; +002F,30,, DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] +,,, +0030,DF,, DB 11011111B ; +0031,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0032,34,, DB 00110100B ;SET R1, 0CH ; +0033,0C,, DB 00001100B ; +,,, +0034,54,, DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 +0035,01,, DB 00000001B ;HLT +0036,30,, DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] +0037,D9,, DB 11011001B ; +,,, +0038,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0039,34,, DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) +003A,04,, DB 00000100B ; +003B,54,, DB 01010100B ;OUT R1, PORT0 ; +,,, +003C,01,, DB 00000001B ;HLT +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..be39f0baf531bcd65ba4c3e37634f050f85e21f2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Debug.lst" @@ -0,0 +1,213 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\8237.ASM + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 38 DB 00111000B ;SET R2, 00H ; + 4: 0001 00 DB 00000000B ; + 5: 0002 30 DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] + 6: 0003 DD DB 11011101B ; + 7: + 8: 0004 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 9: 0005 58 DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 + 10: 0006 30 DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] + 11: 0007 D0 DB 11010000B ; + 12: + 13: 0008 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 14: 0009 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) + 15: 000A 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 + 16: 000B 30 DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] + 17: + 18: 000C D1 DB 11010001B ; + 19: 000D 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 20: 000E 34 DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 + 21: 000F 05 DB 00000101B ; + 22: + 23: 0010 54 DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + 24: 0011 58 DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + 25: 0012 30 DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] + 26: 0013 D2 DB 11010010B ; + 27: + 28: 0014 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 29: 0015 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) + 30: 0016 34 DB 00110100B ;SET R1, 80H ; + 31: 0017 80 DB 10000000B ; + 32: + 33: 0018 54 DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H + 34: 0019 30 DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] + 35: 001A D3 DB 11010011B ; + 36: 001B 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 37: + 38: 001C 34 DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 + 39: 001D 05 DB 00000101B ; + 40: 001E 54 DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + 41: 001F 58 DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + 42: + 43: 0020 30 DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 44: 0021 DB DB 11011011B ; + 45: 0022 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 46: 0023 34 DB 00110100B ;SET R1, 84H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(01),选� + 裢ǖ�0(00) + 47: + 48: 0024 84 DB 10000100B ; + 49: 0025 54 DB 01010100B ;OUT R1, PORT0 ; + 50: 0026 34 DB 00110100B ;SET R1, 89H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(10),选� + 裢ǖ�1(01) + 51: 0027 89 DB 10001001B ; + 52: + 53: 0028 54 DB 01010100B ;OUT R1, PORT0 ; + 54: 0029 30 DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] + 55: 002A D8 DB 11011000B ; + 56: 002B 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 57: + 58: 002C 34 DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0) + , + 59: 002D 85 DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) + + 60: 002E 54 DB 01010100B ;OUT R1, PORT0 ; + 61: 002F 30 DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] + 62: + 63: 0030 DF DB 11011111B ; + 64: 0031 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 65: 0032 34 DB 00110100B ;SET R1, 0CH ; + 66: 0033 0C DB 00001100B ; + 67: + 68: 0034 54 DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 + 69: 0035 01 DB 00000001B ;HLT + 70: 0036 30 DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] + 71: 0037 D9 DB 11011001B ; + 72: + 73: 0038 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 74: 0039 34 DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) + 75: 003A 04 DB 00000100B ; + 76: 003B 54 DB 01010100B ;OUT R1, PORT0 ; + 77: + 78: 003C 01 DB 00000001B ;HLT + 79: + 80: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..3679cc8f3f08103e1d935a1d20c02b217e1d7197 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机接口实验【微程序】2017版/实验4.8 DMA实验 8237/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机接口实验【微程序】2017版/实验4.8 DMA实验 8237/test/8237.ASM + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/8237.ASM + $(ASM) "..\..\test\8237.ASM" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/8237\346\250\241\345\236\213\351\227\256\351\242\230\345\217\212\346\263\250\346\204\217\344\272\213\351\241\271.txt" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/8237\346\250\241\345\236\213\351\227\256\351\242\230\345\217\212\346\263\250\346\204\217\344\272\213\351\241\271.txt" new file mode 100644 index 0000000000000000000000000000000000000000..602743def1b3e84b7b4aca24e58c974b00d7a4b4 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/8237\346\250\241\345\236\213\351\227\256\351\242\230\345\217\212\346\263\250\346\204\217\344\272\213\351\241\271.txt" @@ -0,0 +1,19 @@ +8237仿真模型问题: + +1)控制命令字(写入低4位地址“8”的寄存器) D2位: "0"禁止8237工作 / "1"允许8237工作 + 与datasheet 的定义正好相反! +2)模式命令字(写入低4位地址“B”的寄存器) D3/D2位: "0/1"读传输 "1/0"写传输 + 与datasheet的定义也正好相反 +3)若选择MtoM传输,则传输结束后 无法复位, + 即无法有效清除 状态字“计数结束”标志位,导致通道0和通道1无法再使用,必须停止仿真,重新开始。 +4)若选择外设与M传输,则第一次传送,计数过程递减到0000H即停止, + 而从第二次传送开始,计数过程恢复递减到FFFFH停止,与MtoM传输保持一致 + (即使第一次传送和第二次传送的字节数、源和目标通道完全相同,也会出现上述问题) + +注意事项: +1)若选择了MtoM传输,则通道0和1传输无法再被DREQ0和1触发,进行外设与M传输; + 若要进行外设与M传输,则必须使控制命令字的D0=0(写入低4位地址“8”的寄存器) +2)计数结束后 状态字的“请求”标志位和“计数结束”标志位都置“1”, + 该状态寄存器必须清零,特别是“计数结束”标志位清零,相应的通道才能再次被使用 + 因此,每次DMA传输结束后(或者新的DMA传输开始前),必须软件复位(写入低4位地址“D”的寄存器) + \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Backup Of experiment CPU+8237.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Backup Of experiment CPU+8237.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..e21d7d75b3c257e35504218bcf2cce37f894357a Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Backup Of experiment CPU+8237.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..754b4b8622e5d3ed8c0ab4c2e1b11d48fd797434 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000100B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 11111000B + DB 01101000B + DB 01100000B + DB 10010000B + DB 10111000B + DB 11101000B + DB 00000001B + DB 00000000B + DB 00000000B + DB 11111010B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2fddea696a08a7b9fb86c7359faa2ae1beddc43f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000400000000000000F8686090B8E8FC +:10001000010000FA000000000000000000000000E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1645cb7fa1147966da67196a8310a46aed3c61f8 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 01001000B + DB 00011100B + DB 01001000B + DB 01100010B + DB 00010110B + DB 01010010B + DB 11111110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 00011100B + DB 00011100B + DB 00011100B + DB 00001000B + DB 00011010B + DB 10100010B + DB 00001100B + DB 00110010B + DB 10100100B + DB 10101000B + DB 01011000B + DB 01001000B + DB 01011100B + DB 10101000B + DB 01011000B + DB 10101100B + DB 00100010B + DB 10101110B + DB 11011111B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..77c0ffcc1d7d9a3ac5ab375965aa45e643515a07 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:1000000048481C48621652FE48481C1C1C1C1C1CFC +:10001000081AA20C32A4A858485CA858AC22AEDF3B +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..e83f50ad72d12c430c90c0617ba1dbf245e3ecf5 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00010101B + DB 00111110B + DB 00010100B + DB 00010010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00111010B + DB 00110110B + DB 00010011B + DB 00111000B + DB 00111000B + DB 00111000B + DB 00111000B + DB 00111000B + DB 00011110B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 10000000B + DB 00010001B + DB 00010001B + DB 00011100B + DB 00010100B + DB 00011101B + DB 00011101B + DB 00010100B + DB 01000000B + DB 01000000B + DB 01000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d563b93a3c0558b79880853cd69afc5be8c937bc --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:10000000153E1412404040403A36133838383838DC +:100010001E404014408011111C141D1D144040400E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Last Loaded experiment CPU+8237.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Last Loaded experiment CPU+8237.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..b2eefa94a4845c0f853c243d253359137e934ea7 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/Last Loaded experiment CPU+8237.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..628c1e68230394f7aa6424810ece539cedcac2da --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000000B ;NOP + DB 00000000B ;NOP + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..f292a1b44999664982c5d9c1022b9fbc459b302d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/JS.HEX" @@ -0,0 +1,2 @@ +:0E0000003004340301C11C0CD150100D54010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..28967f7a7cd7fd0111873969ff6460607cb94912 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/NOP_MOV.HEX" @@ -0,0 +1,2 @@ +:06000000300350645401BE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..43772d9c11b9f2d1835f781e844b24e08866dfd9 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/PUSH_POP.HEX" @@ -0,0 +1,3 @@ +:10000000100848454C4C4F213C02388034060125ED +:0B001000832C92285027181A100F01B3 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..aa224285f262bc0e36b64fa55c5846e6d377185b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..777fa0fc2216e4a667f892a73f0437ec21c2a7f0 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..e4d3ef61b267dfbeb8a82424f4ad0389905f117d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/experiment CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,118 @@ + + + + 2c00000002000000030000000083ffff0083ffffffffffffffffffff0d000000000000009f050000de030000 + + + + + + + + + + + + + + + 1791 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3d13749793d7b6d218b11ec97567066933df174e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.ASM" @@ -0,0 +1,80 @@ +ORG 0000H + + DB 00111000B ;SET R2, 00H ; + DB 00000000B ; + DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] + DB 11011101B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 + DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] + DB 11010000B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) + DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 + DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] + + DB 11010001B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 + DB 00000101B ; + + DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] + DB 11010010B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) + DB 00110100B ;SET R1, 80H ; + DB 10000000B ; + + DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H + DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] + DB 11010011B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + + DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 + DB 00000101B ; + DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + + DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] + DB 11011011B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 84H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(01),选择通道0(00) + + DB 10000100B ; + DB 01010100B ;OUT R1, PORT0 ; + DB 00110100B ;SET R1, 89H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(10),选择通道1(01) + DB 10001001B ; + + DB 01010100B ;OUT R1, PORT0 ; + DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] + DB 11011000B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + + DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0), + DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) + DB 01010100B ;OUT R1, PORT0 ; + DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] + + DB 11011111B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 0CH ; + DB 00001100B ; + + DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 + DB 00000001B ;HLT + DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] + DB 11011001B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) + DB 00000100B ; + DB 01010100B ;OUT R1, PORT0 ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2b805fdffd2d49031d2eb764e8690cc6dbab4f17 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/8237.HEX" @@ -0,0 +1,5 @@ +:10000000380030DD525830D052585830D152340573 +:10001000545830D2525834805430D3523405545846 +:1000200030DB5234845434895430D85234855430BF +:0D003000DF52340C540130D9523404540115 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8f871d62b7f510b5b7e801410bc69047cee62dd4 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.ASM" @@ -0,0 +1,18 @@ +ORG 0000H + + DB 00111000B ;SET R2, 00H ; + DB 00000000B ; + DB 00110100B ;SET R1, 80H ; + DB 10000000B ; + + DB 00110000B ;SET R0,FFH ;写入外部存储器EXRAM地址[80H]的数据 + DB 11111111B ; + DB 01011011B ;OUTA R2,M_L8 ; 写外部存储器低8位地址A0~A7[00H] + DB 01010111B ;OUTA R1,M_H8 ; 写外部存储器高8位地址A8~A15[80H] + + DB 01010001B ;OUT R0,PORT1 ; R0数据写入外部存储器EXRAM + DB 00000001B ;HLT + DB 01001101B ;IN R3,PORT1 ; 外部存储器EXRAM数据写入R3 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2b805fdffd2d49031d2eb764e8690cc6dbab4f17 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXRAM.HEX" @@ -0,0 +1,5 @@ +:10000000380030DD525830D052585830D152340573 +:10001000545830D2525834805430D3523405545846 +:1000200030DB5234845434895430D85234855430BF +:0D003000DF52340C540130D9523404540115 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..782da904ee090a348418b36e725734995f2e4a1e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.HEX" @@ -0,0 +1,2 @@ +:0C00000048454C4C4F2148454C4C4F21CA +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.asm" new file mode 100644 index 0000000000000000000000000000000000000000..db8cbc81911e51e500c5ee84f94230f72914212d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/test/EXROM.asm" @@ -0,0 +1,16 @@ +ORG 0000H + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' +END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\345\276\256\346\214\207\344\273\244\351\233\206.txt" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\345\276\256\346\214\207\344\273\244\351\233\206.txt" new file mode 100644 index 0000000000000000000000000000000000000000..196ff4dd43c2c8900de3d3b7254f5fe4856fc9bb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\345\276\256\346\214\207\344\273\244\351\233\206.txt" @@ -0,0 +1,70 @@ +EPROM1 EPROM2 EPROM3 +0000 0000 0100 1000 0001 0101 取址(NOP_HLT) [00000] +0000 0000 1010 0100 1000 0000 [10101] + +0000 0001 0000 1000 0001 1110 中断响应 [10000] +0000 0000 1010 1110 0100 0000 [11110] + +0000 0000 1111 1110 0100 0000 IRET [00111] + +0000 0000 0100 1000 0011 1010 LAD [01000] +0000 0000 1010 1000 0001 1101 [11010] case1 +0000 0000 0101 1000 0001 1101 [11011] case2 +0000 0000 0010 0010 0100 0000 [11101] + +0000 0000 0100 1000 0011 0110 STO [01001] +0000 0000 1010 1000 0001 0001 [10110] case1 +0000 0000 0101 1000 0001 0001 [10111] case2 +0000 0000 0001 1010 0100 0000 [10001] + +1001 0000 0001 1100 0011 1000 ADD [01101] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +0110 0000 0001 1100 0011 1000 SUB [01100] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +1011 1000 0001 1100 0011 1000 AND [01110] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +1110 1000 0001 1100 0011 1000 OR [01111] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + + +0110 1000 0001 1100 0011 1000 XOR [01011] +0000 0000 0100 1000 0001 1100 [11000] ALU1(case1) +0000 0000 1010 1100 0001 0100 [11100] ALU2(case1) +0000 0000 0101 1100 0001 0100 [11001] ALU1(case2) +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + + +1111 1000 0001 1100 0001 0011 SHT [01010] +1111 1010 0000 1100 0001 0100 [10011] +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) + +0000 0000 0100 1000 0011 1110 JMP [00001] +0000 0000 1010 1110 0100 0000 [11110] case1(中断响应2) +0000 0000 1101 1111 0100 0000 [11111] case2 + +0000 0000 0100 1000 0001 0010 SET [00011] +0000 0000 1010 0010 0100 0000 [10010] + +0000 0000 0110 0010 0100 0000 IN [00100] + +0000 0000 0001 0110 0100 0000 OUT [00101] + +0000 0000 0101 0010 0100 0000 MOV [00110] + +0000 0100 0001 1100 0001 0100 SOP [00010] +0000 0000 0011 0010 0100 0000 [10100] ALU3(case1)2(case2) \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" new file mode 100644 index 0000000000000000000000000000000000000000..0c8b74bf4e87f44f916337188e6eef6fcd80492d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\345\276\256\347\250\213\345\272\217\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237/\346\216\222\345\272\217\345\276\256\346\214\207\344\273\244\351\233\206.txt" @@ -0,0 +1,34 @@ +EPROM1 EPROM2 EPROM3 +0000 0000 0100 1000 0001 0101 取址(NOP) [00000] 取址(NOP_HLT)1 +0000 0000 0100 1000 0011 1110 JMP [00001] JMP1 +0000 0100 0001 1100 0001 0100 SOP [00010] SOP1 +0000 0000 0100 1000 0001 0010 SET [00011] SET1 +0000 0000 0110 0010 0100 0000 IN [00100] IN1 +0000 0000 0001 0110 0100 0000 OUT [00101] OUT1 +0000 0000 0101 0010 0100 0000 MOV [00110] MOV1 +0000 0000 1111 1110 0100 0000 IRET [00111] IRET1 +0000 0000 0100 1000 0011 1010 LAD [01000] LAD1 +0000 0000 0100 1000 0011 0110 STO [01001] STO1 +1111 1000 0001 1100 0001 0011 SHT [01010] SHT1 +0110 1000 0001 1100 0011 1000 XOR [01011] XOR1 +0110 0000 0001 1100 0011 1000 SUB [01100] SUB1 +1001 0000 0001 1100 0011 1000 ADD [01101] ADD1 +1011 1000 0001 1100 0011 1000 AND [01110] AND1 +1110 1000 0001 1100 0011 1000 OR [01111] OR1 + +0000 0001 0000 1000 0001 1110 中断响应 [10000] 中断响应1 +0000 0000 0001 1010 0100 0000 [10001] STO3 +0000 0000 1010 0010 0100 0000 [10010] SET2 +1111 1010 0000 1100 0001 0100 [10011] SHT2 +0000 0000 0011 0010 0100 0000 [10100] ADD\SUB\AND\OR\XOR 4(case1)3(case2)\SOP2\SHT3 +0000 0000 1010 0100 1000 0000 [10101] 取址(NOP)2 +0000 0000 1010 1000 0001 0001 [10110] STO2 case1 +0000 0000 0101 1000 0001 0001 [10111] STO2 case2 +0000 0000 0100 1000 0001 1100 [11000] ADD\SUB\AND\OR\XOR 2(case1) +0000 0000 0101 1100 0001 0100 [11001] ADD\SUB\AND\OR\XOR 2(case2) +0000 0000 1010 1000 0001 1101 [11010] LAD2 case1 +0000 0000 0101 1000 0001 1101 [11011] LAD2 case2 +0000 0000 1010 1100 0001 0100 [11100] ADD\SUB\AND\OR\XOR 3(case1) +0000 0000 0010 0010 0100 0000 [11101] LAD3 +0000 0000 1010 1110 0100 0000 [11110] 中断响应2\JMP2 case1 +0000 0000 1101 1111 0100 0000 [11111] JMP2 case2 \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ae4b221e75fecb7e0f120b4600a247f3711982dd --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" @@ -0,0 +1,6 @@ +:1000000030865230915030825230FF503084523816 +:100010000F58343F014000B218156C544000B1181D +:100020002269A500544001B11836C83F1832382063 +:10003000104038401040C83F183E381010403880FB +:0700400001FB3C825E580148 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..311f93d7107eb73c6d719ad5dd49c3e5daa27324 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,93 @@ +,,,ORG 0000H +,,, +0000,30,, DB 00110000B ; SET R0,86H ;选控制端 +0001,86,, DB 10000110B ; ;A1A0=11 +0002,52,, DB 01010010B ; OUTA R0,PORT0 +0003,30,, DB 00110000B ; SET R0,91H +,,, +0004,91,, DB 10010001B ; ;PA输入/PB输出/PC高四位输出低四位输入 +0005,50,, DB 01010000B ; OUT R0,PORT0 +0006,30,, DB 00110000B ; SET R0,82H ;选PB口 +0007,82,, DB 10000010B ; ;A1A0=01 +,,, +0008,52,, DB 01010010B ; OUTA R0,PORT0 +0009,30,, DB 00110000B ; SET R0,FFH +000A,FF,, DB 11111111B ; +000B,50,, DB 01010000B ; OUT R0,PORT0 ;初始化PB口,LED全灭) +,,, +000C,30,, DB 00110000B ; SET R0,84H ;选PC口 +000D,84,, DB 10000100B ; ;A1A0=10 +000E,52,, DB 01010010B ; OUTA R0,PORT0 +000F,38,, DB 00111000B ; SET R2,0FH +,,, +0010,0F,, DB 00001111B ; ;[10H] +0011,58,, DB 01011000B ; OUT R2,PORT0 ;初始化PC口,高四位输出全0 +0012,34,, DB 00110100B ; SET R1,3FH +0013,3F,, DB 00111111B ; +,,, +0014,01,, DB 00000001B ; HLT ;该断点后就可以按键,按键要保持到下一个断点才能松开! +0015,40,, DB 01000000B ; IN R0,PORT0 ;PC口输入 L1: +0016,00,, DB 00000000B ; NOP ; 相关性 +0017,B2,, DB 10110010B ; XOR R0,R2 ;若无输入,R0是00001111 +,,, ;若有输入,R0低四位是1110/1101/1011/0111 +0018,18,, DB 00011000B ; JZ 15H ;无键按下,跳转 L1: +0019,15,, DB 00010101B ; +001A,6C,, DB 01101100B ; MOV R3,R0 +001B,54,, DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出0011 +,,, +001C,40,, DB 01000000B ; IN R0,PORT0 ;PC口输入 +001D,00,, DB 00000000B ; NOP ; 相关性 +001E,B1,, DB 10110001B ; XOR R0,R1 ;若无输入,R0是00111111 +,,, ;若有输入,R0低四位是1110/1101/1011/0111 +001F,18,, DB 00011000B ; JZ 22H ;0011无键按下,R2保持00001111 +,,, +0020,22,, DB 00100010B ; ;[20H] +0021,69,, DB 01101001B ; MOV R2,R1 ;0011有键按下,R2赋值00111111 +0022,A5,, DB 10100101B ; SHT(RRC) R1 +0023,00,, DB 00000000B ; NOP ; 相关性 +,,, +0024,54,, DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出1001 +0025,40,, DB 01000000B ; IN R0,PORT0 ;PC口输入 +0026,01,, DB 00000001B ; HLT ;按键要保持到此断点后才能松开!否则会出错 +0027,B1,, DB 10110001B ; XOR R0,R1 ;若无输入,R0是10011111 +,,, ;若有输入,R0低四位是1110/1101/1011/0111 +0028,18,, DB 00011000B ; JZ 36H ;1001无键按下,跳转L2: +0029,36,, DB 00110110B ; +002A,C8,, DB 11001000B ; SUBI R2,3FH +002B,3F,, DB 00111111B ; +,,, +002C,18,, DB 00011000B ; JZ 32H +002D,32,, DB 00110010B ; +002E,38,, DB 00111000B ; SET R2,20H ;0011无键按下且1001有键按下 +002F,20,, DB 00100000B ; ; +,,, +0030,10,, DB 00010000B ; JMP 40H ;结束,跳转L3: ;[30H] +0031,40,, DB 01000000B ; +0032,38,, DB 00111000B ; SET R2,40H ;0011有键按下且1001有键按下 +0033,40,, DB 01000000B ; +,,, +0034,10,, DB 00010000B ; JMP 40H ;结束,跳转L3: +0035,40,, DB 01000000B ; +0036,C8,, DB 11001000B ; SUBI R2,3FH ;L2: 1001无键按下 +0037,3F,, DB 00111111B ; +,,, +0038,18,, DB 00011000B ; JZ 3EH +0039,3E,, DB 00111110B ; +003A,38,, DB 00111000B ; SET R2,10H ;0011无键按下且1001无键按下 +003B,10,, DB 00010000B ; +,,, +003C,10,, DB 00010000B ; JMP 40H ;结束,跳转L3: +003D,40,, DB 01000000B ; +003E,38,, DB 00111000B ; SET R2,80H ;0011有键按下且1001无键按下 +003F,80,, DB 10000000B ; +,,, +0040,01,, DB 00000001B ; HLT ;L3: ;[40H] +0041,FB,, DB 11111011B ; OR R2,R3 +0042,3C,, DB 00111100B ; SET R3,82H ;选PB口 +0043,82,, DB 10000010B ; ;A1A0=01 +,,, +0044,5E,, DB 01011110B ; OUTA R3,PORT0 +0045,58,, DB 01011000B ; OUT R2,PORT0 ;PB口输出最终结果 +0046,01,, DB 00000001B ; HLT +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..ff1211244d268ba03eaad91a4cec6b53a85dc7b7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,227 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test_pipe\keyboard_pipe.asm + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 30 DB 00110000B ; SET R0,86H ;选控制端 + 4: 0001 86 DB 10000110B ; ;A1A0=11 + 5: 0002 52 DB 01010010B ; OUTA R0,PORT0 + 6: 0003 30 DB 00110000B ; SET R0,91H + 7: + 8: 0004 91 DB 10010001B ; ;PA输入/PB输出/PC高四位输出低四位输入 + 9: 0005 50 DB 01010000B ; OUT R0,PORT0 + 10: 0006 30 DB 00110000B ; SET R0,82H ;选PB口 + 11: 0007 82 DB 10000010B ; ;A1A0=01 + 12: + 13: 0008 52 DB 01010010B ; OUTA R0,PORT0 + 14: 0009 30 DB 00110000B ; SET R0,FFH + 15: 000A FF DB 11111111B ; + 16: 000B 50 DB 01010000B ; OUT R0,PORT0 ;初始化PB口,LED全灭) + 17: + 18: 000C 30 DB 00110000B ; SET R0,84H ;选PC口 + 19: 000D 84 DB 10000100B ; ;A1A0=10 + 20: 000E 52 DB 01010010B ; OUTA R0,PORT0 + 21: 000F 38 DB 00111000B ; SET R2,0FH + 22: + 23: 0010 0F DB 00001111B ; ;[10H] + 24: 0011 58 DB 01011000B ; OUT R2,PORT0 ;初始化PC口,高四位输出全0 + 25: 0012 34 DB 00110100B ; SET R1,3FH + 26: 0013 3F DB 00111111B ; + 27: + 28: 0014 01 DB 00000001B ; HLT ;该断点后就可以按键,按键要保持到下一个断点才能松开! + 29: 0015 40 DB 01000000B ; IN R0,PORT0 ;PC口输入 L1: + 30: 0016 00 DB 00000000B ; NOP ; 相关性 + 31: 0017 B2 DB 10110010B ; XOR R0,R2 ;若无输入,R0是00001111 + 32: ;若有输入,R0低四位是1110/1101/1011/0111 + 33: 0018 18 DB 00011000B ; JZ 15H ;无键按下,跳转 L1: + 34: 0019 15 DB 00010101B ; + 35: 001A 6C DB 01101100B ; MOV R3,R0 + 36: 001B 54 DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出0011 + 37: + 38: 001C 40 DB 01000000B ; IN R0,PORT0 ;PC口输入 + 39: 001D 00 DB 00000000B ; NOP ; 相关性 + 40: 001E B1 DB 10110001B ; XOR R0,R1 ;若无输入,R0是00111111 + 41: ;若有输入,R0低四位是1110/1101/1011/0111 + 42: 001F 18 DB 00011000B ; JZ 22H ;0011无键按下,R2保持00001111 + 43: + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 44: 0020 22 DB 00100010B ; ;[20H] + 45: 0021 69 DB 01101001B ; MOV R2,R1 ;0011有键按下,R2赋值00111111 + 46: 0022 A5 DB 10100101B ; SHT(RRC) R1 + 47: 0023 00 DB 00000000B ; NOP ; 相关性 + 48: + 49: 0024 54 DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出1001 + 50: 0025 40 DB 01000000B ; IN R0,PORT0 ;PC口输入 + 51: 0026 01 DB 00000001B ; HLT ;按键要保持到此断点后才能松开!否则会出错 + 52: 0027 B1 DB 10110001B ; XOR R0,R1 ;若无输入,R0是10011111 + 53: ;若有输入,R0低四位是1110/1101/1011/0111 + 54: 0028 18 DB 00011000B ; JZ 36H ;1001无键按下,跳转L2: + 55: 0029 36 DB 00110110B ; + 56: 002A C8 DB 11001000B ; SUBI R2,3FH + 57: 002B 3F DB 00111111B ; + 58: + 59: 002C 18 DB 00011000B ; JZ 32H + 60: 002D 32 DB 00110010B ; + 61: 002E 38 DB 00111000B ; SET R2,20H ;0011无键按下且1001有键按下 + 62: 002F 20 DB 00100000B ; ; + 63: + 64: 0030 10 DB 00010000B ; JMP 40H ;结束,跳转L3: ;[30H] + 65: 0031 40 DB 01000000B ; + 66: 0032 38 DB 00111000B ; SET R2,40H ;0011有键按下且1001有键按下 + 67: 0033 40 DB 01000000B ; + 68: + 69: 0034 10 DB 00010000B ; JMP 40H ;结束,跳转L3: + 70: 0035 40 DB 01000000B ; + 71: 0036 C8 DB 11001000B ; SUBI R2,3FH ;L2: 1001无键按下 + 72: 0037 3F DB 00111111B ; + 73: + 74: 0038 18 DB 00011000B ; JZ 3EH + 75: 0039 3E DB 00111110B ; + 76: 003A 38 DB 00111000B ; SET R2,10H ;0011无键按下且1001无键按下 + 77: 003B 10 DB 00010000B ; + 78: + 79: 003C 10 DB 00010000B ; JMP 40H ;结束,跳转L3: + 80: 003D 40 DB 01000000B ; + 81: 003E 38 DB 00111000B ; SET R2,80H ;0011有键按下且1001无键按下 + 82: 003F 80 DB 10000000B ; + 83: + 84: 0040 01 DB 00000001B ; HLT ;L3: ;[40H] + 85: 0041 FB DB 11111011B ; OR R2,R3 + 86: 0042 3C DB 00111100B ; SET R3,82H ;选PB口 + 87: 0043 82 DB 10000010B ; ;A1A0=01 + 88: + 89: 0044 5E DB 01011110B ; OUTA R3,PORT0 + 90: 0045 58 DB 01011000B ; OUT R2,PORT0 ;PB口输出最终结果 + 91: 0046 01 DB 00000001B ; HLT + 92: + 93: END + + + + + + register banks used: --- + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 5 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..db75f208bbc4b55fd55bf4d7cba3e6580c2b8a36 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/指导书实验系列/第四章 微机接口实验【流水线】final/实验4.1 IO端口扩展实验 8255 流水final/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/指导书实验系列/第四章 微机接口实验【流水线】final/实验4.1 IO端口扩展实验 8255 流水final/test_pipe/keyboard_pipe.asm + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test_pipe/keyboard_pipe.asm + $(ASM) "..\..\test_pipe\keyboard_pipe.asm" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..4417867451574725f273eb1d9a3d668b11a8772c Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..07f675f99e801e2f0289c5fc676d7669f84c8a28 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8255.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..adcc3f2173337aa529184ee3d77c45d0fd4e3b89 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.ASM" @@ -0,0 +1,27 @@ +ORG 0000H + + DB 00110000B ;SET R0,86H ;选8255地址[1000xxxx] + DB 10000110B ; ;控制端A1A0=11 + DB 01010010B ;OUTA R0,PORT0 + DB 00110000B ;SET R0,99H ;控制字 + + DB 10011001B ; ;PA输入/PB输出/PC输入 + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,80H ;选PA口 + DB 10000000B ; ;A1A0=00 + + DB 01010010B ;OUTA R0,PORT0 + DB 01000100B ;IN R1,PORT0 ;PA口输入 + DB 00000001B ;HLT + DB 00110000B ;SET R0,82H ;选PB口 + + DB 10000010B ; ;A1A0=01 + DB 01010010B ;OUTA R0,PORT0 + DB 01010100B ;OUT R1,PORT0 ;PB口输出 + DB 10100111B ;LRC R1 + + DB 00000001B ;HLT + DB 00010000B ;JMP 0EH ;循环移位 + DB 00001110B ; + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..6acb228b65ef0b98eb5fa5f1ea75f588f144ba8e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/8255_Cycle_LED_pipe.HEX" @@ -0,0 +1,3 @@ +:10000000308652309950308052440130825254A789 +:0300100001100ECE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ae4b221e75fecb7e0f120b4600a247f3711982dd --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.HEX" @@ -0,0 +1,6 @@ +:1000000030865230915030825230FF503084523816 +:100010000F58343F014000B218156C544000B1181D +:100020002269A500544001B11836C83F1832382063 +:10003000104038401040C83F183E381010403880FB +:0700400001FB3C825E580148 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.asm" new file mode 100644 index 0000000000000000000000000000000000000000..674dc4fcc1f8cf53b490581a3d2a5f53ef8b966d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/test/keyboard_pipe.asm" @@ -0,0 +1,93 @@ +ORG 0000H + + DB 00110000B ; SET R0,86H ;选8255地址[1000xxxx] + DB 10000110B ; ;控制端A1A0=11 + DB 01010010B ; OUTA R0,PORT0 + DB 00110000B ; SET R0,91H + + DB 10010001B ; ;PA输入/PB输出/PC高四位输出低四位输入 + DB 01010000B ; OUT R0,PORT0 + DB 00110000B ; SET R0,82H ;选PB口 + DB 10000010B ; ;A1A0=01 + + DB 01010010B ; OUTA R0,PORT0 + DB 00110000B ; SET R0,FFH + DB 11111111B ; + DB 01010000B ; OUT R0,PORT0 ;初始化PB口,LED全灭) + + DB 00110000B ; SET R0,84H ;选PC口 + DB 10000100B ; ;A1A0=10 + DB 01010010B ; OUTA R0,PORT0 + DB 00111000B ; SET R2,0FH + + DB 00001111B ; ;[10H] + DB 01011000B ; OUT R2,PORT0 ;初始化PC口,高四位输出全0 + DB 00110100B ; SET R1,3FH + DB 00111111B ; + + DB 00000001B ; HLT ;该断点后就可以按键,按键要保持到下一个断点才能松开! + DB 01000000B ; IN R0,PORT0 ;PC口输入 L1: + DB 00000000B ; NOP ; 相关性 + DB 10110010B ; XOR R0,R2 ;若无输入,R0是00001111 + ;若有输入,R0低四位是1110/1101/1011/0111 + DB 00011000B ; JZ 15H ;无键按下,跳转 L1: + DB 00010101B ; + DB 01101100B ; MOV R3,R0 + DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出0011 + + DB 01000000B ; IN R0,PORT0 ;PC口输入 + DB 00000000B ; NOP ; 相关性 + DB 10110001B ; XOR R0,R1 ;若无输入,R0是00111111 + ;若有输入,R0低四位是1110/1101/1011/0111 + DB 00011000B ; JZ 22H ;0011无键按下,R2保持00001111 + + DB 00100010B ; ;[20H] + DB 01101001B ; MOV R2,R1 ;0011有键按下,R2赋值00111111 + DB 10100101B ; SHT(RRC) R1 + DB 00000000B ; NOP ; 相关性 + + DB 01010100B ; OUT R1,PORT0 ;初始化PC口,高四位输出1001 + DB 01000000B ; IN R0,PORT0 ;PC口输入 + DB 00000001B ; HLT ;按键要保持到此断点后才能松开!否则会出错 + DB 10110001B ; XOR R0,R1 ;若无输入,R0是10011111 + ;若有输入,R0低四位是1110/1101/1011/0111 + DB 00011000B ; JZ 36H ;1001无键按下,跳转L2: + DB 00110110B ; + DB 11001000B ; SUBI R2,3FH + DB 00111111B ; + + DB 00011000B ; JZ 32H + DB 00110010B ; + DB 00111000B ; SET R2,20H ;0011无键按下且1001有键按下 + DB 00100000B ; ; + + DB 00010000B ; JMP 40H ;结束,跳转L3: ;[30H] + DB 01000000B ; + DB 00111000B ; SET R2,40H ;0011有键按下且1001有键按下 + DB 01000000B ; + + DB 00010000B ; JMP 40H ;结束,跳转L3: + DB 01000000B ; + DB 11001000B ; SUBI R2,3FH ;L2: 1001无键按下 + DB 00111111B ; + + DB 00011000B ; JZ 3EH + DB 00111110B ; + DB 00111000B ; SET R2,10H ;0011无键按下且1001无键按下 + DB 00010000B ; + + DB 00010000B ; JMP 40H ;结束,跳转L3: + DB 01000000B ; + DB 00111000B ; SET R2,80H ;0011有键按下且1001无键按下 + DB 10000000B ; + + DB 00000001B ; HLT ;L3: ;[40H] + DB 11111011B ; OR R2,R3 + DB 00111100B ; SET R3,82H ;选PB口 + DB 10000010B ; ;A1A0=01 + + DB 01011110B ; OUTA R3,PORT0 + DB 01011000B ; OUT R2,PORT0 ;PB口输出最终结果 + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..5f0672c896fb5f93a6dc05a0d37dc6b574288842 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..9184e3cdf7d380ab4a43e192d674e38e08ab33d6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.1 IO\347\253\257\345\217\243\346\211\251\345\261\225\345\256\236\351\252\214 8255 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8255.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,70 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffffb00000000c000000d1060000fd030000 + + + + + + + + 263 + No + 100 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a97795d3577b9e6ff476b4a60818aedce9983e7e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" @@ -0,0 +1,3 @@ +:1000000034A656341A5434A05634045401540154BE +:05001000015401540140 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..f10c7350f9bb9a43be5442cd7ad6d0d65ddb7f92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,30 @@ +,,,ORG 0000H +0000,34,, DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 +0001,A6,, DB 10100110B ;A1A0=11 +0002,56,, DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 +0003,34,, DB 00110100B ;SET R1,18H ;控制字 +,,, +0004,1A,, DB 00011010B ; 选计数器0/只读写低8位数据/方式5/二进制 +0005,54,, DB 01010100B ;OUT R1,PORT0 ; 输入控制字 +0006,34,, DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 +0007,A0,, DB 10100000B ;A1A0=00 +,,, +0008,56,, DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 +0009,34,, DB 00110100B ;SET R1,04H ;计数初始值N +000A,04,, DB 00000100B +000B,54,, DB 01010100B ;OUT R1,PORT0 ;输入初始值N后,必须等待GATE端有上升沿才启动 +,,, ;GATE端上升沿后第N+1个CLK周期输出1个周期负脉冲 +000C,01,, DB 00000001B ;HLT +000D,54,, DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 +000E,01,, DB 00000001B ;HLT +000F,54,, DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 +,,, +0010,01,, DB 00000001B ;HLT +0011,54,, DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 +0012,01,, DB 00000001B ;HLT +0013,54,, DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 +,,, +0014,01,, DB 00000001B ;HLT +000E,,,END +,,, +,,,;硬件触发选通,一次性计数,GATE端上升沿触发,如果要再次计数需再次写入初始值 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..e2b1f00a7c29dc8259e4277b9ac295a59a2114e2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,152 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\05test.asm + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: 0000 34 DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + 3: 0001 A6 DB 10100110B ;A1A0=11 + 4: 0002 56 DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + 5: 0003 34 DB 00110100B ;SET R1,18H ;控制字 + 6: + 7: 0004 1A DB 00011010B ; 选计数器0/只读写低8位数据/方式5/二进制 + 8: 0005 54 DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + 9: 0006 34 DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + 10: 0007 A0 DB 10100000B ;A1A0=00 + 11: + 12: 0008 56 DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + 13: 0009 34 DB 00110100B ;SET R1,04H ;计数初始值N + 14: 000A 04 DB 00000100B + 15: 000B 54 DB 01010100B ;OUT R1,PORT0 ;输入初始值N后,必须等待GATE端有上升沿才启动 + 16: ;GATE端上升沿后第N+1个CLK周期输出1个周期负脉冲 + 17: 000C 01 DB 00000001B ;HLT + 18: 000D 54 DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + 19: 000E 01 DB 00000001B ;HLT + 20: 000F 54 DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + 21: + 22: 0010 01 DB 00000001B ;HLT + 23: 0011 54 DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + 24: 0012 01 DB 00000001B ;HLT + 25: 0013 54 DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + 26: + 27: 0014 01 DB 00000001B ;HLT + 28: END + 29: + 30: ;硬件触发选通,一次性计数,GATE端上升沿触发,如果要再次计数需再次写入初始值 + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..5f8633d3216616a0d9d86c4675a140fc44aec144 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.2 计数器实验 8253 流水 final/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.2 计数器实验 8253 流水 final/test/05test.asm + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/05test.asm + $(ASM) "..\..\test\05test.asm" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..dba460547ab9399893d01cd7dc473ee21f7c4ebe Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..302b2f8fd820c8ddfb49453970d67ec1ba58a66d Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8253.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..5a8b1c602d090b1492a3f8e104bd59f8b4f98759 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.HEX" @@ -0,0 +1,2 @@ +:1000000034A65634125434105434A05634045401D7 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..1d17bb61c485956a2d5d4fa51fc57dde18dd4c42 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/00test.asm" @@ -0,0 +1,24 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,12H ;控制字(仅用来拉高OUT端输出电平) + + DB 00010010B ; 选计数器0/只读写低8位数据/方式1/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字后,8253A的OUT端拉高 + DB 00110100B ;SET R1,10H ;控制字 + DB 00010000B ; 选计数器0/只读写低8位数据/方式0/二进制 + + DB 01010100B ;OUT R1,PORT0 ;输入控制字后,8253A的OUT端拉低 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + + DB 00110100B ;SET R1,04H ;计数初始值 + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值后,计数减到0时输出变高 + DB 00000001B ;HLT +END + + +;方式0:计数结束产生中断,不可重复计数 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..5aa1ef83c984167e775df590dfa06e3d40eba283 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.HEX" @@ -0,0 +1,2 @@ +:0D00000034A65634125434A0563404540172 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..2c2b34e0720dd22ffe916ce3e682ade0a35b91c2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/01test.asm" @@ -0,0 +1,20 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,12H ;控制字 + + DB 00010010B ; 选计数器0/只读写低8位数据/方式1/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ;SET R1,04H ;计数初始值N + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后不会开始计数 等待GATE端上升沿 + ;每逢GATE端出现上升沿,OUT端就出现N个CLK周期的负脉冲 + DB 00000001B ;HLT +END + +;方式1,可编程单脉冲发生器,硬件可重复 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..734511b156830efd048052a96ab8bb9d3b05053e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.HEX" @@ -0,0 +1,3 @@ +:1000000034A65634145434A05634045401340254E3 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..262ce109af130e5f8ffee07d139981b93b2eee16 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/02test.asm" @@ -0,0 +1,27 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,14H ;控制字 + + DB 00010100B ; 选计数器0/只读写低8位数据/方式2/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ;SET R1,04H ;计数初始值N + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后开始以N+1个CLK周期为一个循环 + ;每隔N个CLK周期的高电平就输出1个CLK周期的负脉冲 + DB 00000001B ;HLT + DB 00110100B ;SET R1,02H ;计数初始值N(新) + DB 00000010B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后,待当前循环(旧的N+1个周期)结束 + ;开始以新的N+1个CLK周期为一个循环 + DB 00000001B ;HLT +END + + + +;方式2:分频器,输出相隔N个CLK周期的脉冲,自动重复计数,GATE端拉低可暂停循环计数 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..60e0132c50a027aa41ecaa29007f24d5f077560c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.HEX" @@ -0,0 +1,3 @@ +:1000000034A65634165434A05634045401340554DE +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..1ebf84b1f90986f26de63ad4abf11d5290b1a406 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/03test.asm" @@ -0,0 +1,26 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,16H ;控制字 + + DB 00010110B ; 选计数器0/只读写低8位数据/方式3/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ;SET R1,04H ;计数初始值N + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后开始以N个CLK周期做循环方波 + + DB 00000001B ;HLT + DB 00110100B ;SET R1,05H ;计数初始值N(新) + DB 00000101B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后,待当前方波(旧的N个周期)结束 + ;开始以新的N个CLK周期做循环近似方波 + DB 00000001B ;HLT +END + + +;方式3:方波发生器,输出(近似)方波信号,自动重复计数,GATE端拉低可暂停循环计数 \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..8feb478442d10b28b253d7688a376047aacdda21 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.HEX" @@ -0,0 +1,3 @@ +:1000000034A65634185434A05634045401540154C0 +:05001000015401540140 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..28ab3f0d3b86289f6ff2552f2cdc395ae5386a8c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/04test.asm" @@ -0,0 +1,31 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,18H ;控制字 + + DB 00011000B ; 选计数器0/只读写低8位数据/方式4/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ;SET R1,04H, ;计数初始值N + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后的第N+1个CLK周期输出1个周期负脉冲 + + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后重复触发相同的脉冲 + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后重复触发相同的脉冲 + + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后重复触发相同的脉冲 + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后重复触发相同的脉冲 + + DB 00000001B ;HLT +END + +;软件触发选通,一次性计数,如果要再次计数需再次写入初始值 + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a97795d3577b9e6ff476b4a60818aedce9983e7e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.HEX" @@ -0,0 +1,3 @@ +:1000000034A656341A5434A05634045401540154BE +:05001000015401540140 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.asm" new file mode 100644 index 0000000000000000000000000000000000000000..b28a3c010198cefbf75d5941c84801649be45681 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/05test.asm" @@ -0,0 +1,30 @@ +ORG 0000H + DB 00110100B ;SET R1,A6H ;把8253控制寄存器地址[1010xxxx]打入R1 + DB 10100110B ;A1A0=11 + DB 01010110B ;OUTA R1,PORT0 ;选择8253的控制寄存器 + DB 00110100B ;SET R1,18H ;控制字 + + DB 00011010B ; 选计数器0/只读写低8位数据/方式5/二进制 + DB 01010100B ;OUT R1,PORT0 ; 输入控制字 + DB 00110100B ;SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ;A1A0=00 + + DB 01010110B ;OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ;SET R1,04H ;计数初始值N + DB 00000100B + DB 01010100B ;OUT R1,PORT0 ;输入初始值N后,必须等待GATE端有上升沿才启动 + ;GATE端上升沿后第N+1个CLK周期输出1个周期负脉冲 + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + DB 00000001B ;HLT + DB 01010100B ;OUT R1,PORT0 ;再次输入初始值后等待GATE端有上升沿才启动 + + DB 00000001B ;HLT +END + +;硬件触发选通,一次性计数,GATE端上升沿触发,如果要再次计数需再次写入初始值 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/SUB_PROG.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/SUB_PROG.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..4abe4a94d4dbd2a0c448c03ae117aedcfdb4ae9e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/test/SUB_PROG.ASM" @@ -0,0 +1,58 @@ +ORG 0000H + + DB 00010000B ;JMP 16H ;[00H] + DB 00010110B ; + DB 01010101B ; 55H + DB 10101010B ; AAH + + DB 11111111B ; FFH + DB 10000000B ; 80H + DB 00000000B ; 00H + DB 00001111B ; 0FH + + DB 01010000B ;OUT R0,PORT0 ;sub_p: + DB 00100011B ;THR R0 + DB 00011000B ;JZ 10H + DB 00010000B ; + + DB 00011100B ;JS 13H + DB 00010011B ; + DB 00010000B ;JMP 14H + DB 00010100B ; + + DB 00101000B ;INC R2 ;[10H] + DB 00010000B ;JMP 14H + DB 00010100B ; + DB 00101100B ;INC R3 + + DB 00010000B ;JMP 21H ;ret + DB 00100001B ; + DB 00111100B ;SET R3,0 ;main: + DB 00000000B + + DB 00111000B ;SET R2,0 + DB 00000000B + DB 00110100B ;SET R1,06H + DB 00000110B + + DB 00000001B ;HLT + DB 00100100B ;INC R1 ;loop: + DB 10000001B ;POP R0,[R1] + DB 00010000B ;JMP 08H ;call sub_p + + DB 00001000B ; ;[20H] + DB 11000100B ;SUBI R1,02H + DB 00000010B ; + DB 00011000B ;JZ 27H + + DB 00100111B ; + DB 00010000B ;JMP 1DH ;goto loop + DB 00011101B ; + DB 00110100B ;SET R1,06H + + DB 00000110B + DB 11000110B ;SUB R1,R2 + DB 11000111B ;SUB R1,R3 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..919d80fed4db73ef2d42edebb80ce19c3d99851e Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..99705b71d34eff5d1cc3d0e5a7be5dca9d898afe --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.2 \350\256\241\346\225\260\345\231\250\345\256\236\351\252\214 8253 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8253.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,79 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffff3d010000000000002d050000c6020000 + + + + + + + + + + + + + + 281 + No + 100 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..f1f847f12c6de286430d31fac12f729173ca0de2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.HEX" @@ -0,0 +1,5 @@ +:1000000010080000000000003C013802300634A651 +:100010005634165434A0563408540134F85634F289 +:1000200056344D5434155434F05686285434F25610 +:0C0030004400E718302100183B102401A8 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..8d551390ec7806d55876e18f513d3799b5a5a963 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,81 @@ +,,,ORG 0000H +,,, +0000,10,, DB 00010000B ; JMP 08H +0001,08,, DB 00001000B ; +0002,00,, DB 00000000B ; NOP +0003,00,, DB 00000000B ; NOP +,,, +0004,00,, DB 00000000B ; NOP +0005,00,, DB 00000000B ; NOP +0006,00,, DB 00000000B ; NOP +0007,00,, DB 00000000B ; NOP +,,, +0008,3C,, DB 00111100B ; SET R3,01H ;R3用来检测8253状态字 +0009,01,, DB 00000001B ; +000A,38,, DB 00111000B ; SET R2,02H ;R2用以记录发送字符地址 +000B,02,, DB 00000010B ; 发送字符地址初始化 [02H] +,,, +000C,30,, DB 00110000B ; SET R0,06H ;R0 用作待发送字符的计数器 +000D,06,, DB 00000110B ; 总共6个数据 +,,,; 8253计数器设置 +000E,34,, DB 00110100B ; SET R1,A6H ; R1 用于外设端口读写 +000F,A6,, DB 10100110B ; 8253地址[1010xxxxH] 控制口A1A0=11 +,,, +0010,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8253的控制寄存器 地址[10H] +0011,34,, DB 00110100B ; SET R1,16H ;控制字 +0012,16,, DB 00010110B ; 选计数器0/只读写低8位数据/方式3(方波)/二进制 +0013,54,, DB 01010100B ; OUT R1,PORT0 ;输入8253控制字后OUT端应该拉高 +,,, +0014,34,, DB 00110100B ; SET R1,A0H ;把0通道计数寄存器地址打入R1 +0015,A0,, DB 10100000B ; 8253地址[1010xxxxH] 控制口A1A0=00 +0016,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8253的0通道计数寄存器 +0017,34,, DB 00110100B ; SET R1,08H ;计数初始值N=8 +,,, +0018,08,, DB 00001000B ; CLK=19.2kHZ,计数时长19200/8=2400Hz,所以输出频率2400HZ方波 +0019,54,, DB 01010100B ; OUT R1,PORT0 ;输入初始值N后开始以N个CLK周期做循环方波 +,,,; 8251串口设置 +001A,01,, DB 00000001B ; HLT ;8253芯片配置结束,观测示波器界面的波形 +001B,34,, DB 00110100B ; SET R1,F8H ;8251芯片 复位 +,,, +001C,F8,, DB 11111000B ; 8251地址[1111xxxxH] RESET=1 +001D,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8251的端口 +001E,34,, DB 00110100B ; SET R1,F2H ;8251 +001F,F2,, DB 11110010B ; 8251地址[1111xxxxH] 控制字 +,,, +0020,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 地址[20H] +0021,34,, DB 00110100B ; SET R1,4DH ;方式控制字 +0022,4D,, DB 01001101B ; 1个停止位/无校验/数据8位/异步x1 +0023,54,, DB 01010100B ; OUT R1,PORT0 ;输入8251 方式控制字 +,,, +,,,; 若循环发送下一个字符,则跳转到此处 +0024,34,, DB 00110100B ; SET R1,15H ;操作控制字 +0025,15,, DB 00010101B ; 清出错标志/接收允许/发送允许 +0026,54,, DB 01010100B ; OUT R1,PORT0 ;输入8251 操作控制字 +0027,34,, DB 00110100B ; SET R1,F0H ;8251 +,,, +0028,F0,, DB 11110000B ; 8251地址[1111xxxxH] 数据 +0029,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8251 数据状态工作 +002A,86,, DB 10000110B ; POP R1,[R2] +002B,28,, DB 00101000B ; INC R2 +,,, +002C,54,, DB 01010100B ; OUT R1,PORT0 ;输入8251 数据 +002D,34,, DB 00110100B ; SET R1,F2H ;8251 +002E,F2,, DB 11110010B ; 8251地址[1111xxxxH] 控制字 +002F,56,, DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 +,,, +0030,44,, DB 01000100B ; IN R1,PORT0 ;读取8251状态字 地址[30H] +0031,00,, DB 00000000B ; NOP ;相关性 +0032,E7,, DB 11100111B ; AND R1,R3 ;检测状态字最后一位,若为1则发送成功,为0则失败 +0033,18,, DB 00011000B ; JZ 30H ;发生尚未成功,继续循环读取8251状态字检测 +,,, +0034,30,, DB 00110000B ; +0035,21,, DB 00100001B ; DEC R0 ;待发送字符计数器递减(-1) +0036,00,, DB 00000000B ; NOP ;此处可以做断点HLT,单个字符发送完成就暂停观察串口显示 +0037,18,, DB 00011000B ; JZ 3BH ;待发送字符计数器为0,结束发送 +,,, +0038,3B,, DB 00111011B ; +0039,10,, DB 00010000B ; JMP 24H ;状态字检测发送成功,继续发送下一个字符 +003A,24,, DB 00100100B ; +003B,01,, DB 00000001B ; HLT ;程序结束 +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..9cf2e313da3d5cb0fefacf11bf1276fa474adc64 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,210 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\UART_TX_pipe.ASM + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 10 DB 00010000B ; JMP 08H + 4: 0001 08 DB 00001000B ; + 5: 0002 00 DB 00000000B ; NOP + 6: 0003 00 DB 00000000B ; NOP + 7: + 8: 0004 00 DB 00000000B ; NOP + 9: 0005 00 DB 00000000B ; NOP + 10: 0006 00 DB 00000000B ; NOP + 11: 0007 00 DB 00000000B ; NOP + 12: + 13: 0008 3C DB 00111100B ; SET R3,01H ;R3用来检测8253状态字 + 14: 0009 01 DB 00000001B ; + 15: 000A 38 DB 00111000B ; SET R2,02H ;R2用以记录发送字符地址 + 16: 000B 02 DB 00000010B ; 发送字符地址初始化 [02H] + 17: + 18: 000C 30 DB 00110000B ; SET R0,06H ;R0 用作待发送字符的计数器 + 19: 000D 06 DB 00000110B ; 总共6个数据 + 20: ; 8253计数器设置 + 21: 000E 34 DB 00110100B ; SET R1,A6H ; R1 用于外设端口读写 + 22: 000F A6 DB 10100110B ; 8253地址[1010xxxxH] 控制口A1A0=11 + 23: + 24: 0010 56 DB 01010110B ; OUTA R1,PORT0 ;选择8253的控制寄存器 地址[10H] + 25: 0011 34 DB 00110100B ; SET R1,16H ;控制字 + 26: 0012 16 DB 00010110B ; 选计数器0/只读写低8位数据/方式3(方波)/二进制 + 27: 0013 54 DB 01010100B ; OUT R1,PORT0 ;输入8253控制字后OUT端应该拉高 + 28: + 29: 0014 34 DB 00110100B ; SET R1,A0H ;把0通道计数寄存器地址打入R1 + 30: 0015 A0 DB 10100000B ; 8253地址[1010xxxxH] 控制口A1A0=00 + 31: 0016 56 DB 01010110B ; OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + 32: 0017 34 DB 00110100B ; SET R1,08H ;计数初始值N=8 + 33: + 34: 0018 08 DB 00001000B ; CLK=19.2kHZ,计数时长19200/8=2400Hz,所以输出频率2400HZ方波 + 35: 0019 54 DB 01010100B ; OUT R1,PORT0 ;输入初始值N后开始以N个CLK周期做循环方波 + 36: ; 8251串口设置 + 37: 001A 01 DB 00000001B ; HLT ;8253芯片配置结束,观测示波器界面的波形 + 38: 001B 34 DB 00110100B ; SET R1,F8H ;8251芯片 复位 + 39: + 40: 001C F8 DB 11111000B ; 8251地址[1111xxxxH] RESET=1 + 41: 001D 56 DB 01010110B ; OUTA R1,PORT0 ;选择8251的端口 + 42: 001E 34 DB 00110100B ; SET R1,F2H ;8251 + 43: 001F F2 DB 11110010B ; 8251地址[1111xxxxH] 控制字 + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 44: + 45: 0020 56 DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 地址[20H] + 46: 0021 34 DB 00110100B ; SET R1,4DH ;方式控制字 + 47: 0022 4D DB 01001101B ; 1个停止位/无校验/数据8位/异步x1 + 48: 0023 54 DB 01010100B ; OUT R1,PORT0 ;输入8251 方式控制字 + 49: + 50: ; 若循环发送下一个字符,则跳转到此处 + 51: 0024 34 DB 00110100B ; SET R1,15H ;操作控制字 + 52: 0025 15 DB 00010101B ; 清出错标志/接收允许/发送允许 + 53: 0026 54 DB 01010100B ; OUT R1,PORT0 ;输入8251 操作控制字 + 54: 0027 34 DB 00110100B ; SET R1,F0H ;8251 + 55: + 56: 0028 F0 DB 11110000B ; 8251地址[1111xxxxH] 数据 + 57: 0029 56 DB 01010110B ; OUTA R1,PORT0 ;选择8251 数据状态工作 + 58: 002A 86 DB 10000110B ; POP R1,[R2] + 59: 002B 28 DB 00101000B ; INC R2 + 60: + 61: 002C 54 DB 01010100B ; OUT R1,PORT0 ;输入8251 数据 + 62: 002D 34 DB 00110100B ; SET R1,F2H ;8251 + 63: 002E F2 DB 11110010B ; 8251地址[1111xxxxH] 控制字 + 64: 002F 56 DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 + 65: + 66: 0030 44 DB 01000100B ; IN R1,PORT0 ;读取8251状态字 地址[30H] + 67: 0031 00 DB 00000000B ; NOP ;相关性 + 68: 0032 E7 DB 11100111B ; AND R1,R3 ;检测状态字最后一位,若为1则发送成功,为0则失败 + 69: 0033 18 DB 00011000B ; JZ 30H ;发生尚未成功,继续循环读取8251状态字检测 + 70: + 71: 0034 30 DB 00110000B ; + 72: 0035 21 DB 00100001B ; DEC R0 ;待发送字符计数器递减(-1) + 73: 0036 00 DB 00000000B ; NOP ;此处可以做断点HLT,单个字符发送完成就暂停观察串口显示 + 74: 0037 18 DB 00011000B ; JZ 3BH ;待发送字符计数器为0,结束发送 + 75: + 76: 0038 3B DB 00111011B ; + 77: 0039 10 DB 00010000B ; JMP 24H ;状态字检测发送成功,继续发送下一个字符 + 78: 003A 24 DB 00100100B ; + 79: 003B 01 DB 00000001B ; HLT ;程序结束 + 80: + 81: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..2b4f29d3107a3459f63995682aae1e01cd9549f7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.3 串口通信实验 8251流水 final/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.3 串口通信实验 8251流水 final/test/UART_TX_pipe.ASM + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/UART_TX_pipe.ASM + $(ASM) "..\..\test\UART_TX_pipe.ASM" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..83588c70f61bd6e5b257f7e48920c269ad946d31 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..e28703e29eeca8fbea45632992a47f4bacf57dff Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8251.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..e8b44bf334d4834cc0501803ac1731e3cc0ee422 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00000000B ; NOP + DB 00000000B ; NOP + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + +END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4a4c0e55ec490046785fb2fd07a941dc9f534055 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/DATA.HEX" @@ -0,0 +1,2 @@ +:08000000000048454C4C4F2163 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7f9142bcd4acd897663fbc263481507d872c4a15 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.ASM" @@ -0,0 +1,81 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 00000000B ; NOP + DB 00000000B ; NOP + + DB 00000000B ; NOP + DB 00000000B ; NOP + DB 00000000B ; NOP + DB 00000000B ; NOP + + DB 00111100B ; SET R3,01H ;R3用来检测8253状态字 + DB 00000001B ; + DB 00111000B ; SET R2,02H ;R2用以记录发送字符地址 + DB 00000010B ; 发送字符地址初始化 [02H] + + DB 00110000B ; SET R0,06H ;R0 用作待发送字符的计数器 + DB 00000110B ; 总共6个数据 +; 8253计数器设置 + DB 00110100B ; SET R1,A6H ; R1 用于外设端口读写 + DB 10100110B ; 8253地址[1010xxxxH] 控制口A1A0=11 + + DB 01010110B ; OUTA R1,PORT0 ;选择8253的控制寄存器 地址[10H] + DB 00110100B ; SET R1,16H ;控制字 + DB 00010110B ; 选计数器0/只读写低8位数据/方式3(方波)/二进制 + DB 01010100B ; OUT R1,PORT0 ;输入8253控制字后OUT端应该拉高 + + DB 00110100B ; SET R1,A0H ;把0通道计数寄存器地址打入R1 + DB 10100000B ; 8253地址[1010xxxxH] 控制口A1A0=00 + DB 01010110B ; OUTA R1,PORT0 ;选择8253的0通道计数寄存器 + DB 00110100B ; SET R1,08H ;计数初始值N=8 + + DB 00001000B ; CLK=19.2kHZ,计数时长19200/8=2400Hz,所以输出频率2400HZ方波 + DB 01010100B ; OUT R1,PORT0 ;输入初始值N后开始以N个CLK周期做循环方波 +; 8251串口设置 + DB 00000001B ; HLT ;8253芯片配置结束,观测示波器界面的波形 + DB 00110100B ; SET R1,F8H ;8251芯片 复位 + + DB 11111000B ; 8251地址[1111xxxxH] RESET=1 + DB 01010110B ; OUTA R1,PORT0 ;选择8251的端口 + DB 00110100B ; SET R1,F2H ;8251 + DB 11110010B ; 8251地址[1111xxxxH] 控制字 + + DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 地址[20H] + DB 00110100B ; SET R1,4DH ;方式控制字 + DB 01001101B ; 1个停止位/无校验/数据8位/异步x1 + DB 01010100B ; OUT R1,PORT0 ;输入8251 方式控制字 + +; 若循环发送下一个字符,则跳转到此处 + DB 00110100B ; SET R1,15H ;操作控制字 + DB 00010101B ; 清出错标志/接收允许/发送允许 + DB 01010100B ; OUT R1,PORT0 ;输入8251 操作控制字 + DB 00110100B ; SET R1,F0H ;8251 + + DB 11110000B ; 8251地址[1111xxxxH] 数据 + DB 01010110B ; OUTA R1,PORT0 ;选择8251 数据状态工作 + DB 10000110B ; POP R1,[R2] + DB 00101000B ; INC R2 + + DB 01010100B ; OUT R1,PORT0 ;输入8251 数据 + DB 00110100B ; SET R1,F2H ;8251 + DB 11110010B ; 8251地址[1111xxxxH] 控制字 + DB 01010110B ; OUTA R1,PORT0 ;选择8251 控制字状态工作 + + DB 01000100B ; IN R1,PORT0 ;读取8251状态字 地址[30H] + DB 00000000B ; NOP ;相关性 + DB 11100111B ; AND R1,R3 ;检测状态字最后一位,若为1则发送成功,为0则失败 + DB 00011000B ; JZ 30H ;发生尚未成功,继续循环读取8251状态字检测 + + DB 00110000B ; + DB 00100001B ; DEC R0 ;待发送字符计数器递减(-1) + DB 00000000B ; NOP ;此处可以做断点HLT,单个字符发送完成就暂停观察串口显示 + DB 00011000B ; JZ 3BH ;待发送字符计数器为0,结束发送 + + DB 00111011B ; + DB 00010000B ; JMP 24H ;状态字检测发送成功,继续发送下一个字符 + DB 00100100B ; + DB 00000001B ; HLT ;程序结束 + +END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..f1f847f12c6de286430d31fac12f729173ca0de2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/test/UART_TX_pipe.HEX" @@ -0,0 +1,5 @@ +:1000000010080000000000003C013802300634A651 +:100010005634165434A0563408540134F85634F289 +:1000200056344D5434155434F05686285434F25610 +:0C0030004400E718302100183B102401A8 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..6961d109aa2f82286de8c209206d9796c1b8f9a2 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..5bac3e92f043b67cb0fdb079ab9c2a3487877e7c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.3 \344\270\262\345\217\243\351\200\232\344\277\241\345\256\236\351\252\214 8251\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8251.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,86 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffff3d010000000000002d050000c6020000 + + + + + + + + + + + + + + 1670 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + + + + 0 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..371dfcc9bc640582845ce2e5c05cabda5e9751d4 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,19 @@ +,,,ORG 0000H +,,, +0000,30,, DB 00110000B ;SET R0,0E2H ; 设置ADC0809地址(通道A) +0001,E2,, DB 11100010B +0002,34,, DB 00110100B ;SET R1, 80H //设置373的地址 +0003,80,, DB 10000000B +,,, +0004,01,, DB 00000001B ;HLT +0005,52,, DB 01010010B ;OUTA R0,PORT0 ;选择 0809 通道A +0006,50,, DB 01010000B ;OUT R0,PORT0 ;触发0809写信号 +0007,48,, DB 01001000B ;IN R2,PORT0 ;保存ADC采样的结果 +,,,;注意:流水线CPU单周期单指令,AD-CLK至少是CPU的CLK的160倍,才能保证指令间ADC及时转换,否则要填充NOP� +,,, +0008,56,, DB 01010110B ;OUTA R1,PORT0 ;选择 373锁存器 +0009,58,, DB 01011000B ;OUT R2,PORT0 ;ADC采样的结果到373显示 +000A,10,, DB 00010000B ;JMP 04H +000B,04,, DB 00000100B ; +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..500d4c5f0802a72cf087993704bda4ae6b9166cc --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,142 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\text_0809.ASM + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 30 DB 00110000B ;SET R0,0E2H ; 设置ADC0809地址(通道A) + 4: 0001 E2 DB 11100010B + 5: 0002 34 DB 00110100B ;SET R1, 80H //设置373的地址 + 6: 0003 80 DB 10000000B + 7: + 8: 0004 01 DB 00000001B ;HLT + 9: 0005 52 DB 01010010B ;OUTA R0,PORT0 ;选择 0809 通道A + 10: 0006 50 DB 01010000B ;OUT R0,PORT0 ;触发0809写信号 + 11: 0007 48 DB 01001000B ;IN R2,PORT0 ;保存ADC采样的结果 + 12: ;注意:流水线CPU单周期单指令,AD-CLK至少是CPU的CLK的160倍,才能保证指令间ADC及时转换,否则要填充NOP� + � + 13: + 14: 0008 56 DB 01010110B ;OUTA R1,PORT0 ;选择 373锁存器 + 15: 0009 58 DB 01011000B ;OUT R2,PORT0 ;ADC采样的结果到373显示 + 16: 000A 10 DB 00010000B ;JMP 04H + 17: 000B 04 DB 00000100B ; + 18: + 19: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..bdd14990669bc1a14bcdf3f8512dc882c3dbb98a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.4 模数转换实验 ADC0809 流水/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.4 模数转换实验 ADC0809 流水/test/text_0809.ASM + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/text_0809.ASM + $(ASM) "..\..\test\text_0809.ASM" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..6881b16c927f9a3412ddc3c1f4c6b90a977b526b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..868bde0091c6ebeff80f3b12e99637698367cebe Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..884876575ce64ee979769c4cf9269d3647576e77 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.ASM" @@ -0,0 +1,19 @@ +ORG 0000H + + DB 00110000B ;SET R0,E2H ; 设置ADC0809(地址[1110xxxx])的通道A + DB 11100010B + DB 00110100B ;SET R1,80H ; 设置373锁存器,地址[1000xxxx] + DB 10000000B + + DB 00000001B ;HLT + DB 01010010B ;OUTA R0,PORT0 ;选择 0809 通道A + DB 01010000B ;OUT R0,PORT0 ;输出R0只是为了触发0809写信号 + DB 01001000B ;IN R2,PORT0 ;保存ADC转换的结果 + ;注意:ADC0809时钟ADCLK至少是CPU时钟CLK的20倍,才能保证此处OUT和IN指令间ADC转换完成,否则要填充NOP。 + + DB 01010110B ;OUTA R1,PORT0 ;选择 373锁存器 + DB 01011000B ;OUT R2,PORT0 ;ADC转换结果锁存373显示 + DB 00010000B ;JMP 04H + DB 00000100B ; + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7cde90ee90b4c37101fe9dac23d1657e23d9a994 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/test/text_0809.HEX" @@ -0,0 +1,2 @@ +:0C00000030E23480015250485658100481 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..c6f4b686ec46836c195e25be92b013b4c677647f Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..2c319c55f9ed1fe5dd45477921daa7da1fdbc8a8 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.4 \346\250\241\346\225\260\350\275\254\346\215\242\345\256\236\351\252\214 ADC0809 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+ADC0809.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,74 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffffb00000000c000000d1060000fd030000 + + + + + + + + + + + + + + 160 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..d071e1acf2f50c9d6047df2620f2a5920fa014e7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,18 @@ +,,,ORG 0000H +,,, +0000,30,, DB 00110000B ;SET R0,0B0H ;将DCA0832的端口号写到R0 +0001,B0,, DB 10110000B +0002,52,, DB 01010010B ;OUTA R0,PORT0 ; 选择DCA0832 +0003,34,, DB 00110100B ;SET R1,00H ;R1是初始值00H +,,, +0004,00,, DB 00000000B +0005,54,, DB 01010100B ;OUT R1,PORT0 ;输出R1 +0006,24,, DB 00100100B ;INC R1 ;递增R1(+1) +0007,14,, DB 00010100B ;JC 0A0H ;溢出,跳到程序结束处; +,,, +0008,0B,, DB 00001011B +0009,10,, DB 00010000B ;JMP 05H ;跳到[05H],循环输出R1 +000A,05,, DB 00000101B +000B,01,, DB 00000001B ;HLT +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..14e4423b8907c70bd3a7a5129b4d91bf37cde684 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,140 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\test_DAC0832.ASM + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 30 DB 00110000B ;SET R0,0B0H ;将DCA0832的端口号写到R0 + 4: 0001 B0 DB 10110000B + 5: 0002 52 DB 01010010B ;OUTA R0,PORT0 ; 选择DCA0832 + 6: 0003 34 DB 00110100B ;SET R1,00H ;R1是初始值00H + 7: + 8: 0004 00 DB 00000000B + 9: 0005 54 DB 01010100B ;OUT R1,PORT0 ;输出R1 + 10: 0006 24 DB 00100100B ;INC R1 ;递增R1(+1) + 11: 0007 14 DB 00010100B ;JC 0A0H ;溢出,跳到程序结束处; + 12: + 13: 0008 0B DB 00001011B + 14: 0009 10 DB 00010000B ;JMP 05H ;跳到[05H],循环输出R1 + 15: 000A 05 DB 00000101B + 16: 000B 01 DB 00000001B ;HLT + 17: + 18: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..7e4be8626257b68d320b78ba4e5b371e8758bb7b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.5 数模转换实验 DAC0832 流水/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.5 数模转换实验 DAC0832 流水/test/test_DAC0832.ASM + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/test_DAC0832.ASM + $(ASM) "..\..\test\test_DAC0832.ASM" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..4a9c6665358f412046eff63e85b6d634dd5d532c Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..b461e1624c25aa852f025dfc3e0a82689cc34de2 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ffcdf51eee856bf9d7b290d9f44ac33d1cde405a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.ASM" @@ -0,0 +1,18 @@ +ORG 0000H + + DB 00110000B ;SET R0,B0H ;把DCA0832 地址[1011xxxx]写入R0 + DB 10110000B + DB 01010010B ;OUTA R0,PORT0 ; 选择DCA0832 + DB 00110100B ;SET R1,0 ;R1初始值是0 + + DB 00000000B + DB 01010100B ;OUT R1,PORT0 ;输出R1 + DB 00100100B ;INC R1 ;R1递增“+1” + DB 00010100B ;JC 0BH ;若溢出,则跳到程序结束处; + + DB 00001011B + DB 00010000B ;JMP 05H ;跳到[05H],循环输出R1 + DB 00000101B + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..89998b7e01605764b1e17cc6ab0d05c2fe8bc1c6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/test/test_DAC0832.HEX" @@ -0,0 +1,2 @@ +:0C00000030B05234005424140B100501E1 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..6da6ac1b471700addce954bec0d7388f288edb9d Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..e77c9c8693a5da1507781f8d98624fcc54150531 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.5 \346\225\260\346\250\241\350\275\254\346\215\242\345\256\236\351\252\214 DAC0832 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+DAC0832.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,76 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffffb00000000c000000d1060000fd030000 + + + + + + + + + + + + + + 281 + No + 100 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..bcd9a6c27fae6e18b8fced8e1aed0dc213b1ad38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,58 @@ +,,,ORG 0000H +,,, +,,,; 配置LCD1602 +0000,3C,, DB 00111100B ; SET R3,90H ;LCD地址,写命令模式 +0001,90,, DB 10010000B ; +0002,5E,, DB 01011110B ; OUTA R3 PORT0 ; 选择LCD,写命令模式 +0003,38,, DB 00111000B ; SET R2,38H ;R2存放命令6,8位数据格式,双行显示 +,,, +0004,38,, DB 00111000B ; +0005,58,, DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 +0006,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 +0007,38,, DB 00111000B ; SET R2,0CH ;R2存放命令4,开显示开关 无光标 不闪烁 +,,, +0008,0C,, DB 00001100B ; +0009,58,, DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 +000A,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 +000B,38,, DB 00111000B ; SET R2,01H ;R2存放命令1,清屏 +,,, +000C,01,, DB 00000001B ; +000D,58,, DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 +000E,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 +000F,38,, DB 00111000B ; SET R2,06H ;R2存放命令3,I/D=1 光标在新数据右边 +,,, +0010,06,, DB 00000110B ; [10H] +0011,58,, DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 +0012,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 +0013,38,, DB 00111000B ; SET R2,80H ;R2存放命令8,置DDRAM地址(第一行首地址) +,,, +0014,80,, DB 10000000B ; +0015,58,, DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 +0016,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 +0017,3C,, DB 00111100B ; SET R3,92H ;LCD地址,写数据模式 +,,, +0018,92,, DB 10010010B ; +0019,5E,, DB 01011110B ; OUTA R3 PORT0 ; 选择LCD,写数据模式 +001A,38,, DB 00111000B ; SET R2, 02H ;R2用以记录发送字符地址 +001B,02,, DB 00000010B ; 发送字符地址初始化 [02H] +,,, +001C,30,, DB 00110000B ; SET R0, 06H ;R0 用作待发送字符的计数器 +001D,06,, DB 00000110B ; 总共6个数据 +,,,; 循环发送数据 +001E,86,, DB 10000110B ; POP R1,[R2] +001F,00,, DB 00000000B ; NOP +,,, +0020,54,, DB 01010100B ; OUT R1 PORT0 ;输入LCD1602 数据 [20H] +0021,00,, DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后� +0022,28,, DB 00101000B ; INC R2 +0023,21,, DB 00100001B ; DEC R0 ;待发送字符计数器递减(-1) +,,, +0024,00,, DB 00000000B ; NOP ;断点HLT备用,单步观察LCD显示 +0025,18,, DB 00011000B ; JZ 29H ;待发送字符计数器为0,结束发送 +0026,29,, DB 00101001B ; +0027,10,, DB 00010000B ; JMP 1EH ;LCD显示成功,继续发送下一个字符 +,,, +0028,1E,, DB 00011110B ; +0029,01,, DB 00000001B ; HLT ;程序结束 +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..46df081624f4b54f2bccf3e102d2c856867971f2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,193 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\test_LCD1602_pipe.asm + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: ; 配置LCD1602 + 4: 0000 3C DB 00111100B ; SET R3,90H ;LCD地址,写命令模式 + 5: 0001 90 DB 10010000B ; + 6: 0002 5E DB 01011110B ; OUTA R3 PORT0 ; 选择LCD,写命令模式 + 7: 0003 38 DB 00111000B ; SET R2,38H ;R2存放命令6,8位数据格式,双行显示 + 8: + 9: 0004 38 DB 00111000B ; + 10: 0005 58 DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 + 11: 0006 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 + 一个NOP隔离 + 12: 0007 38 DB 00111000B ; SET R2,0CH ;R2存放命令4,开显示开关 无光标 不闪烁 + 13: + 14: 0008 0C DB 00001100B ; + 15: 0009 58 DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 + 16: 000A 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 + 一个NOP隔离 + 17: 000B 38 DB 00111000B ; SET R2,01H ;R2存放命令1,清屏 + 18: + 19: 000C 01 DB 00000001B ; + 20: 000D 58 DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 + 21: 000E 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 + 一个NOP隔离 + 22: 000F 38 DB 00111000B ; SET R2,06H ;R2存放命令3,I/D=1 光标在新数据右边 + 23: + 24: 0010 06 DB 00000110B ; [10H] + 25: 0011 58 DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 + 26: 0012 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 + 一个NOP隔离 + 27: 0013 38 DB 00111000B ; SET R2,80H ;R2存放命令8,置DDRAM地址(第一行首地址) + 28: + 29: 0014 80 DB 10000000B ; + 30: 0015 58 DB 01011000B ; OUT R2 PORT0 ; 使能E 写入命令 + 31: 0016 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有 + 一个NOP隔离 + 32: 0017 3C DB 00111100B ; SET R3,92H ;LCD地址,写数据模式 + 33: + 34: 0018 92 DB 10010010B ; + 35: 0019 5E DB 01011110B ; OUTA R3 PORT0 ; 选择LCD,写数据模式 + 36: 001A 38 DB 00111000B ; SET R2, 02H ;R2用以记录发送字符地址 + 37: 001B 02 DB 00000010B ; 发送字符地址初始化 [02H] + 38: + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 39: 001C 30 DB 00110000B ; SET R0, 06H ;R0 用作待发送字符的计数器 + 40: 001D 06 DB 00000110B ; 总共6个数据 + 41: ; 循环发送数据 + 42: 001E 86 DB 10000110B ; POP R1,[R2] + 43: 001F 00 DB 00000000B ; NOP + 44: + 45: 0020 54 DB 01010100B ; OUT R1 PORT0 ;输入LCD1602 数据 [20H] + 46: 0021 00 DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后� + 幸桓鯪OP隔离 + 47: 0022 28 DB 00101000B ; INC R2 + 48: 0023 21 DB 00100001B ; DEC R0 ;待发送字符计数器递减(-1) + 49: + 50: 0024 00 DB 00000000B ; NOP ;断点HLT备用,单步观察LCD显示 + 51: 0025 18 DB 00011000B ; JZ 29H ;待发送字符计数器为0,结束发送 + 52: 0026 29 DB 00101001B ; + 53: 0027 10 DB 00010000B ; JMP 1EH ;LCD显示成功,继续发送下一个字符 + 54: + 55: 0028 1E DB 00011110B ; + 56: 0029 01 DB 00000001B ; HLT ;程序结束 + 57: + 58: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..2bb71535f89d76f77c244fc72627e38d5e69aa94 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.6 液晶屏显示实验 LCD1602 流水/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# C:/Users/Administrator/Desktop/第四章 微机接口实验【流水线】/实验4.6 液晶屏显示实验 LCD1602 流水/test/test_LCD1602_pipe.asm + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/test_LCD1602_pipe.asm + $(ASM) "..\..\test\test_LCD1602_pipe.asm" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..c0714de2b7f5424bbeaf5b10216ef1a03043458a Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..0c390ead733f76d938d644668940242850931750 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..e8b44bf334d4834cc0501803ac1731e3cc0ee422 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00000000B ; NOP + DB 00000000B ; NOP + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + +END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4a4c0e55ec490046785fb2fd07a941dc9f534055 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/DATA.HEX" @@ -0,0 +1,2 @@ +:08000000000048454C4C4F2163 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..615ed27cc7a319b0628766a76547eed32660e557 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.HEX" @@ -0,0 +1,4 @@ +:100000003C905E38385800380C5800380158003899 +:10001000065800388058003C925E38023006860050 +:0A00200054002821001829101E01C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.asm" new file mode 100644 index 0000000000000000000000000000000000000000..bce975f075def4a163dd771295752204e1c1721a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/test/test_LCD1602_pipe.asm" @@ -0,0 +1,58 @@ +ORG 0000H + +; 配置LCD1602 + DB 00111100B ; SET R3,90H ;LCD地址[1001xxxx],写命令模式 + DB 10010000B ; + DB 01011110B ; OUTA R3,PORT0 ; 选择LCD,写命令模式 + DB 00111000B ; SET R2,38H ;R2存放命令6,8位数据格式,双行显示 + + DB 00111000B ; + DB 01011000B ; OUT R2,PORT0 ; 使能E 写入命令 + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00111000B ; SET R2,0CH ;R2存放命令4,开显示开关 无光标 不闪烁 + + DB 00001100B ; + DB 01011000B ; OUT R2,PORT0 ; 使能E 写入命令 + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00111000B ; SET R2,01H ;R2存放命令1,清屏 + + DB 00000001B ; + DB 01011000B ; OUT R2,PORT0 ; 使能E 写入命令 + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00111000B ; SET R2,06H ;R2存放命令3,I/D=1 光标在新数据右边 + + DB 00000110B ; [10H] + DB 01011000B ; OUT R2,PORT0 ; 使能E 写入命令 + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00111000B ; SET R2,80H ;R2存放命令8,置DDRAM地址(第一行首地址) + + DB 10000000B ; + DB 01011000B ; OUT R2,PORT0 ; 使能E 写入命令 + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00111100B ; SET R3,92H ;LCD地址[1001xxxx],写数据模式 + + DB 10010010B ; + DB 01011110B ; OUTA R3,PORT0 ; 选择LCD,写数据模式 + DB 00111000B ; SET R2, 02H ;R2用以记录发送字符地址 + DB 00000010B ; 发送的字符串首地址 [02H] + + DB 00110000B ; SET R0,06H ;R0 用作待发送字符的计数器 + DB 00000110B ; 总共6个数据 +; 循环发送数据 + DB 10000110B ; POP R1,[R2] + DB 00000000B ; NOP + + DB 01010100B ; OUT R1 PORT0 ;输入LCD1602 数据 [20H] + DB 00000000B ; NOP ;使能E的特殊结构 LCD_EN的撤销比PORT0_W晚,所以写操作结束后要有一个NOP隔离 + DB 00101000B ; INC R2 + DB 00100001B ; DEC R0 ;待发送字符的计数器递减“-1” + + DB 00000000B ; NOP ;此处可以做断点HLT,观察LCD显示 + DB 00011000B ; JZ 29H ;待发送字符的计数器为0,结束发送 + DB 00101001B ; + DB 00010000B ; JMP 1EH ;LCD显示成功,继续发送下一个字符 + + DB 00011110B ; + DB 00000001B ; HLT ;程序结束 + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..1ff31f7bd7262921a9ae69b6ca3a42f78e8922f2 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..cd1c93b2b5cd08d4cfc7736cdb990894adac4383 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.6 \346\266\262\346\231\266\345\261\217\346\230\276\347\244\272\345\256\236\351\252\214 LCD1602 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+LCD1602.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,74 @@ + + + + 2c0000000200000003000000ffffffffffffffffffffffffffffffff3d010000000000002d050000c6020000 + + + + + + + + + + + + + + 281 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..10b6bba08a2d38f110b766d6ecfcc5708077e22d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.HEX" @@ -0,0 +1,7 @@ +:1000000038865A389958104010000000000000202F +:10001000348038825A50610138C05A3860585A705A +:1000200038805A4400C4011C2538C05A3860585AD8 +:01003000705F +:1000400038C05A38135838C25A3808583805583802 +:0C0050007E5838805A4001C0011C570146 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..91289cbb3cc7f2be48566f49a9fa17b0d297e551 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,109 @@ +,,,ORG 0000H +,,,;配置8255A +0000,38,, DB 00111000B ;SET R2,86H ;选择8255,控制端 +0001,86,, DB 10000110B ; ;A1A0=11 +0002,5A,, DB 01011010B ;OUTA R2,PORT0 +0003,38,, DB 00111000B ;SET R2,99H ;控制字 +,,, +0004,99,, DB 10011001B ; ;PA输入/PB输出/PC输入 +0005,58,, DB 01011000B ;OUT R2,PORT0 +0006,10,, DB 00010000B ;JMP 40H ;跳转到主程序 +0007,40,, DB 01000000B ; +,,, +,,,;8259A的中断矢量表[00001xxx] +0008,10,, DB 00010000B ;vector0 [08H]=10H +0009,00,, DB 00000000B ;vector1 [09H]=00H +000A,00,, DB 00000000B ;vector2 [0AH]=00H +000B,00,, DB 00000000B ;vector3 [0BH]=00H +,,, +000C,00,, DB 00000000B ;vector0 [0CH]=00H +000D,00,, DB 00000000B ;vector1 [0DH]=00H +000E,00,, DB 00000000B ;vector0 [0EH]=00H +000F,20,, DB 00100000B ;vector1 [0FH]=20H +,,, +,,,ORG 0010H +,,,;中断源0 +0010,34,, DB 00110100B ;SET R1,80H ; R1赋值80H(减1则最高位变0) +0011,80,, DB 10000000B ; +0012,38,, DB 00111000B ;SET R2,82H ;选PB口 +0013,82,, DB 10000010B ; ;A1A0=01 +,,, +0014,5A,, DB 01011010B ;OUTA R2,PORT0 +0015,50,, DB 01010000B ;OUT R0,PORT0 ;PB口输出 +0016,61,, DB 01100001B ;MOV R0,R1 ; R0赋值80H(减1则最高位变0) +0017,01,, DB 00000001B ;HLT +,,, +0018,38,, DB 00111000B ;SET R2,C0H 选择8259/偶地址 +0019,C0,, DB 11000000B ; +001A,5A,, DB 01011010B ;OUTA R2,PORT0 +001B,38,, DB 00111000B ;SET R2,60H ; EOI命令 +,,, +001C,60,, DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 +001D,58,, DB 01011000B ;OUT R2, PORT0 +001E,5A,, DB 01011010B ;OUTA R2, PORT0 ;去掉8259片选,避免误修改配置 +001F,70,, DB 01110000B ;IRET +,,, +,,,ORG 0020H +,,,;中断源7 +0020,38,, DB 00111000B ;SET R2,80H ;选PA口 +0021,80,, DB 10000000B ; ;A1A0=00 +0022,5A,, DB 01011010B ;OUTA R2,PORT0 +0023,44,, DB 01000100B ;IN R1,PORT0 ;PA口输入,赋值R1 +,,, +0024,00,, DB 00000000B ;NOP ;相关性 +0025,C4,, DB 11000100B ;SUBI R1,01 ; R1递减“-1” +0026,01,, DB 00000001B +0027,1C,, DB 00011100B ;JS 25H ; R1最高位为1,则循环递减 +,,, +0028,25,, DB 00100101B ; +0029,38,, DB 00111000B ;SET R2,C0H 选择8259/偶地址 +002A,C0,, DB 11000000B ; +002B,5A,, DB 01011010B ;OUTA R2,PORT0 +,,, +002C,38,, DB 00111000B ;SET R2,60H ; EOI命令 +002D,60,, DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 +002E,58,, DB 01011000B ;OUT R2,PORT0 +002F,5A,, DB 01011010B ;OUTA R2,PORT0 ;去掉8259片选,避免误修改配置 +,,, +0030,70,, DB 01110000B ;IRET +,,, +,,,ORG 0040H +,,,;配置8259 +0040,38,, DB 00111000B ;SET R2,C0H ;配置8259/偶地址 +0041,C0,, DB 11000000B ; +0042,5A,, DB 01011010B ;OUTA R2,PORT0 +0043,38,, DB 00111000B ;SET R2,13H ;设置初始化命令字 ICW1 +,,, +0044,13,, DB 00010011B ; 上升沿触发/单片工作/需要设置ICW4 +0045,58,, DB 01011000B ;OUT R2,PORT0 +0046,38,, DB 00111000B ;SET R2,C2H ;配置8259/奇地址 +0047,C2,, DB 11000010B ; +,,, +0048,5A,, DB 01011010B ;OUTA R2,PORT0 +0049,38,, DB 00111000B ;SET R2,08H ;设置初始化命令字 ICW2 +004A,08,, DB 00001000B ; 中断类型号(中断向量表入口地址00001xxx) +004B,58,, DB 01011000B ;OUT R2,PORT0 +,,, +004C,38,, DB 00111000B ;SET R2,05H ;设置初始化命令字 ICW4 +004D,05,, DB 00000101B ; 全嵌套/非缓冲/主片/非自动中断结束 +004E,58,, DB 01011000B ;OUT R2,PORT0 +004F,38,, DB 00111000B ;SET R2,7EH ;写入 操作命令字 OCW1 +,,, +0050,7E,, DB 01111110B ; 屏蔽所有未用到的中断IR ;[50H] +0051,58,, DB 01011000B ;OUT R2,PORT0 +,,,;main +0052,38,, DB 00111000B ;SET R2,80H ;选PA口 +0053,80,, DB 10000000B ; ;A1A0=00 +,,, +0054,5A,, DB 01011010B ;OUTA R2,PORT0 +0055,40,, DB 01000000B ;IN R0,PORT0 ;PA口输入,R0赋值 +0056,01,, DB 00000001B ;HLT ;相关性 +0057,C0,, DB 11000000B ;SUBI R0,01 ; R0递减“-1” +,,, +0058,01,, DB 00000001B ; +0059,1C,, DB 00011100B ;JS 57H ; R0最高位为1,则循环递减 +005A,57,, DB 01010111B ; +005B,01,, DB 00000001B ;HLT +,,, +000E,,,END +,,, diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..878eb463ea91984ffa7457a8664d6030dac18969 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,245 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\test_8259_pipe.asm + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: ;配置8255A + 3: 0000 38 DB 00111000B ;SET R2,86H ;选择8255,控制端 + 4: 0001 86 DB 10000110B ; ;A1A0=11 + 5: 0002 5A DB 01011010B ;OUTA R2,PORT0 + 6: 0003 38 DB 00111000B ;SET R2,99H ;控制字 + 7: + 8: 0004 99 DB 10011001B ; ;PA输入/PB输出/PC输入 + 9: 0005 58 DB 01011000B ;OUT R2,PORT0 + 10: 0006 10 DB 00010000B ;JMP 40H ;跳转到主程序 + 11: 0007 40 DB 01000000B ; + 12: + 13: ;8259A的中断矢量表[00001xxx] + 14: 0008 10 DB 00010000B ;vector0 [08H]=10H + 15: 0009 00 DB 00000000B ;vector1 [09H]=00H + 16: 000A 00 DB 00000000B ;vector2 [0AH]=00H + 17: 000B 00 DB 00000000B ;vector3 [0BH]=00H + 18: + 19: 000C 00 DB 00000000B ;vector0 [0CH]=00H + 20: 000D 00 DB 00000000B ;vector1 [0DH]=00H + 21: 000E 00 DB 00000000B ;vector0 [0EH]=00H + 22: 000F 20 DB 00100000B ;vector1 [0FH]=20H + 23: + 24: N 0010 ORG 0010H + 25: ;中断源0 + 26: 0010 34 DB 00110100B ;SET R1,80H ; R1赋值80H(减1则最高位变0) + 27: 0011 80 DB 10000000B ; + 28: 0012 38 DB 00111000B ;SET R2,82H ;选PB口 + 29: 0013 82 DB 10000010B ; ;A1A0=01 + 30: + 31: 0014 5A DB 01011010B ;OUTA R2,PORT0 + 32: 0015 50 DB 01010000B ;OUT R0,PORT0 ;PB口输出 + 33: 0016 61 DB 01100001B ;MOV R0,R1 ; R0赋值80H(减1则最高位变0) + 34: 0017 01 DB 00000001B ;HLT + 35: + 36: 0018 38 DB 00111000B ;SET R2,C0H 选择8259/偶地址 + 37: 0019 C0 DB 11000000B ; + 38: 001A 5A DB 01011010B ;OUTA R2,PORT0 + 39: 001B 38 DB 00111000B ;SET R2,60H ; EOI命令 + 40: + 41: 001C 60 DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + 42: 001D 58 DB 01011000B ;OUT R2, PORT0 + 43: 001E 5A DB 01011010B ;OUTA R2, PORT0 ;去掉8259片选,避免误修改配置 + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 44: 001F 70 DB 01110000B ;IRET + 45: + 46: N 0020 ORG 0020H + 47: ;中断源7 + 48: 0020 38 DB 00111000B ;SET R2,80H ;选PA口 + 49: 0021 80 DB 10000000B ; ;A1A0=00 + 50: 0022 5A DB 01011010B ;OUTA R2,PORT0 + 51: 0023 44 DB 01000100B ;IN R1,PORT0 ;PA口输入,赋值R1 + 52: + 53: 0024 00 DB 00000000B ;NOP ;相关性 + 54: 0025 C4 DB 11000100B ;SUBI R1,01 ; R1递减“-1” + 55: 0026 01 DB 00000001B + 56: 0027 1C DB 00011100B ;JS 25H ; R1最高位为1,则循环递减 + 57: + 58: 0028 25 DB 00100101B ; + 59: 0029 38 DB 00111000B ;SET R2,C0H 选择8259/偶地址 + 60: 002A C0 DB 11000000B ; + 61: 002B 5A DB 01011010B ;OUTA R2,PORT0 + 62: + 63: 002C 38 DB 00111000B ;SET R2,60H ; EOI命令 + 64: 002D 60 DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + 65: 002E 58 DB 01011000B ;OUT R2,PORT0 + 66: 002F 5A DB 01011010B ;OUTA R2,PORT0 ;去掉8259片选,避免误修改配置 + 67: + 68: 0030 70 DB 01110000B ;IRET + 69: + 70: N 0040 ORG 0040H + 71: ;配置8259 + 72: 0040 38 DB 00111000B ;SET R2,C0H ;配置8259/偶地址 + 73: 0041 C0 DB 11000000B ; + 74: 0042 5A DB 01011010B ;OUTA R2,PORT0 + 75: 0043 38 DB 00111000B ;SET R2,13H ;设置初始化命令字 ICW1 + 76: + 77: 0044 13 DB 00010011B ; 上升沿触发/单片工作/需要设置ICW4 + 78: 0045 58 DB 01011000B ;OUT R2,PORT0 + 79: 0046 38 DB 00111000B ;SET R2,C2H ;配置8259/奇地址 + 80: 0047 C2 DB 11000010B ; + 81: + 82: 0048 5A DB 01011010B ;OUTA R2,PORT0 + 83: 0049 38 DB 00111000B ;SET R2,08H ;设置初始化命令字 ICW2 + 84: 004A 08 DB 00001000B ; 中断类型号(中断向量表入口地址00001xxx) + 85: 004B 58 DB 01011000B ;OUT R2,PORT0 + 86: + 87: 004C 38 DB 00111000B ;SET R2,05H ;设置初始化命令字 ICW4 + 88: 004D 05 DB 00000101B ; 全嵌套/非缓冲/主片/非自动中断结束 + 89: 004E 58 DB 01011000B ;OUT R2,PORT0 + 90: 004F 38 DB 00111000B ;SET R2,7EH ;写入 操作命令字 OCW1 + 91: + 92: 0050 7E DB 01111110B ; 屏蔽所有未用到的中断IR ;[50H] + 93: 0051 58 DB 01011000B ;OUT R2,PORT0 + 94: ;main + 95: 0052 38 DB 00111000B ;SET R2,80H ;选PA口 + 96: 0053 80 DB 10000000B ; ;A1A0=00 + 97: + 98: 0054 5A DB 01011010B ;OUTA R2,PORT0 + 99: 0055 40 DB 01000000B ;IN R0,PORT0 ;PA口输入,R0赋值 + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + Line I Addr Code Source + + 100: 0056 01 DB 00000001B ;HLT ;相关性 + 101: 0057 C0 DB 11000000B ;SUBI R0,01 ; R0递减“-1” + 102: + 103: 0058 01 DB 00000001B ; + 104: 0059 1C DB 00011100B ;JS 57H ; R0最高位为1,则循环递减 + 105: 005A 57 DB 01010111B ; + 106: 005B 01 DB 00000001B ;HLT + 107: + 108: END + 109: + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 5 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..2bb4093fbff317e2c8a5dc0e0d43e984df13f4d2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.7 中断控制器实验 8259流水/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.7 中断控制器实验 8259流水/test/test_8259_pipe.asm + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/test_8259_pipe.asm + $(ASM) "..\..\test\test_8259_pipe.asm" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..3169ae23313b1a5f6a54f4139ddaf42653b9bf0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c35f5bd6e758da4e4bcb1ea7e3ec5a5c32d66905c0b755306ef50dd9a53a01d2 +size 101559 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..06c5f85c19c18c7d773f90d8245dfdf87f79681f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8259.pdsbak" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2915134f310da4ce03c28ff4810552da44e873c9fcbbd407969e82c96e5bcd8d +size 101560 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..10b6bba08a2d38f110b766d6ecfcc5708077e22d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.HEX" @@ -0,0 +1,7 @@ +:1000000038865A389958104010000000000000202F +:10001000348038825A50610138C05A3860585A705A +:1000200038805A4400C4011C2538C05A3860585AD8 +:01003000705F +:1000400038C05A38135838C25A3808583805583802 +:0C0050007E5838805A4001C0011C570146 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.asm" new file mode 100644 index 0000000000000000000000000000000000000000..84a1c1ed0e8d28f0d01a34547b6e6728a329a1b6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/test/test_8259_pipe.asm" @@ -0,0 +1,109 @@ +ORG 0000H +;配置8255A + DB 00111000B ;SET R2,86H ;选择8255,控制端 + DB 10000110B ; ;A1A0=11 + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,99H ;控制字 + + DB 10011001B ; ;PA输入/PB输出/PC输入 + DB 01011000B ;OUT R2,PORT0 + DB 00010000B ;JMP 40H ;跳转到主程序 + DB 01000000B ; + +;8259A的中断矢量表[00001xxx] + DB 00010000B ;vector0 [08H]=10H + DB 00000000B ;vector1 [09H]=00H + DB 00000000B ;vector2 [0AH]=00H + DB 00000000B ;vector3 [0BH]=00H + + DB 00000000B ;vector0 [0CH]=00H + DB 00000000B ;vector1 [0DH]=00H + DB 00000000B ;vector0 [0EH]=00H + DB 00100000B ;vector1 [0FH]=20H + +ORG 0010H +;中断源0 + DB 00110100B ;SET R1,80H ; R1赋值80H(减1则最高位变0) + DB 10000000B ; + DB 00111000B ;SET R2,82H ;选PB口 + DB 10000010B ; ;A1A0=01 + + DB 01011010B ;OUTA R2,PORT0 + DB 01010000B ;OUT R0,PORT0 ;PB口输出 + DB 01100001B ;MOV R0,R1 ; R0赋值80H(减1则最高位变0) + DB 00000001B ;HLT + + DB 00111000B ;SET R2,C0H 选择8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,60H ; EOI命令 + + DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + DB 01011000B ;OUT R2, PORT0 + DB 01011010B ;OUTA R2, PORT0 ;去掉8259片选,避免误修改配置 + DB 01110000B ;IRET + +ORG 0020H +;中断源7 + DB 00111000B ;SET R2,80H ;选PA口 + DB 10000000B ; ;A1A0=00 + DB 01011010B ;OUTA R2,PORT0 + DB 01000100B ;IN R1,PORT0 ;PA口输入,赋值R1 + + DB 00000000B ;NOP ;相关性 + DB 11000100B ;SUBI R1,01 ; R1递减“-1” + DB 00000001B + DB 00011100B ;JS 25H ; R1最高位为1,则循环递减 + + DB 00100101B ; + DB 00111000B ;SET R2,C0H 选择8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + + DB 00111000B ;SET R2,60H ; EOI命令 + DB 01100000B ; 固定优先级/中断结束/L2L1L0=000 + DB 01011000B ;OUT R2,PORT0 + DB 01011010B ;OUTA R2,PORT0 ;去掉8259片选,避免误修改配置 + + DB 01110000B ;IRET + +ORG 0040H +;配置8259 + DB 00111000B ;SET R2,C0H ;配置8259/偶地址 + DB 11000000B ; + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,13H ;设置初始化命令字 ICW1 + + DB 00010011B ; 上升沿触发/单片工作/需要设置ICW4 + DB 01011000B ;OUT R2,PORT0 + DB 00111000B ;SET R2,C2H ;配置8259/奇地址 + DB 11000010B ; + + DB 01011010B ;OUTA R2,PORT0 + DB 00111000B ;SET R2,08H ;设置初始化命令字 ICW2 + DB 00001000B ; 中断类型号(中断向量表入口地址00001xxx) + DB 01011000B ;OUT R2,PORT0 + + DB 00111000B ;SET R2,05H ;设置初始化命令字 ICW4 + DB 00000101B ; 全嵌套/非缓冲/主片/非自动中断结束 + DB 01011000B ;OUT R2,PORT0 + DB 00111000B ;SET R2,7EH ;写入 操作命令字 OCW1 + + DB 01111110B ; 屏蔽所有未用到的中断IR ;[50H] + DB 01011000B ;OUT R2,PORT0 +;main + DB 00111000B ;SET R2,80H ;选PA口 + DB 10000000B ; ;A1A0=00 + + DB 01011010B ;OUTA R2,PORT0 + DB 01000000B ;IN R0,PORT0 ;PA口输入,R0赋值 + DB 00000001B ;HLT ;相关性 + DB 11000000B ;SUBI R0,01 ; R0递减“-1” + + DB 00000001B ; + DB 00011100B ;JS 57H ; R0最高位为1,则循环递减 + DB 01010111B ; + DB 00000001B ;HLT + +END + \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..0aa4e05c639f29ecbd1ed40acdc91c5f6e2625f5 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d000d1f5280e25b4ecd3745bd21433e432ee56b50167ea18b7432f9824d182c4 +size 101504 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..e9f6990c21c94714325a8a55f6de37aa6c8fcc70 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.7 \344\270\255\346\226\255\346\216\247\345\210\266\345\231\250\345\256\236\351\252\214 8259\346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8259.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,80 @@ + + + + 2c00000002000000030000000083ffff0083ffffffffffffffffffff2c0000002a0000009f030000e1030000 + + + + + + + + + + + + + + 281 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + + + + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2b805fdffd2d49031d2eb764e8690cc6dbab4f17 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.HEX" @@ -0,0 +1,5 @@ +:10000000380030DD525830D052585830D152340573 +:10001000545830D2525834805430D3523405545846 +:1000200030DB5234845434895430D85234855430BF +:0D003000DF52340C540130D9523404540115 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" new file mode 100644 index 0000000000000000000000000000000000000000..9821dc484ee6cd83433dff31351c8baaa2620bf6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.SDI" @@ -0,0 +1,80 @@ +,,,ORG 0000H +,,, +0000,38,, DB 00111000B ;SET R2, 00H ; +0001,00,, DB 00000000B ; +0002,30,, DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] +0003,DD,, DB 11011101B ; +,,, +0004,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0005,58,, DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 +0006,30,, DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] +0007,D0,, DB 11010000B ; +,,, +0008,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0009,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) +000A,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 +000B,30,, DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] +,,, +000C,D1,, DB 11010001B ; +000D,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +000E,34,, DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 +000F,05,, DB 00000101B ; +,,, +0010,54,, DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H +0011,58,, DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H +0012,30,, DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] +0013,D2,, DB 11010010B ; +,,, +0014,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0015,58,, DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) +0016,34,, DB 00110100B ;SET R1, 80H ; +0017,80,, DB 10000000B ; +,,, +0018,54,, DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H +0019,30,, DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] +001A,D3,, DB 11010011B ; +001B,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +,,, +001C,34,, DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 +001D,05,, DB 00000101B ; +001E,54,, DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H +001F,58,, DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H +,,, +0020,30,, DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] +0021,DB,, DB 11011011B ; +0022,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0023,34,, DB 00110100B ;SET R1, 88H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(10),选� +,,, +0024,84,, DB 10000100B ; +0025,54,, DB 01010100B ;OUT R1, PORT0 ; +0026,34,, DB 00110100B ;SET R1, 85H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(01),选� +0027,89,, DB 10001001B ; +,,, +0028,54,, DB 01010100B ;OUT R1, PORT0 ; +0029,30,, DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] +002A,D8,, DB 11011000B ; +002B,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +,,, +002C,34,, DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0) +002D,85,, DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) +002E,54,, DB 01010100B ;OUT R1, PORT0 ; +002F,30,, DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] +,,, +0030,DF,, DB 11011111B ; +0031,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0032,34,, DB 00110100B ;SET R1, 0CH ; +0033,0C,, DB 00001100B ; +,,, +0034,54,, DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 +0035,01,, DB 00000001B ;HLT +0036,30,, DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] +0037,D9,, DB 11011001B ; +,,, +0038,52,, DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 +0039,34,, DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) +003A,04,, DB 00000100B ; +003B,54,, DB 01010100B ;OUT R1, PORT0 ; +,,, +003C,01,, DB 00000001B ;HLT +,,, +000E,,,END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.lst" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.lst" new file mode 100644 index 0000000000000000000000000000000000000000..de8249e14bdbe08b2ed3a445f2618aefd7e4d86b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Debug.lst" @@ -0,0 +1,213 @@ + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 1 + + + + + + MCS-51 Family Macro Assembler A S E M - 5 1 V 1.3 + ===================================================== + + + + Source File: ..\..\test\8237.ASM + Object File: Debug.HEX + List File: Debug.lst + + + + Line I Addr Code Source + + 1: N 0000 ORG 0000H + 2: + 3: 0000 38 DB 00111000B ;SET R2, 00H ; + 4: 0001 00 DB 00000000B ; + 5: 0002 30 DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] + 6: 0003 DD DB 11011101B ; + 7: + 8: 0004 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 9: 0005 58 DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 + 10: 0006 30 DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] + 11: 0007 D0 DB 11010000B ; + 12: + 13: 0008 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 14: 0009 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) + 15: 000A 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 + 16: 000B 30 DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] + 17: + 18: 000C D1 DB 11010001B ; + 19: 000D 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 20: 000E 34 DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 + 21: 000F 05 DB 00000101B ; + 22: + 23: 0010 54 DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + 24: 0011 58 DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + 25: 0012 30 DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] + 26: 0013 D2 DB 11010010B ; + 27: + 28: 0014 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 29: 0015 58 DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) + 30: 0016 34 DB 00110100B ;SET R1, 80H ; + 31: 0017 80 DB 10000000B ; + 32: + 33: 0018 54 DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H + 34: 0019 30 DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] + 35: 001A D3 DB 11010011B ; + 36: 001B 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 37: + 38: 001C 34 DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 + 39: 001D 05 DB 00000101B ; + 40: 001E 54 DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + 41: 001F 58 DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + 42: + 43: 0020 30 DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 2 + + + + Line I Addr Code Source + + 44: 0021 DB DB 11011011B ; + 45: 0022 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 46: 0023 34 DB 00110100B ;SET R1, 88H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(10),选� + 裢ǖ�0(00) + 47: + 48: 0024 84 DB 10000100B ; + 49: 0025 54 DB 01010100B ;OUT R1, PORT0 ; + 50: 0026 34 DB 00110100B ;SET R1, 85H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(01),选� + 裢ǖ�1(01) + 51: 0027 89 DB 10001001B ; + 52: + 53: 0028 54 DB 01010100B ;OUT R1, PORT0 ; + 54: 0029 30 DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] + 55: 002A D8 DB 11011000B ; + 56: 002B 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 57: + 58: 002C 34 DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0) + , + 59: 002D 85 DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) + + 60: 002E 54 DB 01010100B ;OUT R1, PORT0 ; + 61: 002F 30 DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] + 62: + 63: 0030 DF DB 11011111B ; + 64: 0031 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 65: 0032 34 DB 00110100B ;SET R1, 0CH ; + 66: 0033 0C DB 00001100B ; + 67: + 68: 0034 54 DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 + 69: 0035 01 DB 00000001B ;HLT + 70: 0036 30 DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] + 71: 0037 D9 DB 11011001B ; + 72: + 73: 0038 52 DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + 74: 0039 34 DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) + 75: 003A 04 DB 00000100B ; + 76: 003B 54 DB 01010100B ;OUT R1, PORT0 ; + 77: + 78: 003C 01 DB 00000001B ;HLT + 79: + 80: END + + + + + + register banks used: --- + + no errors + + + + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 3 + + + + + + L I S T O F S Y M B O L S + ============================= + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +??ASEM_51 NUMBER 8051 +??VERSION NUMBER 0130 +AC BIT D6 +ACC DATA E0 +B DATA F0 +CY BIT D7 +DPH DATA 83 +DPL DATA 82 +EA BIT AF +ES BIT AC +ET0 BIT A9 +ET1 BIT AB +EX0 BIT A8 +EX1 BIT AA +EXTI0 CODE 0003 +EXTI1 CODE 0013 +F0 BIT D5 +IE DATA A8 +IE0 BIT 89 +IE1 BIT 8B +INT0 BIT B2 +INT1 BIT B3 +IP DATA B8 +IT0 BIT 88 +IT1 BIT 8A +OV BIT D2 +P BIT D0 +P0 DATA 80 +P1 DATA 90 +P2 DATA A0 +P3 DATA B0 +PCON DATA 87 +PS BIT BC +PSW DATA D0 +PT0 BIT B9 +PT1 BIT BB +PX0 BIT B8 +PX1 BIT BA +RB8 BIT 9A +RD BIT B7 +REN BIT 9C +RESET CODE 0000 +RI BIT 98 +RS0 BIT D3 +RS1 BIT D4 +RXD BIT B0 +SBUF DATA 99 +SCON DATA 98 +SINT CODE 0023 +SM0 BIT 9F + +ASEM-51 V1.3 Copyright (c) 2002 by W.W. Heinz PAGE 4 + + + +SYMBOL TYPE VALUE LINE +------------------------------------------------------------ +SM1 BIT 9E +SM2 BIT 9D +SP DATA 81 +T0 BIT B4 +T1 BIT B5 +TB8 BIT 9B +TCON DATA 88 +TF0 BIT 8D +TF1 BIT 8F +TH0 DATA 8C +TH1 DATA 8D +TI BIT 99 +TIMER0 CODE 000B +TIMER1 CODE 001B +TL0 DATA 8A +TL1 DATA 8B +TMOD DATA 89 +TR0 BIT 8C +TR1 BIT 8E +TXD BIT B1 +WR BIT B6 diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Makefile" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Makefile" new file mode 100644 index 0000000000000000000000000000000000000000..d4e1e8bfc350ad16dbc08b8de05c5d773c63e331 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/80C51/Debug/Makefile" @@ -0,0 +1,38 @@ +############################################################################### +# Makefile for project +############################################################################### + +## General options +PROJECT = +MCU = 80C51 +COMPILER = "ASEM-51 (Proteus)" +TARGET = Debug +SHELL = C:\Windows\system32\cmd.exe + +## Tools general options + +## Processing Tools +ASM=asem.exe +DDX=ASEMDDX.EXE +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.8 DMA实验 8237 流水/80C51/Debug/Debug.HEX: TOOL=ASM +# Post: $(DDX) $(DDXFLAGS) Debug.lst +# E:/博士后/教学/计组实验 教学改革/PROTEUS系列实验/SCUT版实验系列final/第四章 微机原理与接口实验【流水线】修订版/实验4.8 DMA实验 8237 流水/test/8237.ASM + +# Build tree: +all: Debug + +Debug: Debug.HEX + +Debug.HEX: ../../test/8237.ASM + $(ASM) "..\..\test\8237.ASM" "Debug.HEX" Debug.lst $(ASMFLAGS) /INCLUDES:"C:\Program Files\Labcenter Electronics\Proteus 8 Professional\Tools\ASEM51" + $(DDX) $(DDXFLAGS) Debug.lst + +# tidy - delete all temporary files which are not involved in the target generation +tidy: + rm -rf Debug.lst + +# cleanup - delete all generated files +clean: tidy + rm -rf Debug.HEX + rm -rf Debug.SDI + diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..be91e4827106d62c446ef3342b08e84b6455f9ff Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Backup Of \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..999b66ac0e56baf0aa87aa4555086721ca62bc08 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000010B + DB 00000001B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 00000000B + DB 10111000B + DB 00000000B + DB 10010100B + DB 00000000B + DB 01100000B + DB 00000000B + DB 11110100B + DB 00000000B + DB 00000000B + DB 00000000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7edfadd57b7c69ce1647e0de5257ca9725412b65 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM1.HEX" @@ -0,0 +1,3 @@ +:1000000000000000000000000000000000000002EE +:10001000010000000000B80094006000F40000003F +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..95833b87f4933891ec52d0f7c47991fde46c0fa2 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 01001000B + DB 00011110B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 00011100B + DB 10100100B + DB 01001000B + DB 01001000B + DB 00011100B + DB 00011100B + DB 01100010B + DB 00010110B + DB 01010010B + DB 10000001B + DB 00001000B + DB 10100001B + DB 10100010B + DB 01111110B + DB 01110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 01011100B + DB 00110010B + DB 00110010B + DB 00110010B + DB 00101000B + DB 10011010B + DB 00101000B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..44127fa62208d318df4be255840e3bbd86501cfb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM2.HEX" @@ -0,0 +1,3 @@ +:10000000481E48481C1C1CA448481C1C62165281EF +:1000100008A1A27E725C325C325C323232289A28AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f649d881e2b5041d88f739324a2b81e915e0fb33 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.ASM" @@ -0,0 +1,36 @@ +ORG 0000H + + DB 00000111B + DB 00010011B + DB 00011111B + DB 00011101B + DB 00010111B + DB 00011001B + DB 00010101B + DB 10000000B + DB 00010001B + DB 00010010B + DB 00011011B + DB 00011100B + DB 01000000B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00010001B + DB 01000000B + DB 01000000B + DB 00010100B + DB 01000000B + DB 00010110B + DB 01000000B + DB 00011000B + DB 01000000B + DB 00011010B + DB 01000000B + DB 01000000B + DB 01000000B + DB 00011110B + DB 01000000B + DB 00010010B + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d4bd05262a5e5b885cd00a3f8b0e087dd1fdbbe7 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/INSTRUCTIONS/EPROM3.HEX" @@ -0,0 +1,3 @@ +:1000000007131F1D1719158011121B1C404040407B +:100010001140401440164018401A4040401E401203 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" new file mode 100644 index 0000000000000000000000000000000000000000..f4acf61b0b7874bbc9233ae1a62c0226198655a1 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/Last Loaded \346\265\201\346\260\264\347\272\277CPU+8237.pdsbak" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2cc1a788e66eba052d14ce89cbbe40d423b2a810 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.ASM" @@ -0,0 +1,15 @@ + ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R1,30H + DB 00110000B ; + + DB 00111000B ;SET R2,F0H + DB 11110000B ; + DB 11010001B ;ADD R0,R1 + DB 11011001B ;ADD R2,R1 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..4301257f79fac9c0c48a58a54fd17a94cef4e68b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD.HEX" @@ -0,0 +1,2 @@ +:090000003003343038F0D1D9018D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..66056b8e0ec40e5d96507d8a580342d40016f415 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.ASM" @@ -0,0 +1,20 @@ +ORG 0000H + + DB 00110000B ;SET R0,0 + DB 00000000B + DB 00110100B ;SET R1,0 + DB 00000000B + + DB 11010001B ;ADD R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 11000001B ;SUB R0,R1 + DB 00010100B ;JC 0CH + DB 00001100B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dd3422c6319c7f73b960285ccd29a0fc8d6e2a0d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADD0_SUB0.HEX" @@ -0,0 +1,2 @@ +:0D00000030003400D1140C50C1140C50011C +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..2f9b236501db1f06c380796d12378a27e972c960 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03 + DB 00000011B ; + DB 11010000B ;ADDI R0,30H + DB 00110000B ; + + DB 00000001B ;HLT + DB 11010000B ;ADDI R0,F0H + DB 11110000B ; + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..dcf6fbed31fb7bca74b9681ccde820c443e31593 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ADDI.HEX" @@ -0,0 +1,2 @@ +:080000003003D03001D0F00103 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8479239f7dfa232b46a4708427eb9efad4492f00 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 00110100B ;SET R0,02H + DB 00000010B ; + DB 11100001B ;AND R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..405e30ca94e14683a89c144726943afef4cbf72a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/AND.HEX" @@ -0,0 +1,2 @@ +:0600000030033402E101AF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..265e32406b6687a5ad9b72eaeb5b7a445a709b29 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11100000B ;ANDI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3d9549687150fa80998e996c75a7a5e0e03f9328 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ANDI.HEX" @@ -0,0 +1,2 @@ +:050000003003E00201E5 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ef65e1f94ba1067c945f4719cca77a4ac5268f20 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.ASM" @@ -0,0 +1,22 @@ +ORG 0000H + + DB 00010000B ;JMP 08H + DB 00001000B ; + DB 00000011B ;vector [02]=03 ;中断向量 + DB 00000001B ;HLT ;中断子程序入口 + + DB 01010000B ;OUT R0,PORT0 + DB 00110000B ;SET R0,0 + DB 00000000B ; + DB 01110000B ;IRET + + DB 00110000B ;SET R0,02H ;main + DB 00000010B ; + DB 11010000B ;ADDI R0,02H + DB 00000010B ; + + DB 00010000B ;JMP 0AH + DB 00001010B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..86ff9014c4a7edb132c80ecee421d226a5c64903 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/INT_IRET.HEX" @@ -0,0 +1,2 @@ +:0F00000010080301503000703002D002100A01C6 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3e7bdf0103507b12744b192677fde323a4ce89ad --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 01000000B ;IN R0,PORT0 + DB 01000100B ;IN R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + DB 01010000B ;OUT R0,PORT0 + DB 01010100B ;OUT R1,PORT0 + DB 00100000B ;INC R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..c9416829fd360ea8a06fb18e3850ba2bfa76781d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/IN_OUT.HEX" @@ -0,0 +1,2 @@ +:0800000040442001505420018E +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..44fdd37758f7719d3cee53f87336f2c929e37450 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.ASM" @@ -0,0 +1,15 @@ +ORG 0000H + + DB 00010000B ;JMP 06H + DB 00000110B ; + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000000B ; + DB 00000000B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..7c5cdf4949511b57329788df25388ff282155e38 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMP.HEX" @@ -0,0 +1,2 @@ +:0900000010063003000034020177 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..793294e31cec3798f8ce26569ce3c0df9cd1134f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.ASM" @@ -0,0 +1,17 @@ +ORG 0000H + + DB 00110100B ;SET R1,06H + DB 00000110B ; + DB 00010001B ;JMPR R1 + DB 00000000B + + DB 00000000B + DB 00000000B + DB 00110000B ;SET R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..aa415cd07dd19857bf384f68f1aa7dec8c162e7a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JMPR.HEX" @@ -0,0 +1,2 @@ +:0900000034061100000030030178 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JS.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JS.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..1595224412472dd7c16f7fd493cfa388280b14b3 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/JS.ASM" @@ -0,0 +1,21 @@ + ORG 0000H + + DB 00110000B ;SET R0,04H + DB 00000100B ; + DB 00110100B ;SET R1,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00011100B ;JS 0CH + DB 00001100B ; + + DB 11010001B ;ADD R0,R1 + DB 01010000B ;OUT R0,PORT0 + DB 00010000B ;JMP 0DH + DB 00001101B ; + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..071fc6668e104187fd8d47be0432f861a724217a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/NOP_MOV.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 01010000B ;OUT R0,PORT0 + DB 01100100B ;MOV R1,R0 + + DB 01010100B ;OUT R1,PORT0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..f13c7e626a8bda47dd4fa84b32c19a9e096ec6e6 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.ASM" @@ -0,0 +1,12 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + DB 11110001B ;OR R0,R1 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..a5676110bd85422e20c3345be0c040b5acbf9beb --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/OR.HEX" @@ -0,0 +1,2 @@ +:0600000030093402F10199 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fd952a5f0d098e8fd29c4191e416a0d8e2455b63 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,09H + DB 00001001B ; + DB 11110000B ;ORI R0,02H + DB 00000010B ; + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..04a25a136c4068ae88913f001e911145c20a1757 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/ORI.HEX" @@ -0,0 +1,2 @@ +:050000003009F00201CF +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..ebae400d90a3cf4fdc3b6ca138a1e17505382550 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/PUSH_POP.ASM" @@ -0,0 +1,38 @@ +ORG 0000H + + DB 00010000B ; JMP 08H + DB 00001000B ; + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + + DB 00111100B ; SET R3, 02H ;main + DB 00000010B + DB 00111000B ; SET R2, 80H + DB 10000000B + + DB 00110100B ; SET R1, 06H + DB 00000110B + DB 00000001B ; HLT + DB 00100101B ; DEC R1 + + DB 10000011B ; POP R0,[R3] + DB 00101100B ; INC R3 + DB 10010010B ; PUSH R0,[R2] + DB 00101000B ; INC R2 + + ;DB 01010000B ; OUT R0,PORT0 + DB 00000000B ; NOP + DB 00100111B ; THR R1 + DB 00011000B ; JZ 1AH + DB 00011010B ; + + DB 00010000B ;JMP 0FH + DB 00001111B ; + DB 00000001B ; HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..5fcd8cb39940ad6ab367f956aad354da4d9d29e1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100010B ;SHT(LLC) R0 + DB 00000000B ;NOP + + DB 10100010B ;SHT(LLC) R0 + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..201d8ef06c90595677f110085e29948f72c2773f --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(LLC).HEX" @@ -0,0 +1,2 @@ +:060000003003A200A20182 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" new file mode 100644 index 0000000000000000000000000000000000000000..b6e32f095b8fa8c3f385700b5baf020fdff1cc1b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).ASM" @@ -0,0 +1,11 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 10100001B ;SHT(RRC) R0 + DB 00000000B ;NOP + + DB 10100001B ;SHT(RRC) R0 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" new file mode 100644 index 0000000000000000000000000000000000000000..fe4c8fa6d2dbe78c84b8fef0a79a3911e8c1fd92 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SHT(RRC).HEX" @@ -0,0 +1,2 @@ +:060000003003A100A10184 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9f144a0deb7f3a0aefbe25faec09c4fedf1a191d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.ASM" @@ -0,0 +1,25 @@ +ORG 0000H + + DB 00110000B ;SET R0,01H + DB 00000001B; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 00111000B ;SET R2,09H + DB 00001001B ; + DB 00000001B ;HLT + DB 11010001B ;ADD R0,R1 + + DB 00101001B ;DEC R2 + DB 00100100B ;INC R1 + DB 00101011B ;THR R2 + DB 00011000B ;JZ 0FH + + DB 00001111B ; + DB 00010000B ;JMP 07H + DB 00000111B ; + DB 01010000B ;OUT R0,PORT0 + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b6e20c9fa4f14c474678fb2e2afa0bd3194b5b4b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SOP_JZ.HEX" @@ -0,0 +1,3 @@ +:1000000030013402380901D129242B180F10075070 +:0100100001EE +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..7a366537ab93a625716a4b4b14e539b8fcbaa2ae --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 10010000B ;STO R0,[81H] + DB 10000001B + DB 00000001B ;HLT + DB 10000100B ;LAD R1,[81H] + DB 10000001B + DB 00000001B ;HLT + + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..d8f519f8ea66b4b7bd176467baaa578a4609b096 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/STO_LAD.HEX" @@ -0,0 +1,2 @@ +:080000003003908101848101AD +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..c8ca297244266ed799dc157c2fd1cbd933e95062 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.ASM" @@ -0,0 +1,14 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B + DB 00110100B ;SET R1,03H + DB 00000011B + + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + DB 11000001B ;SUB R0,R1 + DB 00000001B ;HLT + + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b7039b53bcaba9f15a7708e5cacc326edd05e833 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUB.HEX" @@ -0,0 +1,2 @@ +:0800000030033403C101C1010A +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..9229607212605ed4ed351482fd3c9da721a3bdac --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,03H + DB 00000011B ; + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + + DB 00000001B ;HLT + DB 11000000B ;SUBI R0,03H + DB 00000011B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..b9a6fe82b4d22f85b11f24d7f966084c9a0dffce --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/SUBI.HEX" @@ -0,0 +1,2 @@ +:080000003003C00301C003013D +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..639799962449c1c79840a2d368227775a38b891b --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.ASM" @@ -0,0 +1,16 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 00110100B ;SET R1,02H + DB 00000010B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + DB 00110100B ;SET R1,20H + DB 00100000B ; + + DB 10110001B ;XOR R0,R1 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..ec2a33a694c9fde47786f0111d8da12c1071875c --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XOR.HEX" @@ -0,0 +1,2 @@ +:0A000000300F3402B1013420B101C9 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..fc0bdcfde8517b14c4672536826cc8d853363b0a --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.ASM" @@ -0,0 +1,13 @@ +ORG 0000H + + DB 00110000B ;SET R0,0FH + DB 00001111B ; + DB 10110000B ;XORI R0,02H + DB 00000010B ; + + DB 00000001B ;HLT + DB 10110000B ;XORI R0,20H + DB 00100000B ; + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..3dc2ca737bd8aa0363589dd493c95c1bad49f221 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/PROGRAMS/XORI.HEX" @@ -0,0 +1,2 @@ +:08000000300FB00201B0200135 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..3d13749793d7b6d218b11ec97567066933df174e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.ASM" @@ -0,0 +1,80 @@ +ORG 0000H + + DB 00111000B ;SET R2, 00H ; + DB 00000000B ; + DB 00110000B ;SET R0,DDH ;片选8237[1101xxxx],片内地址是8237复位寄存器[xDH] + DB 11011101B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 所有地址和计数寄存器清零,通道0-3全部屏蔽 + DB 00110000B ;SET R0,D0H ;片选8237[1101xxxx],片内地址是通道0地址寄存器[x0H] + DB 11010000B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道0发送首地址0000H(EXROM) + DB 01011000B ;OUT R2, PORT0 ; 写入首地址高8位 + DB 00110000B ;SET R0,D1H ;片选8237[1101xxxx],片内地址是通道0计数寄存器[x1H] + + DB 11010001B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 05H ; ;通道0发送的字节数是6,实际计数值是(6-1)=5 + DB 00000101B ; + + DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + DB 00110000B ;SET R0,D2H ;片选8237[1101xxxx],片内地址是通道1地址寄存器[x2H] + DB 11010010B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 01011000B ;OUT R2, PORT0 ; 写入首地址低8位,通道1接收首地址8000H(EXRAM) + DB 00110100B ;SET R1, 80H ; + DB 10000000B ; + + DB 01010100B ;OUT R1, PORT0 ; 写入首地址高8位80H + DB 00110000B ;SET R0,D3H ;片选8237[1101xxxx],片内地址是通道1计数寄存器[x3H] + DB 11010011B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + + DB 00110100B ;SET R1, 05H ; 通道1接收的字节数是6,实际计数值是(6-1)=5 + DB 00000101B ; + DB 01010100B ;OUT R1, PORT0 ; 写入16位字节数的低8位“05”H + DB 01011000B ;OUT R2, PORT0 ; 写入16位字节数的高8位“00”H + + DB 00110000B ;SET R0,DBH ;片选8237[1101xxxx],片内地址是8237模式寄存器[xBH] + DB 11011011B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 84H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),读传送(01),选择通道0(00) + + DB 10000100B ; + DB 01010100B ;OUT R1, PORT0 ; + DB 00110100B ;SET R1, 89H ; 数据块传送方式(10),地址递增(0),禁止自动重载(0),写传送(10),选择通道1(01) + DB 10001001B ; + + DB 01010100B ;OUT R1, PORT0 ; + DB 00110000B ;SET R0,D8H ;片选8237[1101xxxx],片内地址是8237控制寄存器[x8H] + DB 11011000B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + + DB 00110100B ;SET R1, 85H ; DACK高电平有效(1),DREQ高电平有效(0),不扩展写(0),固定优先级(0), + DB 10000101B ; 普通时序(0),选通8237(1),通道0地址不保持(0),允许M2M传输 (1) + DB 01010100B ;OUT R1, PORT0 ; + DB 00110000B ;SET R0,DFH ;片选8237[1101xxxx],片内地址是8237全4位MASKS寄存器[xFH] + + DB 11011111B ; + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 0CH ; + DB 00001100B ; + + DB 01010100B ;OUT R1, PORT0 ; xxxx1100, 通道0和1全部开放 + DB 00000001B ;HLT + DB 00110000B ;SET R0,D9H ;片选8237[1101xxxx],片内地址是8237请求寄存器[x9H] + DB 11011001B ; + + DB 01010010B ;OUTA R0,IO ; 写IO外设地址A0~A7 + DB 00110100B ;SET R1, 04H ; xxxxx100, 通道0的DMA请求位置位(软件请求) + DB 00000100B ; + DB 01010100B ;OUT R1, PORT0 ; + + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..2b805fdffd2d49031d2eb764e8690cc6dbab4f17 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/8237.HEX" @@ -0,0 +1,5 @@ +:10000000380030DD525830D052585830D152340573 +:10001000545830D2525834805430D3523405545846 +:1000200030DB5234845434895430D85234855430BF +:0D003000DF52340C540130D9523404540115 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.ASM" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.ASM" new file mode 100644 index 0000000000000000000000000000000000000000..8f871d62b7f510b5b7e801410bc69047cee62dd4 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.ASM" @@ -0,0 +1,18 @@ +ORG 0000H + + DB 00111000B ;SET R2, 00H ; + DB 00000000B ; + DB 00110100B ;SET R1, 80H ; + DB 10000000B ; + + DB 00110000B ;SET R0,FFH ;写入外部存储器EXRAM地址[80H]的数据 + DB 11111111B ; + DB 01011011B ;OUTA R2,M_L8 ; 写外部存储器低8位地址A0~A7[00H] + DB 01010111B ;OUTA R1,M_H8 ; 写外部存储器高8位地址A8~A15[80H] + + DB 01010001B ;OUT R0,PORT1 ; R0数据写入外部存储器EXRAM + DB 00000001B ;HLT + DB 01001101B ;IN R3,PORT1 ; 外部存储器EXRAM数据写入R3 + DB 00000001B ;HLT + +END \ No newline at end of file diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..64f88857e092e1e43501907919c1025ffd90d306 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXRAM.HEX" @@ -0,0 +1,2 @@ +:0C0000003800348030FF5B5751014D0187 +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.HEX" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.HEX" new file mode 100644 index 0000000000000000000000000000000000000000..782da904ee090a348418b36e725734995f2e4a1e --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.HEX" @@ -0,0 +1,2 @@ +:0C00000048454C4C4F2148454C4C4F21CA +:00000001FF diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.asm" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.asm" new file mode 100644 index 0000000000000000000000000000000000000000..db8cbc81911e51e500c5ee84f94230f72914212d --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/test/EXROM.asm" @@ -0,0 +1,16 @@ +ORG 0000H + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' + DB 01001000B ; 48H 'H' + DB 01000101B ; 45H 'E' + + DB 01001100B ; 4CH 'L' + DB 01001100B ; 4CH 'L' + DB 01001111B ; 4FH 'O' + DB 00100001B ; 21H '!' +END diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$OP\347\240\201.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$OP\347\240\201.docx" new file mode 100644 index 0000000000000000000000000000000000000000..d90186b39a29fe8635bd3271830e5b63156bbbe4 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$OP\347\240\201.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ecb98aa8f0898615062dd88fe3d58c8769cb751b Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/~$\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" new file mode 100644 index 0000000000000000000000000000000000000000..ff014d035a5987b725cd2192963c5d88403a5c14 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\214\207\344\273\244\346\240\274\345\274\217.docx" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..0cd161f9b4b2b03fb19f21c6f0782d63faace224 Binary files /dev/null and "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj" differ diff --git "a/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" new file mode 100644 index 0000000000000000000000000000000000000000..ed751cd05480088b194a71407fa26c2ba8c5e5b1 --- /dev/null +++ "b/\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213/\346\272\220\344\273\243\347\240\201\345\267\245\347\250\213\343\200\220\345\237\272\344\272\216proteus\347\232\204\350\256\241\347\256\227\346\234\272\347\263\273\347\273\237\345\256\236\351\252\214\346\225\231\347\250\213\343\200\221/\347\254\254\345\233\233\347\253\240 \345\276\256\346\234\272\346\216\245\345\217\243\345\256\236\351\252\214\343\200\220\346\265\201\346\260\264\347\272\277\343\200\2212017\347\211\210/\345\256\236\351\252\2144.8 DMA\345\256\236\351\252\214 8237 \346\265\201\346\260\264/\346\265\201\346\260\264\347\272\277CPU+8237.pdsprj.PCOS-20141025FC.Administrator.workspace" @@ -0,0 +1,97 @@ + + + + 2c00000002000000020000000083ffff0083ffffffffffffffffffff5f0100000000000080070000f1030000 + + + + + + + + 1670 + No + 100 + 120 + 100 + + + + + 87 + No + Yes + 87 + Yes + No + No + Yes + 0 + 87 + 100 + 87 + 0 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + 2 + Yes + 2 + Yes + Yes + 00000000 + + + + + + + + + + + + + + diff --git "a/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/01_REG.PDF" "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/01_REG.PDF" new file mode 100644 index 0000000000000000000000000000000000000000..120fe61e5a776167a71729a60bdd3db19b9740fd Binary files /dev/null and "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/01_REG.PDF" differ diff --git "a/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-41].pdsprj" "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-41].pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..b8095284b6f45a35d3a653d42faaf1309c1bae69 Binary files /dev/null and "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-41].pdsprj" differ diff --git "a/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-46].pdsprj" "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-46].pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..3860063c43c1f7de0032d7c9f7c6359813d482d7 Binary files /dev/null and "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-46].pdsprj" differ diff --git "a/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-47].pdsprj" "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-47].pdsprj" new file mode 100644 index 0000000000000000000000000000000000000000..09594a74a780792618624f2f9a5bc541253476d9 Binary files /dev/null and "b/\345\256\236\351\252\214\344\270\200 \345\257\204\345\255\230\345\231\250\347\273\204\345\256\236\351\252\214/\344\273\243\347\240\201/Project Backups/REG [20250630, 20-41-47].pdsprj" differ