This sounds like a floating rib, especially if it is not painful to the touch. Every Yorkie has a pair of floating ribs, and it is normal and harmless. However, have it looked at by the vet just in case. Let us know what the vet says.
Here is information on floating ribs:
My dog has ribs sticking out sometimes? - Yahoo! Answers