ABNIAC The following slide presentation is to acquaint the student with ABNIAC.

ABNIAC The following slide presentation is to acquaint the student with ABNIAC. www.phwiki.com

ABNIAC The following slide presentation is to acquaint the student with ABNIAC.

Brooks, Lynn, News Director; Anchor has reference to this Academic Journal, PHwiki organized this Journal ABNIAC The following slide presentation is to acquaint the student with ABNIAC. The version used as long as presentation is the Java version, which can be found at http://klingon.cs.iupui.edu/~aharris/abniac/java/. Click to start ABNIAC This is ABNIAC. (The Java version) These are the comm in addition to s used in ABNIAC – Store, Add, Compare, Jump, Output, ASCII output, Halt, Run.

Universidad Mariano Glvez GT www.phwiki.com

This Particular University is Related to this Particular Journal

ADD is used to add the value of two cells (locations) together. When you select the ADD comm in addition to , you will be asked as long as the location of the first value, the second value in addition to the location to store the answer. The COMPARE comm in addition to compares the value of two cells. The value of the first location to compare (test), the location of the second value to test, in addition to the location of a comm in addition to to jump to if the values in those two location are equal. STORE is the way ABNIAC h in addition to les input. When you press the STORE button, you will be asked as long as the value you wish to store in addition to the address (location) you want to store the value to. The JUMP comm in addition to moves the program control to different parts of the memory. JUMP in addition to COMPARE comm in addition to s are often used in conjunction with each other. This allows the program to repeat parts of itself This comm in addition to is used to send output to the user. The only parameter the OUTPUT comm in addition to accepts is the location to output. The location is read in addition to the user sees a window with the value of that location in it. The in as long as mation displayed in the window will generally be an integer. When the HALT comm in addition to is encountered in ABNIAC, it stops looking as long as comm in addition to s to execute When you activate the RUN comm in addition to , ABNIAC will attempt to process the comm in addition to s you placed in memory. The program will run until encounters HALT comm in addition to or runs out of memory. ASCII Output is a variant of the OUPUT comm in addition to . It has only one parameter like the OUTPUT comm in addition to . It too reads the location in addition to a window appears with the in as long as mation in it. But, instead of an integer, a text character will appear.

When you click on Store, you will type in the value you want to store in addition to the address (location) you want to store it in. Then click on OK Here the value of 65 is being stored in the address (location) of 20. Click OK You will see that the computer will store the value of 65 in location 20. Next click on the output you want. -Output is as long as displaying integers (numbers) -ASCII Output is as long as displaying text.

Click on Output Then Click on OK This will display the value of location 20. Click on ASCII Output Now click on OK

This will display the value in location 20 as text Click on Halt. This is to stop the program from running away. Click on the Speed menu in addition to select the speed you want the program to run at. Medium or Slow is recommended. Once you have chosen the speed, click on Run. This makes the program run. Watch the Output box on the right

The program will run. The first piece of in as long as mation to appear in the Output box will the value 65. The next piece to appear is the letter A. The ASCII character with the value of 65 is A Once the output is done, the program will stop. Creating a program to display a message. Look at the ASCII chart to find the ASCII number that corresponds with letters of you name. Using the STORE comm in addition to , store the ASCII values. Using the ASCII OUTPUT comm in addition to , tell the computer to display each address that was used to store an ASCII value. When all of the output comm in addition to s are written, select the HALT comm in addition to . Select the speed to run the program (medium or slow is recommended). Click on Run Watch the right-h in addition to column as long as the alpha characters to appear, this is the output of the program. The values being stored are 72, 101, 108 in addition to 111

The address (location) the selected values will be stored in are 40, 41, 42, 43 in addition to 44. The desired output will be to ask the computer to display the ASCII character as long as each individual cell (location). Click on HALT. Click on RUN. Look at the display in the right-side column.

Creating a loop in ABNIAC To create a loop in ABNIAC you will use four. comm in addition to s: add, compare (test), jump in addition to halt. Look at the following slides. First you will STORE two values that you are going to add together in addition to what location (address) you want to store them in. The third value stored is the one you will use to compare in addition to what location (address) you want to store it in. You will tell the computer what two locations to go to, ADD whatever the two values are in those locations in addition to then where to put (store) the answer. The COMPARE (test) comm in addition to is used to have the computer look at two locations (address) in addition to ask the computer if the values in the two locations are the same. The line “then jump to the instruction in location 30” tells the computer what to do if the two locations ARE the same value. The JUMP comm in addition to tells the computer where to go if the to values in the two locations are NOT equal. ADD is used to add the value of two cells (locations) together. You MUST use the store comm in addition to first to put the values in a location. You are asking the computer to look in those addresses, take whatever two values are there in addition to add them together. The first value in addition to location The second value in addition to location (also called the counter) The third value in addition to location The values entered into the locations can change. The location (address) does not. Compare – This comm in addition to compares the value of two cells; this comm in addition to has three parameters: the value of the first location to compare, the location of the second value to compare, in addition to the location of a comm in addition to to jump to if the values in those two location are equal; First location Second location Location to jump to Compare comm in addition to is an example of what is called a condition. It can be used to program concepts called loops.

Brooks, Lynn News 7 Midday - WVUA-TV News Director; Anchor www.phwiki.com

The JUMP comm in addition to moves the program control to different parts of the memory JUMP in addition to COMPARE comm in addition to s are often used in conjunction with each other. This allows the program to repeat parts of itself. This line tells the computer what location to go to if the locations have the same value; what ever the comm in addition to is in that location, the computer will do. If those two location do not have same value, this line tells the computer to go to a location; this will enable it to repeat an action. (What action will the computer do again so that the two locations will have the same value)

Select the speed to run the program. Tell the computer to run the program Watch as the computer runs through the program in addition to watch the display to the right. When the two locations (in this program 50 in addition to 52) have the same value, the program will stop.

Brooks, Lynn News Director; Anchor

Brooks, Lynn is from United States and they belong to News 7 Midday – WVUA-TV and they are from  Tuscaloosa, United States got related to this Particular Journal. and Brooks, Lynn deal with the subjects like International News; Local News; National News; Regional News

Journal Ratings by Universidad Mariano Glvez

This Particular Journal got reviewed and rated by Universidad Mariano Glvez and short form of this particular Institution is GT and gave this Journal an Excellent Rating.