The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 338 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
■ What does the binary file look like after assembling our program? What does the CPU do with this binary file? Can I edit the binary file directly? Why is binary viewed in hexadecimal?
■ What does 6502 assembly run on versus x86 assembly? Know the difference.
■ What is an instruction? What is an address? What are the 3 registers we can use?
■ Be able to convert decimal numbers to hexadecimal and binary and vice versa.
■ Be able to do addition, subtraction, AND, OR, and XOR for binary numbers.
■ What is the SP and the PC? What is NV-BDIZC? (Don’t need to know each flag just in general what is it and what does it do?
■ Write code to load the X register with a value from memory.
■ Write code to get the pixel display to display a white pixel travel from the left to the right
■ Write a program that checks for a specific bit using bit shifting.
■ Write a program to load 0x03 into one register and 0x04 into another, add them together and store the answer in memory address 0000.
■ Write a program to load 0x00 into a register, increment it in a loop until it reaches 0x03, the end the program.
■ Come up with an example for each of the following addressing modes: Absolute Zero Page Zero Page, X Zero Page, Y Absolute, X Absolute, Y Immediate Indirect Indexed Indirect Indirect Indexed
■ Be able to describe situations where we’d like to use Indirect, Indexed Indirect, and Indirect Indexed.
■ Know the difference between Big Endian and Little Endian. Be able to give an example of both. What does 6502 use?
■ If I gave you an example code using each addressing mode, would you be able to tell me what value would be loaded?
■ Are macros a function of the assembly language or the assembler?
■ What’s the difference between JMP and JSR?
■ How do we slow down a program’s execution in assembly? Be able to write code to do this.
■ How are floating point numbers stored vs. how integer numbers are stored?
■ Using a hex editor, how would we be able to change how the program operates? What else can we do with a hex editor?
■ Code up a queue in 6502 assembly. Think of the snake game and how we essentially used a queue for the snake.
NOTE: CODES MUST BE WRITTEN IN 6502JS. HERE IS THE 6502
http://creativetechguy.com/utilityprograms/6502js/6502simulator
----------- ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly