LFSR in assembly
I have the LFSR code written in C:
void LFSR {
uint16_t lfsr = 0xACE1u;
unsigned bit;
bit = ((lfsr >> 0) ^ (lfsr >> 2) ^ (lfsr >> 3) ^ (lfsr >> 5) ) & 1;
lfsr = (lfsr >> 1) | (bit << 15);
DisplayHex(lfsr);
}
Can someone tell me is there any examples to help me to turn this C code
into assembly?
No comments:
Post a Comment