Skip to content

yangtiming/Computer-principle-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer-principle-experiment

Computer-principle-experiment

final report :Taxi billing system design

Simulate the functions of the taxi system, in addition to the basic starting price, mileage calculation, fare display; And start music, cost clearing, stop, DC motor speed adjustable, driving direction display.

you can watch the video from here :

task 1 :Calculate the arithmetic square root

Subtract odd numbers method

The radicand is stored in DS:0000H-->51H(81)

The square root is stored in DS:0004H-->09H(9)

task 2 :Statistics the number of positive, negative, and zero zeros

As is shown in

The first pic is the output of the run

The second pic shows an array record in an internal memory unit

task 3 :The average sum

The function of this program is to save the 30 scores input by the keyboard into the memory BUFFER, and then convert the input ACSCII code into a hexadecimal SUM stored in SUM, take the average value through the DIV function, and display the average value and the SUM on the screen

task 4 :Use 8255A to achieve interrupt

task 4 :The output of second pulse signal is realized by 8253/8254

About

Computer-principle-experiment Taxi billing system design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published