TAILIEUCHUNG - ARM Architecture Reference Manual- P11

ARM Architecture Reference Manual- P11: The ARM instruction set architecture has evolved significantly since it was first developed, and will continue to be developed in the future. In order to be precise about which instructions exist in any particular ARM implementation, five major versions of the instruction set have been defined to date. | The Thumb Instruction Set List of Load and Store Multiple instructions The following instructions follow the formats shown above. LDMIA Load Multiple. See LDMIA on page A7-40. POP Pop Multiple. See POP on page A7-75. PUSH Push Multiple. See PUSH on page A7-78. STMIA Store Multiple. See STMIA on page A7-84. ARM DDI 0100E Copyright 1996-2000 ARM Limited. All rights reserved. A6-19 The Thumb Instruction Set Exception-generating instructions The Thumb instruction set provides two types of instruction whose main purpose is to cause a processor exception to occur The Software Interrupt SWI instruction is used to cause a SWI exception to occur see Software Interrupt exception on page A2-16 . This is the main mechanism in the Thumb instruction set by which User mode code can make calls to privileged Operating System code. The Breakpoint BKPT instruction is used for software breakpoints in T variants of ARM architecture versions 5 and above. Its default behavior is to cause a Prefetch Abort exception to occur see Prefetch Abort instruction fetch memory abort on page A2-16 . A debug monitor program that has previously been installed on the Prefetch Abort vector can handle this exception. If debug hardware is present in the system it is allowed to override this default behavior. Details of whether and how this happens are IMPLEMENTATION DEFINED. Instruction encodings SWI immed 8 15 14 13 12 11 10 9 8 7 0 1 1 0 1 1 1 1 1 immed 8 BKPT immed 8 15 14 13 12 11 10 9 8 7 0 1 0 1 1 1 1 1 0 immed 8 In both SWI and BKPT the immed_8 field of the instruction is ignored by the ARM processor. The SWI or Prefetch Abort handler can optionally be written to load the instruction that caused the exception and extract these fields. This allows them to be used to communicate extra information about the Operating System call or breakpoint to the handler. List of exception-generating instructions BKPT Breakpoint. See BKPT on page A7-24. SWI Software Interrupt. See SWI on page

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.