02: ARM Cortex-M Move Instructions
Vložit
- čas přidán 29. 08. 2024
- This video presents the general format of the ARM assembly language instructions and describes the simple MOV instruction, MOVT, and MOVW. In particular, we look at the immediate addressing mode as used with these instructions.
Thank you for this series, professor!
I actually learned something from this video. Thank you.
Great video
Thank you for this good presentation!
instaBlaster
very valuable lesson!
Again a gr8 video....
0x11 in binary is 0b10001, and not 11 as you had it in your video
Thank you so much
in the beginning of the video you said RO zill contain the 32 bits of the Immediate value but why 32 bits !!
does it mean that if u dont include the #, it will not be an immediate operand, n give priority to those that have #?
What is the difference between the MOV instruction and the MOVW? Does the MOVW modify only the bottom part? I mean if R0 contains 0xFFFFEEEEAAAABBBB and I use the MOVW, MOVW R0, 0xA the result will be 0xFFFFEEEE0000000A??
awseome explanation
Thank you Joe , when will you explain the stack on m3?
For the codes, do I need a STR line after a MOV line?
I'm sorry but I don't understand your question. The MOV instruction copies values between the registers, but you need an STR instruction to write a value out to memory.
salute
hi, can we write i.e. MOV R0,=0x1234? if can, what represents " = " ?
No, the MOV instruction can't use the = addressing mode. MOV allows an immediate operand with the # syntax but you can't use an arbitrary 16-bit or 32-bit value. The = is for a literal addressing mode which is actual a PC-relative memory reference, and memory references need an LDR instruction.
Hello Professor Joe! I am a Latino who does not speak English and I would like to have the option to translate English into Spanish. Your videos do not have the option to make that option to change from English to Spanish. I would appreciate.
Charles
Panama
Sorry, I don't see the option you describe.
I'm french and I learning english but I don't understand the # symbol signification .. I think to the meided value, it's just?
its for commenting which is ignored by the computer
also to hard code variables
@@degamma8 Not true (in this context at least). It is a prefix for the *immediate value* which is just a numeric constant embedded in the instruction itself instead of somewhere else in memory. If you don't know the right answer, shut up and stop confusing people.