 |
|
|
|
|
 |
|
| |
|
| |
|
|
Montek Electronics offers a
selection of electronics for education, recreation, home and commercial
use.

|

|
| |
| |
|
ecPlace |
|
|
|

Located in Canada
Shipping Worldwide |
|
|
|
|
|
©Copyright 2002
Montek Electronics
All Rights Reserved
|
| |
Book 3: Software Programming Course
CONTENTS
Welcome to the World of Computers
Functions of Each Component
Memory
Accumulator and Registers
ALU (Arithmetic Logic Unit)
Keyboard and LCD Display
Input and Output Ports
Microprocessor's Instructions and Programming
Instruction Format
Outlook of the LCD Display
Line Number
Instruction
Operand(s)
Comments
Hexadecimal Numbering System
What is Flow-chart
How To Read Flow-chart
Keyboard and Operation
How To Run The Program
Initial Menu
Selecting a Mode of Operation
Program Mode (PGM)
To Enter An Instruction Code
Other Types of Move Instructions
Steps To Enter Type2/Type3 Instructions
Editing Instruction Lines
To Correct or Remove an Instruction Code
To Insert a New Instruction Code
Debug Mode
To Display the Contents of Zero-Flag and Carry-Flag
Game Mode
References:
Instructions Set
Carry-flag and Zero-flag
Input/Output Instructions
Move Instruction
Arithmetic Instructions
Shift Instructions
Increment/Decrement Instructions
Jump Instructions
Comparison Instruction
Beep Instructions
Time Control Instructions
Other Instructions
About Project-401 to Project-500
Software Projects
401. Light LEDs
402. Light On/Off LEDs
403. A Binary Counter - Increment Value by ADD Instruction
404. A Binary Counter - Decrement Value by SUB Instruction
405. Light LEDs Sequentially with AND Instruction
406. Light LEDs Sequentially with OR Instruction
407. Turn On and Off LEDs Sequentially with XOR Instruction
408. Moving LEDs Light with ROL Instruction
409. Moving LEDs Light with ROR Instruction
410. Night Rider's LEDs with ROL/ROR Instructions (1)
411. Night Rider's LEDs with ROL/ROR Instructions (2)
412. Binary Counter with INC Instruction
413. Binary Counter with DEC Instruction
414. Sound Do as Do, Re, Mi
415. Sound a Series of Musical Scale
416. Let's Input Data to Program
417. Hidden Key Triggers Sound and Turns All LEDs On
418. Stacked MOV Instructions
419. Changing Order of LEDs by Switch
420. A Musical Scale Sound by 51 Key
421. Arithmetic addition of two binary values
422. Arithmetic subtraction of two binary values
423. Arithmetic Multiplication of Two Binary Values
424. Arithmetic Division of Two Binary Values
425. Displays Number 0 To 9 on 7-segment LED (1)
426. Change Order of Numbers Display on 7-segment LED (2)
427. Switches S1-S4 Light Hex Number On 7-Seg LED
428. 8-Key Organ
429. Lighting Spade, Diamond, Heart, and Club on the LCDs Display (Basic)
430. Lighting Spade/Heart and Diamond/Club on the LCDs Display
431. Lighting Spade, Diamond, Heart, and Club by Static Drive Circuit
432. Lighting Spade, Diamond, Heart, and Club by 1/2 Duty-1/2 Bias Circuit
433. Lighting Spade/Diamond and Heart/Club by 1/2 Duty-1/2 Bias Circuit
434. Lighting Spade/Diamond and Heart/Club Alternately by 1/2 Duty-1/2 Bias Circuit
435. Lighting Spade, Diamond, Heart, and Club by 1/2 Duty-1/2 Bias Circuit
436. Results of Logical Operations AND, NAND, OR, and NOR
437. Results of Logical Operations XOR and XNOR
438. Results of Logical Operations AND/NAND with 4-Switch Entry
439. Results of Logical Operations OR/NOR with 4-Switch Entry
440. Results of Logical Operations XOR/XNOR with 4-Switch Entry
441. Logical AND/NAND Gate for Driving External Circuit
442. Logical OR/NOR Gate for Driving External Circuit
443. Logical XOR/XNOR Gate for Driving External Circuit
444. Find a Leading Edge of Input Pulse
445. Finding a trailing Edge of Input Pulse
446. Finding a leading and trailing Edges of Input Pulse
447. A Pulse Stretcher
448. Starting a Delayed Pulse
449. Pulse Stretcher By Counting a Clock
450. Counting External Pulse To Advance Decimal Counter
453. Counts an External Clock (1)
454. Counts an External Clock (2)
455. Counts an External Clock (3)
456. Counts an External Clock (4)
457. Counts an External Clock (5)
458. Counts an External Clock (6)
459. 3-Minute Timer
460. Multi-Function Timer (1)
461. 15-Minute Timer with 7-segment Display
462. Multi-Function Timer (2)
463. Digital Organ with PHOTO-TRANSISTOR (1)
464. Digital Organ with PHOTO-TRANSISTOR (2)
465. Digital Volume Changer (1)
466. Digital Volume Changer (2)
467. Digital Volume Changer (3)
468. Digital Volume Changer (4)
469. Digital Volume Changer (5)
470. Illumination Controlled by PHOTO-TRANSISTOR (1)
471. Illumination Controlled by PHOTO-TRANSISTOR (2)
472. Illumination Controlled by Oscillator and PHOTO-TRANSISTOR (1)
473. Illumination Controlled by Oscillator and PHOTO-TRANSISTOR (2)
474. Illumination with Speed Control (1)
475. Illumination with Speed Control (2)
476. Sawtooth Waveform Generator
477. Triangular Pulse Generator
478. Digital Level Indicator
479. Digital Lux Meter (Display In Binary)
480. 4-Bit ND Converter (Display in Binary)
481. 4-Bit ND Converter (Display in Hexadecimal On 7-Segment LED)
482. Digital Lux Meter (Display In Hexadecimal)
483. Audio Level Meter
484. Audio Level Meter With Peak-Holding Capability
485. Lighting Sign Board
486. Digital Dice
487. Digital Roulette
488. Digital Slot Machine
489. Up/Down counter
490. Digital Metronome
491. Frequency Counter
492. Dynamic Lighting of 7-segment LED
493. Lighting LED with Pulse Width Modulation
494. Majority Logic Gate (2)
495. Lighting LCD Segments by Static Drive
496. Digital Buzzer
497. RhythmBox(1)
498. RhythmBox(2)
499. Rhythm Box (3)
500. Rhythm Box (3)
|