first of all, I am a beginner in assembly language and right now I am studying microprocessor. We programed some small programs. However, I am working on program called "Basic Encryption Scheme (BES)" The idea is to to toggles the low order of bit of a character entered by the user. then, take input from 1-9 and add it to the toggled character. finally, print it out. For example, if the input character is A and the input key value is 6. the program should take the ASCIl value of A, 01000001, toggle bit [o:o], producing 01000000 and then add the input value key, 6. The final output character would be 01000110. which is the ASCII value F
The good news is that I programmed almost everything : => I programmed a message that take more than one characters and save them in [si] => I programmed a message that take input key value and convert it to register and save it in bl => I programmed a cod that will take the string from [si] and [di] and print them on screen.
just what I need a cod that apply the method of Basic Encryption Scheme by taking the string from [si] and key from (bl).
thank you