磨粒磨损试验(Abrasive wear test)_第1页
磨粒磨损试验(Abrasive wear test)_第2页
磨粒磨损试验(Abrasive wear test)_第3页
磨粒磨损试验(Abrasive wear test)_第4页
磨粒磨损试验(Abrasive wear test)_第5页
已阅读5页,还剩27页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、磨粒磨损试验(Abrasive wear test)I. literature retrievalTwo, Origin software operationThree, computer assemblyFour, debugger DEBUGFive 、 familiar with the 80486 instruction systemSix, familiar with assembly language, assembly processSeven, assembler branch program designEight, assembler branch program desi

2、gn twoNine, assembler program design cycleTen assembler cycle programming twoEleven, compilation of integrated proceduresExperiment 1. Literature retrievalExperiment topicBibliography RetrievalTwo, the purpose of the experiment1 familiar with document retrieval methods and procedures.2 learn about s

3、chool electronic databasesThree, experimental content1 learn to use search engine search (search graphene, brief definition, application)2 mastering school electronic database(since the China online journal published by the Shandong University of Science and Technology found in 2006 cited articles,

4、most times he cited many times a rough judgment; using Elsevier database to download Journal of Power Sources 189 document (2009) 779 - 782)3 understand professional websites and forums(register and master the basic functions of the research forum)Contents of experiment report1, experiment topic2, t

5、he purpose of the experiment3, experimental content4, experienceExperiment two ORIGIN software learningExperiment topicORIGIN software learningTwo, the purpose of the experiment1 familiar with the basic functions of software.2 use data as a two-dimensional mapThree, experimental content1 master the

6、basic functions of software2 mapping the given XRD dataContents of experiment report1, experiment topic2, the purpose of the experiment3, experimental content4, experienceExperiment three computer assemblyExperiment topic:Computer assemblyTwo, the purpose of the experiment:1. recognize the component

7、s of a computer2. master assembly stepsThree, experimental content:Assemble a PC machine. Requirements for documentation of computer assembly steps and problems arising during the course of the experiment.Four, thinking:1. what are the types of hard disk interfaces?2. hierarchical structure (hierarc

8、hy) of computer memory system.Contents of experiment report1, experiment topic2, the purpose of the experiment3, experimental content4, thinkingExperiment four debugger DEBUGExperiment topic:Debugger DEBUGTwo, the purpose of the experiment:1. familiar with debugger DEBUG2. master the debugger DEBUG

9、operation stepsDebugger DEBUG:DEBUG.EXE debugger is a debugging assembly language program provided by DOS, each version of the DOS with the program, with tracking program operation, setting breakpoints, modify the memory and display the contents of the registers and other functions, can also be comp

10、iled debugging for the short program.Dynamic debugger DEBUG.COMIn the process of compiling and running an assembly program, there will be some mistakes and problems. It is necessary to analyze and debug the program. The debugger DEBUG is a debugging tool specially designed for assembly language. It

11、has a strong function in debugging assembly language program, can make the programmer access to the inside of the machine, can observe and modify register and storage unit, and can monitor the implementation of the target program, users really come into contact with CPU, have the most close working

12、relationship with the computer.Implementation of DEBUGDEBUG command formatPrimary DEBUG commandImplementation of DEBUGIn the operating system (DOS or WIndows) command line, directly into the DEBUG program, type the command in the following format:DDEBUG d:Pathfilename.extParm1Parm2The content is opt

13、ional ,Yes, we can. We can also default.d: drive number, to call into the DEBUG state of the executable file in which the driver, such as A:, B:, C: etc.Path is the path to the executable file in the DEBUG state in which directory or subdirectory.filename.ext, being transferred under the condition o

14、f DEBUG executable file, the file can be edited, compiled by, after connecting the resulting executable program can also be section of assembly in the DEBUG state, the write command W written to disk file.Parm1Parm2 is an optional parameter, which is the specification parameter for a given file.When

15、 you start DEBUG, if the filename (file name) is entered, the DEBUG program loads the specified file into memory, and the user can modify, display, or execute the specified file through the command of DEBUG. If you do not have a file name, you work with the contents of the current memory, or load th

16、e required files into memory with either a naming command or a load command, and then modify, display, or execute by the DEBUG command.When the DEBUG program is started, a - appears on the screen, indicating that the system has entered the DEBUG state.DEBUG command format(1) the DEBUG command is an

17、English letter followed by one or more arguments. Multiple operating parameters are separated by , , or space.(2) the DEBUG command must then press the ENTER key, and the command is valid.(3) parameter, whether it is address or data, are expressed by sixteen hexadecimal number, but sixteen decimal d

18、ata do not use H.(4) you can use Ctrl and Break keys to stop the execution of a command and return to the prompt at DEBUG.(5) with CtrlNum Lock key to abort the output line is up, then continue to output information and press any key.Primary DEBUG command(1) assembly command AFormat: a. A section re

19、gister name: offset addressB. A segment address: offset addressC. A offset addressD. AFunction: the assembly language program can be directly assembled into memory by this command.When you type the A command, display segment address and the offset address waits for the user to enter the assembly ins

20、tructions of each type in a carriage assembly instruction, automatically display the address of the next instruction and offset address, and then type a instructions, until all typed assembly language program, and can directly display the next address type return back to the prompt -.Where the segme

21、nt address of the A is in the segment address register, therefore, when the command is used, the segment address register must be sent to the segment address, the address of the C is in the CS, the segment address of the D is in the CS, and the offset address is 100H.(2) display memory command DForm

22、at: a. D addressB. D address rangeC. DFunction: displays the contents of the specified memory range.The content is displayed in two forms: one is the sixteen decimal content, the other is the ASCII code character corresponding to the sixteen division, and the invisible character is replaced by .For

23、a and C, 128 bytes of content are displayed each time, and the number of bytes shown by the B is determined by the address range.If there is an address in the command, the content displayed starts at the specified address, and if no address in the middle (such as C) starts from the next cell of the

24、last cell shown in the previous D command. If we have not used the D command before, the content of the segment register initialized with DEBUG is the start segment address, and the initial offset address is 100H, or CS:100.For a, the address is an offset address, and the segment address is CS. For

25、the address range in B, you can specify the segment address and the initial offset address and the termination offset address.(3) modify the storage unit content command EFormat: a E address content tableB E addressFunction: a replaces the memory cell content of the specified address range with the

26、given content table of the command.B - modify unit content one unit at a time.Where: the content table is a sixteen hexadecimal number, or a string of characters enclosed in single quotes.(4) fill memory command FFormat: F range unit table of contentsFunction: repeat the contents of the unit content

27、 table into the specified range of memory.(5) memory move command MFormat: M source address range target starting addressThe source address range and destination start address are the offset addresses, and the segment address is DS.Function: moves the contents of the source address range to the stor

28、age unit starting at the destination start address.(6) compare command CFormat: C source address range target addressWherein, the source address range is a contiguous memory unit pointed out by the start address and the termination address, and the target address is the target address starting addre

29、ss in comparison with the source address pointing unit.Function: from the source address range, starting from the starting address unit, sequentially comparing the content of each cell with the target start address, then comparing to the source termination address. The comparison results if the agre

30、ement does not display any information, if not, the failure unit address and contents are shown in to the content source source address destination address in the form of content. .(7) search for the specified content command SFormat: S address range tableFunction: search the contents of the table w

31、ithin the specified address range and search to display the address of the elements in the table.(8) check and modify register contents command RFormat: A & RB R register nameFunction: a shows the contents of all registers in CPU and the status of all flag bits.B displays and modifies the status of

32、a specified address setter and its flag bit.Wherein, the status flag register FLAG is displayed as a bit, and when displayed, the display order and symbols of the 8 status flags are shown in table B - 1.Table B - 1 status flag display formFlag bitStatusDisplay form (set / reset)Overflow flag OFHave

33、/ noOV/NVDirection sign DFIncrease / decreaseDN/UPInterrupt flag IFOn / offEI/DISymbol flag SFNegative / positiveNG/PLZero flag ZFZero / noZR/NZAuxiliary carry AFHave / noAC/NAParity flag PFOdd / oddPE/POCarry flag CFHave / noCY/NC(9) tracking and display commands TFormat: a = T, address or T addres

34、sB T= address number or T address numberFunction: a executes instructions at a specified address, stops, displays the contents of all registers in CPU, and the status of all flag bits, as well as the address and content of the next instruction.B is a plurality of tracking commands, starting at the s

35、pecified address; if ordered by address given the starting address, from the starting address, if not given, from the current address (CS:IP) to execute the command in the number a total of a few instructions after tracking decided to return to DEBUG.(10) disassembly command UFormat: a U addressB U

36、address rangeFunction: the code within the specified range is displayed in assembly language, and the address and machine of that code are located in memory.If no address is specified in the command, the next element of the last instruction address of the above U command is used as the starting addr

37、ess;If the U command is not entered, the value of the DEBUG initialization segment register is used as the segment address, and the 0100H is used as the offset address.(11) named command NFormat: N file nameFunction: in the call to DEBUG, no file name, you need to use the N command to call the name

38、of the file format to the file control block CS:5CH, can use the L command to put it into memory debugging (other reference manual DOS).(12) read disk command LFormat: number of sectors read a L starting address driver No. sectornumber.B L addressC - LFunction: a read the specified drive and specifi

39、ed sector range into the specified area of memory. Where the address is the start address of the read memory, and when the input does not have a given address, the implied address is CS:100H. The initial fan area refers to the starting position of the logical fan code. The number of sectors read ref

40、ers to the contents of several sectors of memory beginning with the initial fan code. Driver number is 0 or 1, 0 a, 1 B disk.B read the file specified by the file control block that has been formatted in CS:5CH. Before using this command, you can format the filename you want to read into the file co

41、ntrol block of CS:5CH, where the address is the memory address, by naming the N command.C and B addresses are implicit in CS:100H.When the file read has an extension,.COM or.EXE, it is always loaded into the CS:100H, and the address specified in the command is useless.Where the bytes of the read fil

42、e are stored in BX and CX.(13) write the disk command WFormat: A, W, driver, starting address No. sectornumber, written by a number of sectors.B / WaddressC - WFunction: a. Write the program or data in the DEBUGU state to the specified drive, start the area code, and write the number of sectors to m

43、ake up a few sectors of the disk.Write the specified sectors of the operation should be very careful, if the error will destroy the original contents of the disk.If the address in the command line contains only offset addresses, the W command holds the segment address in CS.B - when typing the write

44、 disk command without arguments, or typing only the write command of the address parameter, the write command writes the file to the floppy disk. The file is formatted with the naming command N in the CS:5CH file control block before using the W command.When C only has no arguments before the W comm

45、and, the N is used in conjunction with the write disk operation.The number of bytes to write to the file in BX and CX before using the W command.(15) output command OFormat: Oport address byte valueFunction: outputs a byte to the specified port address.(16) run command GFormat: G = address address.

46、Function: execute the program that the user is debugging.The address is the start address of the execution, and the content in the CS is the section address, and the address at the back of the equals sign is the offset address. The address at the back is the breakpoint address. In the command line,

47、there is only the starting address and no breakpoint address, and the program is not interrupted at execution time. DEBUG specifies the maximum set of 10 breakpoint addresses. Setting breakpoints for debugging large programs, namely programs have multiple modules, multiple paths are used, more conve

48、nient, no matter where in the execution path, the program can be stopped at the breakpoint, so as to adjust the program.The breakpoint address is the offset address at the program interrupt, and the segment address is in the CS.When you execute a small program that is compiled in the DEBUG state, us

49、e only the G command.(17) sixteen decimal operation command HFormat: H data 1 data 2Data 1 and data 2 are sixteen hexadecimal data.Function: add and reduce the two sixteen decimal numbers,The results are displayed on the screen.(18) end DEBUG and return to the DOS command QFormat: QFunction: the pro

50、gram is debugged, quit DEBUG state and return to DOS state.The Q command does not save memory files. If you want to save it, you must write the disk with the W command before exiting DEBUG.Three, experimental content:1. reference materials, familiar with the use of DEBUG2. master the basic commands

51、of the debugger DEBUG, run various commands, observe the running situation and record it.Contents of experiment report1, experiment topic2, the purpose of the experiment3, experimental contentExperiment five familiar with the 80486 instruction systemExperiment topicFamiliar with the 80486 instructio

52、n systemTwo, the purpose of the experiment1. familiar with DEBUG commands2. master the specific functions of each instruction in the 80486 instruction system and the execution of simple instructions3. grasp the data storage in memory and several addressing methods of memory operation4. learn how to

53、use DEBUG to compile and debug small programsTo deepen the understanding of assembly language instructions, machine code, addressing methods and other basic content, and lay the foundation for subsequent programming and debugging.Three, experimental content1. data transfer class instructionsProgram

54、1:MOV, AX, 1000HMOV, CX, AXMOV, BL, 00HMOV, BH, 30HXCHG, CX, BXMOV, BX, CHXLATExecute program, observe data changes of relative register and memory cell, record operation result.Steps: (1) start the DEBUG program, enter the program with the A command, and run the program step by step with the T comm

55、and. (2) each instruction that runs on memory operations uses the D command to check and record the contents of the memory cell and indicate what addressing means.2. arithmetic class instructionsProgram 2:MOV, AX, 1234HMOV, BX, 9876HINC BXADD, AX, BXDAAExecute programs, observe changes in registers

56、and status bits, and record running results. Steps ibid.3. logical operations and shift instructionsProgram 3:MOV, AL, 59HMOV, CL, 04HMOV, BL, ALSHR, AL, CLOR, AL, 30HAND, BL, 0FHOR, BL, 30H4. control transfer instructionCompare AX with data in BX, if AX BX, then CX=0000H; if AX, BX, CX=FFFFH.Program 4:MOV, AX, 3000

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论