Files
Digital-Research-Source-Code/CPM OPERATING SYSTEMS/CPM 68K/1.0X SOURCES/v101/test/v6edm.mar
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

36 lines
561 B
Plaintext

.globl setjmp
setjmp:
.word 0
movl fp,static
movl sp,static+4
movl ap,static+8
movl 0(sp),static+12
movl 4(sp),static+16
movl 8(sp),static+20
movl 12(sp),static+24
movl 16(sp),static+28
movl 20(sp),static+32
movl 24(sp),static+36
ret
.globl longjmp
longjmp:
.word 0
movl static,fp
movl static+4,sp
movl static+8,ap
movl static+12,0(sp)
movl static+16,4(sp)
movl static+20,8(sp)
movl static+24,12(sp)
movl static+28,16(sp)
movl static+32,20(sp)
movl static+36,24(sp)
ret
static: .long 0
.long 0
.long 0
.long 0,0,0,0,0,0,0,0
.end