Skip to content

Instantly share code, notes, and snippets.

View ManeeshaPerera's full-sized avatar

Maneesha Perera ManeeshaPerera

View GitHub Profile
@ManeeshaPerera
ManeeshaPerera / CaesarCipher.asm
Created November 14, 2016 11:33
The following program is a CaesarCipher encryption algorithm written in MIPS assembly language
.data
prompt: .asciiz "Encrypt(E) or Decrypt(D) ?"
indata: .space 20
plaintext: .asciiz "Enter Plain text: "
ciphertext: .asciiz "Enter Cipher text: "
data: .space 40
Key: .asciiz "Key ?"
WrongKeyword: .asciiz "\nPlease enter a valid character"
.text
main: