Saturday, March 1, 2014

ARM PROCESSOR

The ARM processor is widely used in cell phones and many other systems.
INTRODUCTION:
 complex instruction set computers (CISC).
These machines provided a variety of instructions that may perform very complex tasks, such as string searching; they also generally used a number of different instruction formats of varying lengths.
 Reduced instruction set computers (RISC)
These computers tended to provide somewhat fewer and simpler instructions it.
 Streaming data.
Data sets that arrive continuously and periodically are called Streaming data.
 Assembly language:
Assembly language has the following features:
 One instruction appears per line.
 Labels, which give names to memory locations, start in the first column.
 Instructions must start in the second column or after to distinguish them from
 labels.
 Comments run from some designated comment character (; in the case of ARM) to the end of the line
Assemblers must also provide some pseudo-ops to help programmers create complete assembly language programs.An example of a pseudo-op is one that allows data values to be loaded into memory locations.These allow constants,for example, to be set into memory. TheARM % pseudo-op allocates a block of memory of the size specified by the operand and initializes locations to zero.
e.g)
label1 ADR r4,c
LDR r0,[r4] ; a comment
ADR r4,d
LDR r1,[r4]
SUB r0,r0,r1 ; another comment

No comments:

Post a Comment