ChiefSOSA wroteWhen rearranging the head unit I noticed the sound of a spark and lost power to my stereo/usb port/automatic shifter lights/roof car light.
Caution - you may have lost power to your brake lights as well. Check the condition of fuses 4, 5, and 14, and make sure the green/yellow, green/red, or orange wires aren't tapping out to the car body anywhere.
As Tezza suggested, get a test lamp and see if you've got juice -
- on the green/yellow wire from fuse 4 and green/red wire from fuse 5 = all the time
- on the orange wire from fuse 14 = with ignition in accessories and on
This is the link you need for an '87 740's wiring diagram. (26.2 Mb pdf)
http://www.volvowiringdiagrams.com/volvo/740%20Wiring%20Diagrams/TP31058%3A1%201987%20740%20760%20Wiring%20Diagrams.pdf
These diagrams make fault finding very easy, unless some previous owner has been ... creative, shall we say... with the wiring.