We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am tasked for with checking for valid UPC codes for a school assignment using ARM. I have no prior experience with assembly. After I am able to load the registers with the UPC code I am having trouble figuring out how I am to skip over the required digits and add them. The hint given to me tells me to use LSL and to keep shifting the string of characters. Not sure where to go from the code I have written.
Note: I am using the keil micro vision simulator (version 4) on windows 10.
If you write the program in C code, thencompile it at a low optimization, then debug(in this case, simulate) the code,there will be a tab in the upper right windowby default that says "Disassembly":www.keil.com/.../uv4_db_dbg_disasmwin.htmIf you set a breakpoint and run the code,you will see what C code corresponds to what assembly code.This will help give you example assembly to work off of.