Game that used to be popular among computer hobbyists

Assignment Help Other Subject
Reference no: EM13286735

A game that used to be popular among computer hobbyists is core wars—a variation of battleship. (The term core originates from an early memory technology in which 0s and 1s were represented as magnetic fields in little rings of magnetic material. The rings were called cores.) The game is played between two opposing programs, each stored in different locations of the same computer’s memory.

The computer is assumed to alternate between the two programs, executing an instruction from one followed by an instruction from the other. The goal of each program is to cause the other to malfunction by writing extraneous data on top of it; however, neither program knows the location of the other.

a. Write a program in the machine language of Appendix C that approaches the game in a defensive manner by being as small as possible.

b. Write a program in the language of Appendix C that tries to avoid any attacks from the opposing program by moving to different locations. More precisely, beginning at location 00, write a program that will copy itself to location 70 and then jump to location 70.

c. Extend the program in (b) to continue relocating to new memory locations. In particular, make your program move to location 70, then to E0 ( 70 70), then to 60 ( 70 70 70), etc.

Reference no: EM13286735

Questions Cloud

Pest analysis and porter 5 forces analysis : discuss whether you think PEST analysis and Porter's 5 Forces analysis would could be useful tools for HD executives to ultimately help them make wise strategic choices.
Capita vital rates is population growth constant : If a population has a constant per capita vital rates, is population growth constant, or does it depend on pop size?
Calculate lateral and vertical deflection of bullet arising : A marksman at 37 degrees N fires a 10 g bullet toward the east at a paper bullseye target 900 m distant. The speed of the bullet just after leaving the muzzle is approximately 900 ms^-1, and it arrives at the targer traveling 350 ms^-1. Calculate the..
Using command-line account management : Creating Groups for Your Domain. Creating User Templates for Each Department. Creating Users for Your Departments. Using Command-Line Account Management
Game that used to be popular among computer hobbyists : A game that used to be popular among computer hobbyists is core wars—a variation of battleship. (The term core originates from an early memory technology in which 0s and 1s were represented as magnetic fields in little rings of magnetic material.
Judge the extent to which the marketing plan at just us : From the case study, judge the extent to which the marketing plan at Just Us! is outdated. Propose two (2) ways that Just Us! could improve the customer experience and thus sustain future growth.
What are some of the affordances of the telegraph : Discuss the limits on freedom of expression on radio. Are George Carlin’s seven “Filthy Words” as shocking today as they were in the 1970s? Why or why not? Describe a time when you heard something on the radio that was shocking. What are some of the ..
Problems decoding online messages : Have you ever experienced problems decoding Online messages (e.g. facebook, using text messaging, over e-mail etc.) What can you do to reduce the ambuiguity online or mediated, or messages?
What is a binomial system of nomenclature : What is a binomial system of nomenclature , and why is it used ? Explain the important contributions microorganisms make in the earth's ecosystems. Trace the pathway of light from its source to the eye, explaining what happens as it passes through th..

Reviews

Write a Review

Other Subject Questions & Answers

  Business practices of an organization

Do you believe that human psychology plays an important part in determining the business practices of an organization?

  Relationship between religion and national origin

Explain the relationship between RELIGION and NATIONAL ORIGIN and relevant EEO statutes and or regulations.

  Mitigate tribal poverty and encourage prosperity

How well do you think Native American organizations, like the Bureau of Indian Affairs, the National Congress of American Indians, and the National Indian Gaming Association, are helping Native Americans to advance?

  Provide the infrastructure and hardware control

includes all the programs that provide the infrastructure and hardware control needed for a computer, its peripheral devices, and other programs to function smoothly.

  Karl marx’s and max weber’s view on social stratification

What are the differences and similarities between Karl Marx’s and Max Weber’s view on social stratification?

  Particular type of group that uses particular leadership

In a group environment, should leaders be assigned at the beginning of a project or should leaders emerge as the group is working on the project? Outline the positives and negatives of each approach. Is there a particular type of group that uses a pa..

  What would be a good way for you to measure productivity

what would be a good way for you to measure productivity? What metric could you create to help you manage your business more strategically?

  Algorithms are used to arrange random data into some order

Algorithm is a method of locating a specific item of information in a larger. Algorithms are used to arrange random data into some order.

  Examples of chemical exposures-classes

List and discuss at least four examples of chemical exposures/classes and the associated skin layers affected; and, in addition, describe at least four populations at risk and their associated biological agents and conditions

  How to end political congestion in washington

Tea Party advocates are earlier Republicans and Democrats who are fed up with business as usual. Can they really do anything to end political congestion.

  Disparities in healthcare of minorities

Critically discuss in detail what you think about the substantial disparities that exist in the quality and quantity of medical care received by minority Americans.

  Discuss moral responsibility and accountability

Under what situations can human beings be held morally responsible for what they do? Suppose if our actions are determined through other influences, does that get us off the hook.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd