Finely chop the spam, onion, and green onion.
Beat the eggs in a bowl.
Heat oil in a pan and stir-fry the spam.
Add onion and green onion, and continue stir-frying.
Add rice and mix well with the other ingredients while frying.
Pour the beaten eggs to one side of the pan, scramble them, then combine everything and stir-fry together.
Season with salt and black pepper.