QuestionQuestion

Enter your name as an ASCII hex string in the .DATA section of your program. Create a loop and output 1 character at a time in the loop. Hint: NULL terminate your string, use that as a conditional to check for end of string.
1. You will need qtSPIM installed and configured correctly in order to write these programs. Only hand in SOURCE CODE.
2 You will need MS Visual Studio installed and configured correctly in order to write these programs. Only hand in SOURCE CODE.

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

.586
.MODEL FLAT, C
.STACK 1024

includelib MSVCRT ; for putchar function
extern exit:near
extern putchar:near

.DATA
myname db 41h, 4Ch, 41h, 44h, 45h, 20h, 56h, 49h, 43h, 54h, 4Fh, 52h, 00h
;          A    L    A    D    E         V    I    C    T    O    R

.CODE

; public main
main PROC
mov ESI,0 ; set array index to 0...
Loops in Assembly Language
    $20.00 for this solution

    PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

    Find A Tutor

    View available Assembly Language Programming Tutors

    Get College Homework Help.

    Are you sure you don't want to upload any files?

    Fast tutor response requires as much info as possible.

    Decision:
    Upload a file
    Continue without uploading

    SUBMIT YOUR HOMEWORK
    We couldn't find that subject.
    Please select the best match from the list below.

    We'll send you an email right away. If it's not in your inbox, check your spam folder.

    • 1
    • 2
    • 3
    Live Chats