Micro Quiz 1-2

What is the difference between the ASCII code of a decimal digit and its decimal value ?
0x03
0x33
0x30
30
What is the difference between the ASCII code of Upper-Case and Low-Case letters ?
0x40
0x20
0x30
20
What does the following instruction do : OUT PORTB, R22
It copies the content of PORTB register to R22 register.
It clears the PORTB and R22 registers
It copies the content of R22 into the PORTB Input/Output register.
Define, in Program memory, the following constants : 0x25 , 125, 0b00001111 starting from memory address 0x200
.DSEG .ORG 0x200 consts: .DB 0x25, 125, 0b00001111
.CSEG .ORG 0x200 .DB 0x25, 125, 0b00001111
.CSEG .ORG 0x200 consts: .byte 0x25, 125, 0b00001111
.CSEG .ORG 0x200 consts: .DB 0x25, 125, 0b00001111
Write instruction to load value 0x55 into the DDRB I/O register.
Ldi R10, 0x55 out DDRB, R10
Ldi DDRB, 0x55
Ldi R20, 0x55 out DDRB, R20
All answers are correct
{"name":"Micro Quiz 1-2", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is the difference between the ASCII code of a decimal digit and its decimal value ?, What is the difference between the ASCII code of Upper-Case and Low-Case letters ?, What does the following instruction do : OUT PORTB, R22","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker