1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
love history [14]
3 years ago
7

I have the assembly for the max. can someone change the variables of it and make it min. I mean, the assembly for finding the mi

n of the flaoting points. Please!!!
.686
.model flat
.code
_max PROC ;name of fucntion
start:
push ebp ; save caller frame pointer
mov ebp, esp ; establish current frame pointer
mov ebx, [ebp+8] ; store address of first array element into ebx
mov ecx, [ebp+12] ; store the size of array into ecx
xor edx, edx ; initialize loop counter edx to zero
fld dword ptr[ebx] ; load first array element arrary onto st(0)
inc edx ; increment loop counter in edx
loopMax:
fld dword ptr[ebx+edx*4] ; load next array element onto st(1)
fcom st(1) ; compare st(0) with st(1)
fstsw ax ; copy the Status Word containing the result to AX
fwait ; insure the previous instruction is completed
sahf ; transfer the condition codes to the CPU's flag register
ja lookNext ; if st(0) > st(1) jump to lookNext to continue with next array element
fcomp ; pop st(0) because new maximum is in st(1)
; after pop, the new max is again in st(0)
lookNext:
inc edx ; increment counter in edx
cmp ecx, edx ; compare array size in ecx with loop counter in edx
jg loopMax ; if ecx > edx then jump to loopMax
pop ebp ; restore caller frame pointer
ret ; return contents of st(0)_max ENDP
end
Computers and Technology
1 answer:
tatyana61 [14]3 years ago
4 0
Bruh i honeselty dont know
You might be interested in
Dawn needs to insert a macro into a Word document. Where can she find the Insert Macro dialog box?
amid [387]

Answer:

Developer tab

Explanation:

Inserting the Macro dialog box can be confusing for many people because the "Developer tab," where it can be found, is <em>hidden by default</em> in Microsoft Word. In order to add this to the ribbon, all you have to do is to go to the File tab, then click Options. After this, click Customize Ribbon. Under this, choose Main Tabs, then select the Developer check box. The Developer tab will then become visible. You may now insert a macro.

6 0
2 years ago
What is this on G00gel Documents , how do I fix it?
mylen [45]

Answer:

Sorry but it donest show the picture

Explanation:

7 0
2 years ago
What is the name of the organization responsible for assigning public ip​ addresses?.
IgorC [24]

The worldwide body in charge of managing and supervising the coordination of the Internet's domain name system  is called the Internet Corporation for Assigned Names and Numbers (ICANN).

The Internet Engineering Task Force (IETF) is a sizable, open, and global community of network architects, operators, vendors, and academics with a focus on the development of the Internet architecture and the efficiency of its operation. Any anybody with an interest is welcome to join the IETF.

The IETF's working groups, which are categorized into various sections by topic, carry out the technical work for the organization (e.g., routing, transport, security, and more). Three times a year, the IETF organizes meetings, but the majority of the work is done via mailing list.

To know more about Internet  click here:

brainly.com/question/5787501

#SPJ4

6 0
1 year ago
Types of function in python programming language​
timama [110]

Answer:

there is  help()  min()  and input() they are the base for python language!
there are some harder ones like User-Defined Functions (UDFs) and set()

4 0
2 years ago
An unmarried person, a divorced person, or a person legally separated from his or her spouse must choose which filing status whe
worty [1.4K]
You can fill out as Head of Household.
5 0
2 years ago
Read 2 more answers
Other questions:
  • The posterior auditory stream terminates in the ________ and is involved in ________.
    12·1 answer
  • Jason is creating a web page for his school's basketball team. He just finished creating his storyboard. Which tool should he us
    6·2 answers
  • A _____ is a modeling tool used in structured systems analysis and design (SSAD) analysis model that helps break down a complex
    13·1 answer
  • Universal Containers has a requirement to integrate Salesforce with an external system to control record access. What option sho
    11·1 answer
  • When engineers consider _____, they propose giving up a benefit of one proposed design in order to obtain a benefit of a differe
    14·1 answer
  • 1. What does a computer
    7·2 answers
  • Select three advantages of cloud computing.
    10·1 answer
  • Which decimal number is equivalent to the hexadecimal number F1?
    14·1 answer
  • In QBasic, create a number guessing challenge. Your program should generate a random number from 1-
    9·1 answer
  • What is destination email address​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!