This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ------------------------------------------------------------------- | |
; Sna86. | |
; An 8086 simulator snake! | |
; ------------------------------------------------------------------- | |
; | |
; Assembly program intended to run in an 8086 simulator with functionaliy equal* to one made for homeworks | |
; up to Part 1 Episode 10 of the Peformance-Aware Programming Series (https://www.computerenhance.com/) | |
; by Casey Muratori. Demo - https://youtu.be/s_S4-QHeFMc. | |
; | |
; * mov, add, sub, cmp, je and jne was the target instructions. However I also added loop for convenience, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A two-line colored Bash prompt (PS1) with Git branch and a line decoration | |
# which adjusts automatically to the width of the terminal. | |
# Recognizes and shows Git, SVN and Fossil branch/revision. | |
# Screenshot: http://img194.imageshack.us/img194/2154/twolineprompt.png | |
# Michal Kottman, 2012 | |
RESET="\[\033[0m\]" | |
RED="\[\033[0;31m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" |