![]() |
|
[Assembly] Check bit generation for 16-bit data word - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: [Assembly] Check bit generation for 16-bit data word (/showthread.php?tid=5966036) |
Check bit generation for 16-bit data word - Mordicia - May 2, 2019 I need to be able to create a subroutine called “generate16” which generates 5 check bits assuming even parity. A 16-bit data word needs to be passed to the subroutine in bits 0-15 of R0 (d0 in bit 0 etc). This should then return a 21 bit word in bits 0-20. I really need help with this and am willing to pay if someone can do it. |