Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
32Activity
0 of .
Results for:
No results containing your search query
P. 1
Microprocessor Systems

Microprocessor Systems

Ratings:

4.63

(16)
|Views: 5,288|Likes:
Published by ibnulwaqt

More info:

Categories:Types, School Work
Published by: ibnulwaqt on Jul 10, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC or read online from Scribd
See more
See less

07/10/2013

 
Microprocessor Systems:
CPU on a single chip is called microprocessor. Amicroprocessor is a Very Large Scale Integrated (VLSI) logic ICwhose logical function is controlled be an instruction code. Thisinstruction code is a specific combination of logic bits needed for amicroprocessor to execute its logic operations. These codes mayinclude instructions to perform logical, arithmetic or input/outputoperations.A microprocessor system is one type of computer system. Allcomputer systems have three basic functional blocks: a processingunit, memory, and input/output. In practice these components areconnected together using either address bus, data bus or controllines.
 
ASSEMBLY LANGUAGE CODE:
CNT EQU 03FD6HAPORT EQU 03FD0HBPORT EQU 03FD2HCODE SEGMENTASSUME CS: CODEORG 0START: MOV AL, 90HMOV DX, CNTOUT DX, ALJ1: MOV DX, APORTIN AL, DXMOV DX, BPORTOUT DX, ALJMP J1CODE ENDSEND START
ASSEMBLER DIRECTIVES USED:
What is assembler directive;
These are just instructions for assemble having no code.
EQU; assigns value to a variable
Segment; it is used when we are going to start aspecific segment
Assume; it tells the assembler to start the ‘cs ’from the keyword ‘code (in this specific code)’
 
Org; org directive allows to set the locationcounter to a desired value at any point in theProgram. The statement ORG 2000H tells theassembler to set the location counter to 2000H.
ENDS/END; ‘end’ is used to terminate theexecution and ‘ends’ is used to to end the anysegment
LABEL:
A label is a symbol or group of symbols used to represent an address,which is not known at the time the statement, is written.

Activity (32)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Toaster97 liked this
Syed Zia liked this
Jubin Mathew liked this
Tanujaram liked this
Lionel Lapinou liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->