Please include steps and comments. Starter Code: title Title of Program (skel.asm) .model small ; one data segment, one code segment .stack 100h ; reserves 256 bytes for the stack .386 ; for 32 bits .data ; start definition of variables ; your variables go here .code ; start code portion of program main proc ; start of the main procedure mov eax,@data ; load the address of the data segment into eax mov ds,eax ; load the address of the data segment into ds ; the two previous instructions initalize the data segment ; your code goes here ; the following two instructions exit cleanly from the program mov eax,4C00h ; 4C in ah means exit with code 0 (al) (similar to return 0; in C++) int 21h ; exit main endp ; end procedure end main ; end program
Please include steps and comments.
Starter Code:
title Title of
.model small ; one data segment, one code segment
.stack 100h ; reserves 256 bytes for the stack
.386 ; for 32 bits
.data ; start definition of variables
; your variables go here
.code ; start code portion of program
main proc ; start of the main procedure
mov eax,@data ; load the address of the data segment into eax
mov ds,eax ; load the address of the data segment into ds
; the two previous instructions initalize the data segment
; your code goes here
; the following two instructions exit cleanly from the program
mov eax,4C00h ; 4C in ah means exit with code 0 (al) (similar to return 0; in C++)
int 21h ; exit
main endp ; end procedure
end main ; end program
![Task:
Write a program in assembly (Emu8086) to print out the largest prime factor of 116924417
Your solution runtime MUST BE LESS than 23.0 Seconds](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5f7c8623-2d2f-4c2a-80b1-708480839177%2F9002bb73-0cc8-453b-b1e1-7e2901924882%2Fnhnxosk_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)