ldi ra, 0x01 ; set ra = 0x01 ldi rb, 0x02 ; set rb = 0x02 add rc, ra rb ; set rc = ra + rb out 0x02, rc ; send rc to the numerical display