lecturer: mu lingling (穆玲玲) email: iellmu@zzu.edu.cn

Post on 20-Dec-2015

309 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Lecturer: Mu Lingling (穆玲玲)Email: iellmu@zzu.edu.cn

About Bilingual TeachingBilingual

能说两种语言的We should teach and learn this course both in English and Chinese based on the school’s plan.

English: PPT ,textbook,homework,testBoth English and Chinese: teaching, asking&answering, lab report

Studying special knowledge in English , not studying English.

About the Textbook

80x86 汇编语言与计算机体系结构(英文版) Introduction to 80x86 Assembly Language and Computer Architecture

Richard C. Detmer

机械工业出版社

Contents of this book

Chapter 1 Representing Data in a Computer

Chapter 2 Parts of a Computer System

Chapter 3 Elements of Assembly Language

Chapter 4 Basic Instructions (指令)Chapter 5 Branching and Looping (分支和循

环)

Contents of this book continue

Chapter 6 Procedures (过程)Chapter 7 String Opreations (字符串操作)Chapter 8 Bit Manipulation (位操作)Chapter 9 The Assembly Process

Macro

Chapter 12 Input/Output (输入输出)

Computer is an instrument

A computer can be viewed from many different levels:

Many people only interested in using applications: such as word processing, gamesComputer programmer often sees it as an instrument to create new applications software.

Developing languages (开发语言)

High-level language (高级语言)C, C++, C#, JAVA,BASIC, PASCAL…

Low-level language (低级语言)machine language (机器语言)assembly language (汇编语言)

example

int x, y, sum;

x=100;y=200;sum=x+y;

x word ?y word ?sum word ?

mov x, 100mov y,200mov ax, yadd ax, xmov sum ,ax

66C705002040006400 66C70502204000C800 66A102204000 66030500204000 66A304204000

High-level languageHigh-level language programmer’s image of the computer is provided by the language complier (编译器) :

Computer stores object types: integer, real, array in named memory locations ;Calculates values of expressions ;Calls procedures ;Executes while loops ;

Computer works at lower level

Architectural level Defined by the machine instructions that the processor can execute.

Assembly language can be translated directly into machine language instructions.With assembly language program, you will understand how the computer works at the lower level.

About this courses

Special basic and required courseA part of Computer Orgnation Principle (计算机组成原理)A part of Software Development (软件开发)

Fundamental concepts 1

Memory addressing (寻址方式) , CPU registers (寄存器) and their usesRepresentation of data in a computer in numeric (数字) formats and as character (字符) stringsInstructions to operate on 2’s complement integers (整数补码)

Fundamental concepts 2

Instructions (指令) to operate on individual bits (位)Instructions to handles strings of characters (字符串)Instructions for branching (分支) and looping (循环)

Fundamental concepts 3

Coding of procedures (过程) : transfers of control (控制转移) , parameter passing (参数传递) , local variables (局部变量) , and preserving (保存) the environment for the calling program.

Supplement (补充)

IA-32 architecture (体系结构)Input/output programming on real mode (实方式) and protected mode (保护方式) .

OutcomesUpon completion of this course, you will be able to:

Simply describe the computer architectureUse instructions in programDevelop simple applications using the assembly languageExplain basic microcomputer terminology, and read textbooks in English

Prerequisite (先修课)

structured high-level language

C/C++

Subsequence (后续课)

Principle of microcomputer & Interface technologyComputer controlling

Recommended readings

1 、《 80x86 汇编语言与计算机体系结构(中文版)》, Richard C. Detmer ,机械工业出版社2 、《汇编语言程序设计(第二版)》,钱晓捷,电子工业出版社3 、《 Windows 汇编语言程序设计教程》,谭毓安,张雪兰,电子工业出版社4 、《 80x86 汇编语言程序设计教程》,杨季文等,清华大学出版社5 、《 Intel 汇编语言程序设计》,罗云彬审

Network Resources

http://www2.zzu.edu.cn/qwfw/http://211.90.241.130:22366/index.asphttp://win32assembly.online.fr/http://www.movsd.com/

My Website

Requirements

Be absorbed in listening ,taking notesEmphasized in understandingReading book, preparing for lesson;Completing homeworkPracticing programming

Interests Group1 、输入输出库的建立建立一个 32 位环境下可以供用户调用的输入输出函数库。2 、保护方式下用 IN/OUT 实现输入输出3 、内核程序的编写编写一个内核程序,对机器的资源进行控制4 、写一个简单的操作系统。汇编是控制机器硬件的有力工具,可以利用它,结合部分 C 实现一个简单的操作系统。

Enjoy Yourselves !

top related