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

(Solved) : Assembly Programming Question Add 1 Several New Lines Code Program Tell D Added Ascii Addi Q31986241 . . . .

 

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.

; ASCII Addition (ASCII_add.asm)

; This program performs ASCII arithmetic on digit stringshaving

; implied fixed decimal points.

INCLUDE Irvine32.inc

DECIMAL_OFFSET = 5 ; offset from right of string

.data

decimal_one BYTE “100123456789765” ; 1001234567.89765

decimal_two BYTE “900402076502015” ; 9004020765.02015

sum BYTE (SIZEOF decimal_one + 1) DUP(0),0

.code

main PROC

; Start at the last digit position.

mov esi,SIZEOF decimal_one – 1

mov edi,SIZEOF decimal_one

mov ecx,SIZEOF decimal_one

mov bh,0 ; set carry value to zero

L1: mov ah,0 ; clear AH before addition

mov al,decimal_one[esi] ; get the first digit

add al,bh ; add

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

(Answered) : Strategy Analysis Choice Involve Making Subjective Decisions Based Objective Information E Q35073802(Answered) : Strategy Analysis Choice Involve Making Subjective Decisions Based Objective Information E Q35073802

<br/><img src="https://media.cheggcdn.com/media%2Feb1%2Feb1a0cea-b1ab-4512-8df9-38bcf9c8b847%2Fimage.png" alt="Strategy analysis and choice involve making subjective decisions based on objective information. Explain this statement and i" aria-describedby="j1t"/>Strategy analysis and choice involve making subjective decisions based on objective