
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
IN x86 assembly,
Provide a scrrenshot of the codes result

Transcribed Image Text:(7 points) Write a function that can find the largest item in the array and returns it. The function takes the array as
an input. From the main function, send initial address, type and length of the array to the function. You can use
registers to send the data to the function. Also return the largest item in the array using EAX register.
You can use the following array for this problem.
Array DWORD 10, 34, 2, 56, 67, -1, 9, 45, 0, 11
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Implement the following pseudo-code in assembly language. All values are unsigned: bx = 5 cx = 8 dx = 4 ax = 0 If (bx <= cx) AND (cx > dx ) { ax = 5; dx = 10; } ; Display values of ax and dx using emu8086arrow_forwardWrite the x86 assembler instruction to perform the following: for(i=x; i>0; --i) { if (y == 1) c= a+2; else c= b*2;arrow_forwardplease use x86 assembly for this problemarrow_forward
- Name addressing modes in MC68000 that are not permitted as a destination are listed, along with the reasons why they are not allowed.arrow_forwardWhat does it mean to be related? How do you define a relation's properties?arrow_forwardWrite a program in x86-64 assembly language that contains an implementation of a pow subroutine.The main routine should ask the user for a positive base and exponent. The program shouldthen calculate the resulting power using the pow subroutine and print the return value.arrow_forward
- Describe how 8086’s Physical Address (PA) is calculated very briefly with examplearrow_forwardConvert following x86-64 assembly language function into C code f2: addl %edx, %esi movslq %esi, %rsi movl (%rdi,%rsi,4), %eax retarrow_forwardWrite assembly code PIC16F87xA 20MzH crystal1. Write a subroutine that initializes UART for Z 9200baud, No parity, 1 stop bit. explain what is the start bit and stop bit and how does it affect the codearrow_forward
- The distinction between parallel and serial programming is clear.arrow_forwardFor pep/9 Name one use for each of the two addressing mode: immediate (i) addressing mode: stack-indexed-(sx)arrow_forwardWhich of the following functions do the processor unit and programmer counter fulfill in the von Neumann architecture?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education