Question: Assemably using (NASM.asm) not anything else Write a program using the appropriate string primitive instructions that iterates through the string I DON'T KNOW WHAT WERE
Assemably
using (NASM.asm) not anything else
Write a program using the appropriate string primitive instructions that iterates through the string "I DON'T KNOW WHAT WERE YELLING ABOUT!" and converts each character to its lowercase counterpart and stores the resulting string in another location. Be sure to comment your code extensively. use your debugger to ensure that the program is working without any errors
the code should be look like this
1 Console Output 2 Materials- NASM (32-bit) 3Copyright (c) 2017 Hall &Slonka 4. ; Uses system call information from Chapter 10 6 7 SECTION .data 8 s1: DB "Hello Universe", 10, e 9ens1: EQU ($- s1) 10 11 SECTION .text 12 global _main 13 main: 14 15 print: mov eax, 4 16 17 18 19 20 21 done: 22 mov eax, 1 23 mov ebx, 24 int 80h ; syswrite G stdout ; starting address of string mov ebx, 1 mov ecx, s1 mov edx, lensi; len of string int 80h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
