Hi, I'm trying to translate this code: randomInteger =(((randomInteger * 214013) + 2531011) >> 16) & 0x7FFF ;
into assembly in order to create a random integer generator, I'm guessing I'm needing the LSR, AND or MOV instructions, but I'm not sure.
I'm in an introduction to ARM Assembly Language course, I'd appreciate any help
View all questions in Keil forum