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

  Specific heat of gold

When a 50.0-g nugget of pure gold is heated from 35.0 degrees c to 50.0 degrees c,it absorbed 5200.0 j of energy.find the specific heat of gold.

  Presidential impoundment of funds

Presidential impoundment of funds is given as an example of

  Autobiographical or fictional account by a slave

Explain whether you think an autobiographical or fictional account by a slave (such as Phillis Wheatley and Olaudah Equiano) is more persuasive than a biographical or fictional account by a white author (such as John Gabriel Stedman or Aphra Behn)..

  What is the task method to budget for marketing promotions

If a marketing manager uses the task method to budget for marketing promotions, are competitor’s promotions spending levels ignored?

  Popular culture course

Provide a rationale explaining why your pop culture interest is appropriate for a popular culture course.

  Determine the absolute pressure and density at vail pass

The maximum power output capability of an engine decreases with altitude because the air density and hence the mass flow rate of air decreases.

  Manufacturing systems and synthetic manufacturing systems

Compare and contrast analytic manufacturing systems and synthetic manufacturing systems, giving an example of each.

  Major types of criminological research

Mention the major types of criminological research. Analyze at least three theories of these research tools, and explain the benefits and limitations of these types of research.

  Essentially analyse the position of the leader

Essentially analyse the position of the leader

  Types of standards and indicators-performance measurement

Identify the types of standards and indicators used in performance measurement and evaluate some of the barriers and issues with those performance measurements.

  Member of your support group

Which of the following is NOT a good trait to have in a member of your support group?

  Define the concept agents of socialization

Define the concept, "agents of socialization". What agents of socialization would you consider to be the most significant or influential in the U.S. today and why

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