ELEC1710 Lecture Notes - Lecture 8: Reduced Instruction Set Computing, Instruction Set, Machine Code

273 views6 pages

Document Summary

Lowest level programming language possible without creating binary machine code. Each line (in most cases) represents a single cpu instruction. Turned into binary machine code by the assembler. Machine code is stored in program memory where it can be read and executed by the. {//comments: curly bracket sections are optional, labels are used by branch instructions. Numbers are by default decimal: use 0x prefix for hexadecimal constants. The complete collection of fundamental operations of the cpu. Arm cpu has three instruction sets: arm (32b, thumb (16b, thumb-2 (16b and 32b, thumb-2 is assumed default in elec1710. The cortex-m3 supports all 16b and some 32b thumb-2 instructions: 32b arm isn(cid:495)t supported. Move data between registers and memory: arm processors are risc (reduced instruction set computer, all data must be loaded into a register before it can be used. Three basic data transfer forms: single register load/store, multiple register load/store, single register swap: swp (b)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents