In this Repo you will find little programs implementing some common algorithms. The programs are implemented on a x8086 microprocessor and you will need an emulator in order to execute them.
Download Link here
The asks for a sentence and it prints the number of the characters of each word in a new line.
The program asks for three decimal numbers (0-9) and it prints two lines, the first line are the numbers sorted by ascending order and the second line are the numbers sorted by descending order. The programm *Beeps* on wrong input such as a character instead of a number
Converter converts a binary number to a decimal one. It asks for an 8length binary input, it converts it to decimal and it prints it on the console. The progaram BEEPS when the input is not a binary (0-1).
A classic program where a user types a sentence and a character and the program counts how many times the character exists in the sentence and in what positions.
Note: In order to submit your sentence press "!".
The HexOperator asks for two hexadecimal inputs and then for an operation to apply on those two hexadecimals. The output is on decimal. In case of wrong input (e.g a non hex symbol or a non supported operation) it prints again the message for reading the input.
By providing a text as an input, the program finds out which word is the longest one and it prints it.
Note: In order to submit your sentence press "&".