Archive

Posts Tagged ‘Assembly’

Assembly Tutorials

December 6th, 2008 1 comment

Here is myprojects during the course microprocessors.  Hope it will help you guys. Here you are can find following programs.

  • Data and Time Showing
  • Controlling DC Motor from/using parallel port
  • Controlling Stepper Motor from/using parallel port

#1 – Data and Time Showing

;—————————————–
;— TERM PROJECT                      —
;— LECTURE: MICROPROCESSORS          —
;— LECTURER: HOSSEIN MEHRABANI       —
;— CODED BY: SAMET KILICTAS          —
;— STUDENT NUMBER: 20040283          —
;— E-MAIL: SAMET@KILICTAS.COM        —
;— CYPRUS INTERNATIONAL UNIVERSITY   —
;— 26-05-2008                        —
;—————————————–
;THE REQUIRED MACROS FOR PROGRAM—————————
;———————————————————-
CURS_POSITION     MACRO ROW,COLUMN
MOV BH,00
MOV AH,02
MOV DH,ROW
MOV DL,COLUMN
INT 10H
ENDM
;———————————————————-
CLS_SCREEN MACRO
MOV AX,0600H
mov bh,00
mov bh,0ah
MOV CX,0
MOV DX,184FH
INT 10H
ENDM
;———————————————————-
SHOW_INSCREEN MACRO STRING
MOV AH,09
MOV DX,OFFSET STRING

Read more…

VN:F [1.9.22_1171]
Rating: 5.5/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Assembly (x86) Turbo Lecture Notes

June 16th, 2008 2 comments

Here is my microprocessors lecture notes. Also you can have information about assembly programming with TASM. All the 20 lectures are available.

Lecture 1

  1. Microcomputers and Microprocessors
  2. Evolution of Intel 80×86 Family Microprocessors
  3. Binary and Hexadecimal Number Systems

Lecture 2

  1. Brief History of 80×86 Family of Microprocessors
  2. Pipelining and Registers
  3. Introduction to Assembly Programming

Lecture 3

  1. Introduction to Assembly Programming (cont. from Lecture 2)
  2. Introduction to Program Segments

Lecture 4

  1. Memory Map of the IBM PC
  2. Pushing and Popping Operations (Stack)
  3. Flag Registers and bit fields

Lecture 5

  1. Flag Registers and bit fields
  2. 80×86 addressing modes.

Lecture 6

  1. Directives and sample programs
  2. Assemble, link and run a program

Lecture 7

  1. Control transfer instructions
  2. CALL statement
  3. Subroutines
  4. Data Types and Data Definition

Lecture 8

  1. Arithmetic and Logic Instructions and Programs
  2. Unsigned Addition and Subtraction

Lecture 9

  1. Unsigned Subtraction
  2. Unsigned Multiplication and Division
  3. Arithmetic and Logic Instructions and Programs

Read more…

VN:F [1.9.22_1171]
Rating: 10.0/10 (4 votes cast)
VN:F [1.9.22_1171]
Rating: +2 (from 2 votes)