Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Write a quick program in C-64 BASIC that will create a variable, and assign it with the decimal value ‘63’. The program will add ‘1’ to this variable and print the result, all in BASIC.
The 2nd part of this program is to do the entire program using Assembly. Load it into $0800 and from the C64 prompt, use the ‘sys’ command to run it. You don’t have to output the result to the screen, instead, store the result in location $0840.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- I am learning C++ and would like to make cleaner code. I am learning on Udemy.com how having the main at the bottom of the program helps when making blocks of code. What I would like to do is take some code I already have, and have the user enter two prime colors to make a mixed color, then ask the user if they would like to mix another color with two of the same prime and one other prime color to get: yellow-green, yellow-orange, orange-red, red-purple, blue-green, and blue-purple. Is my logic flawed? What is the correct logic? How would I set up this code to have different functions outside the main with the main at the bottom? I know it is supposed to read the information first somehow. I just can't process how to write it. #include <iostream>#include <string> using namespace std; int main() { string arr[] = {"red", "blue", "yellow"}; int color1, color2; string mixedColor; char choice; do { cout << "Enter one prime color followed by a second…arrow_forwardprogram must include a processing loop that allows multiple sets of data to be processed and the program should be terminated when there is no more data to process Develop a program in python that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 Run the program with the following values: Start Stop Multiplier 2 10 4 4 12 6arrow_forwardMy question is for C programming. Create a while loop. Before the loop ask the user to enter an integer. Go through the loop as many times as the number entered. The loop stops as soon as the user enters 100 or -100. Keep count of the number of times you’ve gone through the loop and print this number in the loop.arrow_forward
- How do I write a python program that prints a 3-column table showing the circumference and area of ten circles of a specified random radius. The area and circumference are calculated and printed by a custom function that takes a radius as its only argument. The low and high values for the range of random radii are specified by user inputs in main. The main function should then use these high and low values and the random module in a loop to generate random integers and execute the custom function with the random integers as radii. In the table, the radius column should be 6 charas. wide with 1 decimal, the circumference column should be 12 charas. wide with 3 decimals, and the area column should be 11 charas. wide with 2 decimals.arrow_forwardWrite a C++ program that does the following: Your main function will display a menu with the following options: 1- Calculate average 2- Calculate minimum 3- Calculate maximum 4- Write data to a file 5- Read data from a file 6- exit You will need to implement the above menu using the switch selection structure. You need to validate that the user enters a valid value (an integer between 1 – 6). The logic will keep looping non-stop till the user enter “6” which means the program will exit When the user enters “1” (calculate average), you need to call a function called calcAverage that returns nothing and accept no parameter. When the user enters “2” (calculate minimum), you need to call a function called calcMinimum that returns an integer and accept no parameter. Then the main function will print the value returned from that function When the user enters “3” (calculate maximum), you need to call a function called calcMaximum that returns nothing and accept no parameter. When the user…arrow_forwardthis is related to a c++ flowchart by the way also here is a hint or other things you need to do hint 1:You will need to use at least one loop of some sort. hint 2:Since you don't know how a computer could tell if you have successfully deciphered the text, you will need to ask a human (a.k.a. a user) for their input on whether the resulting text makes sense. also you need to use google docs for this work and can you please explain each post very well thank you i would really appreciate itarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education