Presentation is loading. Please wait.

Presentation is loading. Please wait.

FPPA. mova, 0b00111111;/// 0 movSEG_PORT, a; set1SEG0_COM; set0SEG1_COM; /// TODO set0SEG0_COM; set1SEG1_COM; /// TODO SEG0_COMSEG1_COM displayLoop:

Similar presentations


Presentation on theme: "FPPA. mova, 0b00111111;/// 0 movSEG_PORT, a; set1SEG0_COM; set0SEG1_COM; /// TODO set0SEG0_COM; set1SEG1_COM; /// TODO SEG0_COMSEG1_COM displayLoop:"— Presentation transcript:

1 FPPA

2 mova, 0b ;/// 0 movSEG_PORT, a;

3 set1SEG0_COM; set0SEG1_COM; /// TODO set0SEG0_COM; set1SEG1_COM; /// TODO SEG0_COMSEG1_COM displayLoop: set1SEG0_COM; set1SEG1_COM; mova, 0b ;// 9 movSEG_PORT, a; set1SEG0_COM; set0SEG1_COM; set1SEG0_COM; set1SEG1_COM; mova, 0b ;// 2 movSEG_PORT, a; set0SEG0_COM; set1SEG0_COM; gotodisplayLoop;

4 mova, a; mova, a; mova, 9; a; ldtablcode_ptr; set1pb.0; set1pb.1; movSEG_PORT, a; set1pb.0; set0pb.1; DigitCode: dc 0b ;/// 0 dc 0b ;/// 1 dc 0b ;/// 2 dc 0b ;/// 3 dc 0b ;/// 4 dc 0b ;/// 5 dc 0b ;/// 6 dc 0b ;/// 7 dc 0b ;/// 8 dc 0b ;/// 9 ROM 01fd 01fe 01ff value code_ptr HILO word DigitCode 0b value index 003f b 004f d 007d f 006f address 00 word

5 songTable: dc1; dc5; dc6; dc5; dc0; (HZ) Do 262 Re 294 Me 330 Fa 349 So 392 La 440 Si 494 Buzzer Tone CPUFPP0 toneTable: dc0;///0:None dc127;///1:Do dc113;///2:Re dc101;///3:Mi dc96 ;///4:Fa dc85 ;///5:So dc76 ;///6:La dc67 ;///7:Si song_count START STOP

6 mova, a; mova, a; mova, song_count; a; ldtablsong_ptr; movsong, a; mova, a; mova, a; mova, song; a; ldtabltone_ptr; movtone, a; song_ptr songTable song_count tone_ptr toneTable song ROM RAM index tone song RAM BZ ldtabl HILO word int HILO word

7 * BZ ** 7 *** RGB-LED**** **** ***** PWM ***** IR ****** MP3 ******* PS/2******** LCM ********* AD**** ****


Download ppt "FPPA. mova, 0b00111111;/// 0 movSEG_PORT, a; set1SEG0_COM; set0SEG1_COM; /// TODO set0SEG0_COM; set1SEG1_COM; /// TODO SEG0_COMSEG1_COM displayLoop:"

Similar presentations


Ads by Google