1. How much space is there between $200 and $5FF in bytes? 
1024 bajta

2. Fill 512 bytes of memory from location $200 with value $1. 

LDA #$1 
LDX #$0 

Loop:
STA $200 , X  
STA $400 , X  

INX 
BNE Loop

3. Fill half of the memory with one and other half with another colour. 

LDA #$0
LDX #$0

Loop:
LDA #$5
STA $200 , X
STA $300 , X

LDA #$4
STA $400 , X
STA $500 , X

INX 
BNE Loop

4. Store one 32 bit number in memory starting at $200, another at $210. Choose how to store the number yourselve. Add those numbers and store result in $220. 

LDA #$10
STA $0200  
LDA #$32
STA $0201
LDA #$12
STA $0202          
LDA #$19            
STA $0203         
 
LDA #$14
STA $0210     
LDA #$43
STA $0211
LDA #$23
STA $0212         
LDA #$35         
STA $0213          
 
CLC ; 
 
LDA $0200       
ADC $0210 
STA $0220           
 
LDA $0201         
ADC $0211 
STA $0221
 
LDA $0202      
ADC $0212 
STA $0222
 
LDA $0203
ADC $0213 
STA $0223

1.5. Create two dots in the middle of the „video memory”. Animate them moving in oposite directions, first on X then on Y axis. Repeat until reset.

LDY #0
Loop:
LDA #$00
STA $400,Y
STA $41e,y
INY 

LDA #$05
STA $400,y
STA $41e,y
LDX #0

wait:
INX 
CPX #$FF
BNE wait
CPY #31
BNE Loop

STA $0200
LDY #$00
STY $01
LDY #$02
STY $02
LDY #0

Loop:
LDA #$00
STA ($01),Y
LDA $01
CLC
ADC #32
STA $01
LDA $02
ADC #0
STA $02
LDA #$01
STA ($01),y
Loop:
LDX #0
wait:
INX 
CPX #$FF
BNE wait
LDA $02
CMP #$06
BCC Loop;
