blob: f5425b4da9c4cb53bf5de543244636e1cb368d5b (
plain) (
tree)
|
|
# Initialize the minimal runtime for Mu programs without any tests.
#
# See translate_min for how this file is used.
#
# Mu programs start at a function called 'main' with this signature:
# fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
== code
Entry:
# initialize stack
bd/copy-to-ebp 0/imm32
#
(main 0 0 Primary-bus-secondary-drive)
# hang indefinitely
{
eb/jump loop/disp8
}
|