Jump to content

Array: Difference between revisions

m
Line 112:
 
;8086 Assembly
mov ax,[bx+di] ;load the BXth element of the array whose beginning is stored in DI, into AX.
;alternatively, load the DIth element of the array whose beginning is stored in BX, into AX.
 
;ARM Assembly
ldr r0,[r1,#4] ;load the 1st (zero-indexed) element of the array whose pointer to its 0th element is stored in r1, into r0.</lang>
 
====Encoding an Array's End====
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.