Slice Spam and mushrooms into bite-sized pieces.
Finely chop onion and green onion.
Heat cooking oil in a pan and sauté green onion until fragrant.
Add Spam and fry until golden.
Add onion and mushrooms, stir-fry together.
Season with soy sauce, sugar, and pepper.
Spoon the stir-fried mixture over rice to finish.