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
TiliK225 [7]
3 years ago
13

Write a C translation of the NASM program below, sticking to the assembly code as much as possible. Use single-letter variable n

ames for function parameters (e.g., int foo(int x, int y)) and for local variables within function (e.g., int z) instead of using x86 register names (in fact registers should never appear in your translation). It is expected that your C code is much shorter than the assembly code.
Computers and Technology
1 answer:
vichka [17]3 years ago
6 0

Answer:

See explaination

Explanation:

mov ebp, esp

and esp, 0FFFFFFF0H

sub esp, 16

mov dword [esp], ?_001

call puts

mov eax, 0

leave

ret

End

The C translation is always expected to be shorter than the assembly language code.

You might be interested in
Knowledge of how Microsoft Word toolbars are designed and organized allows the user to learn the program more easily and use it
Anvisha [2.4K]
A. true 

have a great day
4 0
4 years ago
Read 2 more answers
What type of major application has most changed the way people interact in their daily lives?
kogti [31]
Social media, Facebook has become really popularized as has youtube and tumblr. Many people communicate through messenger on facebook, videos on youtube and just posting different things on tumblr. The way people put themselves out into the world, and portray who they are to people across the world is huge change from say 20 years ago.
5 0
3 years ago
The Hazard Communication Standard, commonly called the “Right-to-Know” law, gives you the right to know what information?
statuscvo [17]
Lets you know if their are any certain hazards or messes on the property like mold or ants
8 0
3 years ago
In last week's meeting we discussed long and short term costs associated with build an buy scenarios using a house as an example
dedylja [7]

Answer:

Custom software designs a software package that is targeted to a particular user community and that meets an organization's specific needs. A lot of these things must be taken into account whenever making a "buy vs. create" decision for a custom software.

Purchasing a wrong program may hinder the process for your business while trying to build one can be expensive and time consuming. The study of these two methods should take into account labor costs, long-term and brief-term costs, and infrastructure costs.

The most popular purpose an organization creates or gets a custom product is that it's special to their organization and if the software is designed effectively it will improve the business' productivity and create its own competitiveness edge.

Moreover, creating a custom software requires a great upfront cost and it also takes a long time to build a proper one.

Labor costs for developing a customized product are often greater than purchasing off-the-shelf solution, as the company has to employ a software developer and build an IT team to create and manage the right software.

There would be maintenance costs in the long run but it wouldn't be as enormous as it was in the building and the process of creation. But, the more significant than cost, is the long-term benefit it brings to the business.

A specific application will improve the workflow of the company, allow the company to retain space with the rate and volume expansion, all of which would help bring financial benefits and distinguish the business from other competitors.

4 0
3 years ago
Why should electronics be allowed in school
dedylja [7]

Answer:

It can help kids with stimulation and it can also help them learn more. also in case of an emergency, kids will be able to reach the authorities easier

6 0
3 years ago
Other questions:
  • Writing a program in a language such as c or java is known as _____ the program.
    10·1 answer
  • What is the name of the file manager in Microsoft Windows? The file manager used in Microsoft Windows is
    14·2 answers
  • What is the main role of LDAP?
    14·1 answer
  • 1) These are operators that add and subtract one from their operands.
    7·1 answer
  • What file does a aac run under
    11·1 answer
  • Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 19
    11·1 answer
  • Does anyone else realize how the only tutor is for math never any other subjects?​
    13·1 answer
  • A user can view <br> and <br> in the Reading pane.
    9·1 answer
  • :) :) :):):):)):):):)):)/):))::)):):):):):)):):)):):))/):):))
    11·1 answer
  • What ethical concerns might arise from applying new IT to law enforcement?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!