[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 35 KB, 265x400, ARM-Assembly-Language-Hohl-William-9781439806104.jpg [View same] [iqdb] [saucenao] [google]
6168849 No.6168849 [Reply] [Original]

could any of you give a quick explanation about ARM assembly programming?

how would you write the following:
you have a variable stev1 with a starting value of 0F in 16 bits
now you have to add. stev1=stev1+1
all of this in immediate coding, e.g.: mov r1, #3

pic somewhat related

>> No.6168883
File: 24 KB, 640x480, Fry_Looking_Squint.jpg [View same] [iqdb] [saucenao] [google]
6168883

>stev
FRI ?

>> No.6168905
File: 29 KB, 400x400, 11958124-fat-man-looking-astonished-over-white-background.jpg [View same] [iqdb] [saucenao] [google]
6168905

>>6168883
ja, nč jasn

>> No.6168910

>>6168849
>a quick explanation about ARM assembly programming
Just like any other assembly language, you'll need to know exactly what registers the particular ARM chip your using has and you'll need to know the instruction set. The only way to learn those is to read the documentation. That book in your image seems like a decent place to start, doesn't it?

>> No.6168918

>>6168905
Kodeka ni več, tko da baje ne bi smel bit prevelik problem. Tež asistentom med govorilnim, itak ti vse lohk razložijo :^).

Jst se spomnm da smo mogl v nek določen (delovni) register prenest podatke oziroma "naslove" in not v njem operacije izvajat.

>> No.6168921

>>6168910
would be a good start, but i'm in a rush of sort..
thanks anyway

>> No.6168929

>>6168918
ah, ja prepozn sm se lotu tega :')
bom reku asistentom v prihodnje

>> No.6168944

>>6168929
Probi še kle
http://fri-info.net/forum/

>> No.6168970

>>6168849
neki sm najdu, hvala