Course Solutions Uncategorized (Solved) : Assembly Programming Question Add 1 Several New Lines Code Program Tell D Added Encryption Q31986080 . . . .

(Solved) : Assembly Programming Question Add 1 Several New Lines Code Program Tell D Added Encryption Q31986080 . . . .

 

Assembly Programming Question:

Add 1 or several new lines of code to the program below and tellme where and what it was that you’d added.

; Encryption Program (Encrypt.asm)

; This program demonstrates simple symmetric

; encryption using the XOR instruction.

INCLUDE Irvine32.inc

KEY = 239 ; any value between 1-255

BUFMAX = 128 ; maximum buffer size

.data

sPrompt BYTE “Enter the plain text: “,0

sEncrypt BYTE “Cipher text: “,0

sDecrypt BYTE “Decrypted: “,0

buffer BYTE BUFMAX+1 DUP(0)

bufSize DWORD ?

.code

main PROC

call InputTheString ; input the plain text

call TranslateBuffer ; encrypt the buffer

mov edx,OFFSET sEncrypt ; display encrypted message

call DisplayMessage

call TranslateBuffer ; decrypt the buffer

mov edx,OFFSET sDecrypt ; display decrypted message

call DisplayMessage

exit

main

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Nin 1 Given Directed Graph G V E Exactly 2 Edges Every Pair Nodes U V Ev One Edges U V V U Q35924616 . . . .(Solved) : Nin 1 Given Directed Graph G V E Exactly 2 Edges Every Pair Nodes U V Ev One Edges U V V U Q35924616 . . . .

<p><img alt="nin-1 You are given a directed graph G-(V,E) with exactly 2 edges. For every pair of nodes u, v EV, one of the edges (u, v)" src="https://media.cheggcdn.com/media%2F2ca%2F2ca1a9fa-e6ad-45ca-9cdc-d097c31f5b1e%2FphpC7ZbaS.png" style="height:156px;width:766px;" aria-describedby="d3f"/></p>nin-1