pub inline fn current() M68k
892 893 894 895 896 897 898 899 900 901 902
pub inline fn current() M68k { var ctx: M68k = undefined; asm volatile ( \\ movem.l %%d0 - %%a7, (%%a0) \\ lea.l (%%pc), %%a1 \\ move.l %%a1, (%%a0, 64) : : [ctx] "{a0}" (&ctx), : .{ .a1 = true, .memory = true }); return ctx; }