Ara.T.Howard wrote: > i need to model the on board cpu of a satellite in order to mock running > uploaded commands. basically i need to model the internal state and all > incoming commands so i can determine register states at a given point in time. > has anyone out there done something similar? and helpful libs? basically > i'll need something like > > dmsp_cpu = cpu{ > register 'oax' > register 'oal' > > mem 0x55, :value => 0x2a39 > > instruction 'oaxload' do |value| > oax[ value ] > end > } What platform? What's the type of cpu? I *think* Solaris/Sparc comes with something that will let you do this. Regards, Dan