1 / 9

فصل 2 برنامه نویسی به زبان اسمبلی

فصل 2 برنامه نویسی به زبان اسمبلی. فرم کلی یک برنامه به زبان اسمبلی. شبه دستورات و یک برنامه ساده. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-1. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-2. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-3. Masm Assembler Directives.

don
Télécharger la présentation

فصل 2 برنامه نویسی به زبان اسمبلی

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. فصل 2 برنامه نویسی به زبان اسمبلی

  2. فرم کلی یک برنامه به زبان اسمبلی

  3. شبه دستورات و یک برنامه ساده

  4. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-1

  5. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-2

  6. مثال دیگر از یک برنامه به زبان اسمبلی PROG2-3

  7. Masm Assembler Directives end label end of program, label is entry point proc far|near begin a procedure; far, near keywords specify if procedure in different code segment (far), or same code segment (near) endp end of procedure page set a page format for the listing file title title of the listing file .code mark start of code segment .data mark start of data segment .stack set size of stack segment

  8. Data Allocation Directives db define byte dw define word (2 bytes) dd define double word (4 bytes) dq define quadword (8 bytes) dt define tenbytes equ equate, assign numeric expression to a name Examples: db 100 dup (?) define 100 bytes, with no initial values for bytes db “Hello” define 5 bytes, ASCII equivalent of “Hello”. maxint equ 32767 count equ 10 * 20 ; calculate a value (200)

  9. Home works فصل 2 از کتاب مزیدی: برنامه نویسی به زبان اسمبلی مسائل: 8-9-10

More Related