The Geek Forum

  • May 10, 2024, 12:40:25 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Due to the prolific nature of these forums, poster aggression is advised.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Gamine123

Pages: [1]
1
Homework Help / Computing - How to insert a Parity Bit
« on: November 11, 2009, 05:49:34 AM »
Hi,

I am a Computer Science fresher and I missed the first 3 weeks of class due to admin problems so I get a bit lost for my assignments...

Anyway I've got this assignment that requires me to write a very simple assembly program on Microvision that will take a 7-bit value (0x59) in R1 and insert an odd parity bit at bit position 4, storing the parity-encoded value in R0.

I know I am supposed to use AddC, EOR and MOV functions but I don't know how to do it.
I am not asking for the answer to this particular problem but could anyone give me a general (simple) explanation of how it's done???

Help!!!

Thanks very much

Pages: [1]