Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Indicate the size (8- or 16-bit) of each of the following registers. R0 R24 PORT

ID: 3783762 • Letter: I

Question

Indicate the size (8- or 16-bit) of each of the following registers. R0 R24 PORTA Data memory Location $300 Program memory Location $300 For Question 1, indicate the largest value (in decimal) that each register can contain R0 R24 PORTA Data memory Location $300 Program memory Location $300 For Question 1, indicate the largest value (in hex) that each register can contain. R0 R24 PORTA Data memory Location $300 Program memory Location $300 Who generates each of the following files and what is the use of each. .asm .1st .obj eep .hex

Explanation / Answer

R0 = 8-bit R24 = 8-bit PORTA = 8-bit Data memory location $300 = 8-bit Program memory location $300 = 8-bit R0 = 255 R24 = 255 (decimal) PORTA = 255 Data memory location $300 = 255 Program memory location $300 = 255 R0 = FF R24 = FF PORTA = FF Data memory location $300 = FF Program memory location = FF .asm is generated by programmer and is used to store assembly source code .lst is generated by assembler and is used for source listing, symbol table, cross-reference, register banks, errors .obj is also generated by assembler, used to stores object code .eep is also generated by assembler and used to store details associated to EEPROM .hex is generated by assembler and contains machine level language.