[SCM] applications.git branch, master, updated. b6e6c9fe2c5adcb2a7f55f62c8a911d1d2d7c7db

ontologiae ontologiae at gmail.com
Fri Nov 26 19:33:53 UTC 2010


The following commit has been merged in the master branch:
commit 32fe5aa636753de1d0b186c19ae3fb1fbd802143
Author: ontologiae <ontologiae at gmail.com>
Date:   Fri Nov 26 11:16:14 2010 +0100

    rm st

diff --git a/isaacos/startup.li b/isaacos/startup.li
index f34c879..89b96a7 100755
--- a/isaacos/startup.li
+++ b/isaacos/startup.li
@@ -26,8 +26,8 @@ Section Header
   
 // BUG: L'inclusion du parent dans fils (je genere un =, gcc genere un memcpy)
   - external := `
-#include <signal.h>  
-__sighandler_t signal(int signum,__sighandler_t handler) { return(handler); }
+/* #include <signal.h>  
+__sighandler_t signal(int signum,__sighandler_t handler) { return(handler); }*/
 void *memcpy(void *dest,const void *src,int n) 
 { int j;
   
@@ -36,7 +36,6 @@ void *memcpy(void *dest,const void *src,int n)
 };
 
 
-//void print_char(char c) {};
 `;
   
 Section Inherit  
@@ -100,7 +99,7 @@ Section Public
   };
  
      
-  dir ?= FILE_SYSTEM.get_entry "freedos/icons";
+  dir ?= FILE_SYSTEM.get_entry "icons";
   (dir = NULL).if{
     "\ndirectory is NULL\n".print;
   } else {
diff --git a/isaacos/tool/gcc/st2xx/asm_traphandler.S b/isaacos/tool/gcc/st2xx/asm_traphandler.S
deleted file mode 100755
index ce91fdb..0000000
--- a/isaacos/tool/gcc/st2xx/asm_traphandler.S
+++ /dev/null
@@ -1,211 +0,0 @@
-/********************************************************************* 
- * File path:     glue/v4-st230/traphandler.S
- * Description:   st230 specific traphandler 
- ********************************************************************/
-
-#include <macros.h>
-#include INC_ARCH(macros.h)	
-#include INC_ARCH(regdef.h)
-#include INC_ARCH(cpu.h)
-#include <tcb_layout.h>
-	
-ENTRY(pswset)
-	pswset r16
-	;;
-	return lr
-	;;
-
-ENTRY(pswclr)
-	pswclr r16
-	;;
-	return lr
-	;;
-	
-		
-ENTRY(asm_trap_handler)
-	stw user_stack[zero]= r12 // save temporary user_stack
-	;; 
-	ldw r12 = current_tcb_ptr[zero] // retrieve current TCB
-	;;
-	;;
-	;; 
-	ldw r12 = OFS_TCB_STACK[r12] // retrieve kernel stack of current thread
-	;; 
-	stw 4[r12]=r1 // save first r1 to use it
-	;; 
-	ldw r1 = 0xFFFFFFF0[zero]  // save SAVED_PSW
-	;;
-	;; 
-	add r12 = r12, -248 
-	;;
-	stw 260[r12] = r1
-	;;
-	ldw r1 = 0xFFFFFFE8[zero]  // save SAVED_PC
-	;;
-	;;
-	;; 
-	stw 256[r12] = r1 
-	;; 
-	stw 248[r12]=r2 // save general registers
-	;; 
-	stw 244[r12]=r3
-	;; 
-	stw 240[r12]=r4
-	;; 
-	stw 236[r12]=r5
-	;; 
-	stw 232[r12]=r6
-	;; 
-	stw 228[r12]=r7
-	;; 
-	stw 224[r12]=r8
-	;; 
-	stw 220[r12]=r9
-	;; 
-	stw 216[r12]=r10
-	;; 
-	stw 212[r12]=r11
-	;;
-	ldw r1 = user_stack[zero]
-	;;
-	stw 208[r12] = r1
-	;; 
-	stw 204[r12]=r13
-	;; 
-	stw 200[r12]=r14
-	;; 
-	stw 196[r12]=r15
-	;; 
-	stw 192[r12]=r16
-	;; 
-	stw 188[r12]=r17
-	;; 
-	stw 184[r12]=r18
-	;; 
-	stw 180[r12]=r19
-	;; 
-	stw 176[r12]=r20
-	;; 
-	stw 172[r12]=r21
-	;;
-	stw 168[r12]=r22
-	;; 
-	stw 164[r12]=r23
-	;; 
-	stw 160[r12]=r24
-	;; 
-	stw 156[r12]=r25
-	;; 
-	stw 152[r12]=r26
-	;; 
-	stw 148[r12]=r27
-	;; 
-	stw 144[r12]=r28
-	;; 
-	stw 140[r12]=r29
-	;; 
-	stw 136[r12]=r30
-	;; 
-	stw 132[r12]=r31
-	;; 
-	stw 128[r12]=r32
-	;; 
-	stw 124[r12]=r33
-	;; 
-	stw 120[r12]=r34
-	;; 
-	stw 116[r12]=r35
-	;; 
-	stw 112[r12]=r36
-	;; 
-	stw 108[r12]=r37
-	;; 
-	stw 104[r12]=r38
-	;; 
-	stw 100[r12]=r39
-	;; 
-	stw 96[r12]=r40
-	;; 
-	stw 92[r12]=r41
-	;; 
-	stw 88[r12]=r42
-	;; 
-	stw 84[r12]=r43
-	;; 
-	stw 80[r12]=r44
-	;; 
-	stw 76[r12]=r45
-	;; 
-	stw 72[r12]=r46
-	;; 
-	stw 68[r12]=r47
-	;; 
-	stw 64[r12]=r48
-	;; 
-	stw 60[r12]=r49
-	;; 
-	stw 56[r12]=r50
-	;; 
-	stw 52[r12]=r51
-	;; 
-	stw 48[r12]=r52
-	;; 
-	stw 44[r12]=r53
-	;; 
-	stw 40[r12]=r54
-	;; 
-	stw 36[r12]=r55
-	slctf	r2 = br0, zero, (1<<0) // begin BRs saving
-	movl r1 = 0
-	;; 
-	stw 32[r12]=r56
-	slctf	r2 = br1, zero, (1<<1)
-	or r1 = r1, r2
-	;; 
-	stw 28[r12]=r57
-	slctf	r2 = br2, zero, (1<<2)
-	or r1 = r1, r2
-	;; 
-	stw 24[r12]=r58
-	slctf	r2 = br3, zero, (1<<3)
-	or r1 = r1, r2
-	;; 
-	stw 20[r12]=r59
-	slctf	r2 = br4, zero, (1<<4)
-	or r1 = r1, r2
-	;; 
-	stw 16[r12]=r60
-	slctf	r2 = br5, zero, (1<<5)
-	or r1 = r1, r2
-	;; 
-	stw 12[r12]=r61
-	slctf	r2 = br6, zero, (1<<6)
-	or r1 = r1, r2
-	;; 
-	stw 8[r12]=r62
-	slctf	r2 = br7, zero, (1<<7)
-	or r1 = r1, r2
-	;; 
-	stw 4[r12]=lr
-	or r1 = r1, r2
-	;; 
-	stb 0[r12]=r1 // saving BRs
-	;;
-	ldw r1 = current_tcb_ptr[zero]
-	;;
-	;;
-	;; 
-	stw OFS_TCB_STACK[r1] = r12 // save kernel_stack in TCB
-	add r12 = r12 , -16
-	;; 
-	call lr = handle_trap	
-	;;
-	rfi
-	;; 
-
-
-
-	.data
-user_stack:
-	.align 4
-	.skip 4
\ No newline at end of file
diff --git a/isaacos/tool/gcc/st2xx/entry_isaac.s b/isaacos/tool/gcc/st2xx/entry_isaac.s
deleted file mode 100755
index 63efc97..0000000
--- a/isaacos/tool/gcc/st2xx/entry_isaac.s
+++ /dev/null
@@ -1,346 +0,0 @@
-	.section .text
-	.global start
-start:
-	/***********************/
-	/* Stack init          */
-	/***********************/
-	mov	$r0.12 = 0x09FFFFF0 /* 0x09FFFFFF */ /* 32 Mo */
-	;;
-	/***********************/
-	/* Call main           */
-	/***********************/
-	call    $r0.63 = main
-	;;
-	/***********************/
-	/* PSW manager         */
-	/***********************/
-	.global set_psw
-set_psw:
-	pswset $r0.16
-	;; 
-	return $r0.63
-	;; 
-	.global clr_psw
-clr_psw:
-	pswclr $r0.16
-	;; 
-	return $r0.63
-	;; 
-	/***********************/
-        /* Trap Handler        */
-	/***********************/	
-	.global trap_handler
-trap_handler:
-	add $r0.12 = $r0.12, - 256
-	;;
-	stw 252[$r0.12] = $r0.1   
-	;; 
-	stw 248[$r0.12] = $r0.2
-	;; 
-	stw 244[$r0.12] = $r0.3
-	;; 
-	stw 240[$r0.12] = $r0.4
-	;; 
-	stw 236[$r0.12] = $r0.5
-	;; 
-	stw 232[$r0.12] = $r0.6
-	;; 
-	stw 228[$r0.12] = $r0.7
-	;; 
-	stw 224[$r0.12] = $r0.8
-	;; 
-	stw 220[$r0.12] = $r0.9
-	;; 
-	stw 216[$r0.12] = $r0.10
-	;; 
-	stw 212[$r0.12] = $r0.11
-	;;
-	stw 208[$r0.12] = $r0.12 /* A voir ...*/
-	;; 
-	stw 204[$r0.12] = $r0.13
-	;; 
-	stw 200[$r0.12] = $r0.14
-	;; 
-	stw 196[$r0.12] = $r0.15
-	;; 
-	stw 192[$r0.12] = $r0.16
-	;; 
-	stw 188[$r0.12] = $r0.17
-	;; 
-	stw 184[$r0.12] = $r0.18
-	;; 
-	stw 180[$r0.12] = $r0.19
-	;; 
-	stw 176[$r0.12] = $r0.20
-	;; 
-	stw 172[$r0.12] = $r0.21
-	;; 
-	stw 168[$r0.12] = $r0.22
-	;; 
-	stw 164[$r0.12] = $r0.23
-	;; 
-	stw 160[$r0.12] = $r0.24
-	;; 
-	stw 156[$r0.12] = $r0.25
-	;; 
-	stw 152[$r0.12] = $r0.26
-	;; 
-	stw 148[$r0.12] = $r0.27
-	;; 
-	stw 144[$r0.12] = $r0.28
-	;; 
-	stw 140[$r0.12] = $r0.29
-	;; 
-	stw 136[$r0.12] = $r0.30
-	;; 
-	stw 132[$r0.12] = $r0.31
-	;; 
-	stw 128[$r0.12] = $r0.32
-	;; 
-	stw 124[$r0.12] = $r0.33
-	;; 
-	stw 120[$r0.12] = $r0.34
-	;; 
-	stw 116[$r0.12] = $r0.35
-	;; 
-	stw 112[$r0.12] = $r0.36
-	;; 
-	stw 108[$r0.12] = $r0.37
-	;; 
-	stw 104[$r0.12] = $r0.38
-	;; 
-	stw 100[$r0.12] = $r0.39
-	;; 
-	stw 96[$r0.12] = $r0.40
-	;; 
-	stw 92[$r0.12] = $r0.41
-	;; 
-	stw 88[$r0.12] = $r0.42
-	;; 
-	stw 84[$r0.12] = $r0.43
-	;; 
-	stw 80[$r0.12] = $r0.44
-	;; 
-	stw 76[$r0.12] = $r0.45
-	;; 
-	stw 72[$r0.12] = $r0.46
-	;; 
-	stw 68[$r0.12] = $r0.47
-	;; 
-	stw 64[$r0.12] = $r0.48
-	;; 
-	stw 60[$r0.12] = $r0.49
-	;; 
-	stw 56[$r0.12] = $r0.50
-	;; 
-	stw 52[$r0.12] = $r0.51
-	;; 
-	stw 48[$r0.12] = $r0.52
-	;; 
-	stw 44[$r0.12] = $r0.53
-	;; 
-	stw 40[$r0.12] = $r0.54
-	;; 
-	stw 36[$r0.12] = $r0.55
-	slctf	$r0.2 = $b0.0, $r0.0, (1<<0) /* begin BRs saving */
-	mov $r0.1 = $r0.0
-	;; 
-	stw 32[$r0.12] = $r0.56
-	slctf	$r0.2 = $b0.1, $r0.0, (1<<1)
-	or $r0.1 = $r0.1, $r0.2
-	;;	
-	stw 28[$r0.12] = $r0.57
-	slctf	$r0.2 = $b0.2, $r0.0, (1<<2)
-	or $r0.1 = $r0.1, $r0.2
-	;; 
-	stw 24[$r0.12] = $r0.58
-	slctf	$r0.2 = $b0.3, $r0.0, (1<<3)
-	or $r0.1 = $r0.1, $r0.2
-	;; 
-	stw 20[$r0.12] = $r0.59
-	slctf	$r0.2 = $b0.4, $r0.0, (1<<4)
-	or $r0.1 = $r0.1, $r0.2
-	;; 
-	stw 16[$r0.12] = $r0.60
-	slctf	$r0.2 = $b0.5, $r0.0, (1<<5)
-	or $r0.1 = $r0.1, $r0.2
-	;;
-	stw 12[$r0.12] = $r0.61
-	slctf	$r0.2 = $b0.6, $r0.0, (1<<6)
-	or $r0.1 = $r0.1, $r0.2
-	;;
-	stw 8[$r0.12] = $r0.62
-	slctf	$r0.2 = $b0.7, $r0.0, (1<<7)
-	or $r0.1 = $r0.1, $r0.2
-	;;
-	stw 4[$r0.12] = $r0.63
-	or $r0.1 = $r0.1, $r0.2
-	;; 
-	stb 0[$r0.12]=$r0.1 /* saving BRs */
-	;; 
-	ldw $r0.63 = lisaac_trap[$r0.0]
-	add $r0.12 = $r0.12 , -16
-	;;
-	/*
-	 * Run Interrupt Trap
-	 */ 
-	call $r0.63 = $r0.63
-	/*
-	 * Restore registers
-	 */
-	;;
-	add $r0.12 = $r0.12 , 16
-	;; 
-	ldb $r0.1 = 0[$r0.12]
-	;;
-	andc $r0.2 = $r0.1, (1<<0)
-	ldw $r0.63 = 4[$r0.12] 
-	;;
-	cmpne $b0.0 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<1)
-	ldw $r0.62 = 8[$r0.12] 
-	;;
-	cmpne $b0.1 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<2)
-	ldw $r0.61 = 12[$r0.12] 
-	;;
-	cmpne $b0.2 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<3)
-	ldw $r0.60 = 16[$r0.12] 	
-	;;
-	cmpne $b0.3 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<4)	
-	ldw $r0.59 = 20[$r0.12] 
-	;;
-	cmpne $b0.4 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<5)
-	ldw $r0.58 = 24[$r0.12] 	
-	;;
-	cmpne $b0.5 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<6)
-	ldw $r0.57 = 28[$r0.12] 	
-	;;
-	cmpne $b0.6 = $r0.2, $r0.0
-	andc $r0.2 = $r0.1, (1<<7)
-	ldw $r0.56 = 32[$r0.12] 	
-	;;
-	cmpne $b0.7 = $r0.2, $r0.0
-	ldw $r0.55 = 36[$r0.12]
-	;;
-	ldw $r0.54 = 40[$r0.12]
-	;;
-	ldw $r0.53 = 44[$r0.12]
-	;;
-	ldw $r0.52 = 48[$r0.12]
-	;; 	
-	ldw $r0.51 = 52[$r0.12] 
-	;;
-	ldw $r0.50 = 56[$r0.12]
-	;;
-	ldw $r0.49 = 60[$r0.12]
-	;;
-	ldw $r0.48 = 64[$r0.12]
-	;;
-	ldw $r0.47 = 68[$r0.12]
-	;; 	
-	ldw $r0.46 = 72[$r0.12] 	
-	;;
-	ldw $r0.45 = 76[$r0.12]
-	;;
-	ldw $r0.44 = 80[$r0.12]
-	;;
-	ldw $r0.43 = 84[$r0.12]
-	;; 	
-	ldw $r0.42 = 88[$r0.12] 
-	;;
-	ldw $r0.41 = 92[$r0.12]
-	;;
-	ldw $r0.40 = 96[$r0.12]
-	;;
-	ldw $r0.39 = 100[$r0.12]
-	;;
-	ldw $r0.38 = 104[$r0.12]
-	;; 	
-	ldw $r0.37 = 108[$r0.12] 
-	;;
-	ldw $r0.36 = 112[$r0.12]
-	;;
-	ldw $r0.35 = 116[$r0.12]
-	;;
-	ldw $r0.34 = 120[$r0.12]
-	;; 	
-	ldw $r0.33 = 124[$r0.12] 
-	;;
-	ldw $r0.32 = 128[$r0.12]
-	;;
-	ldw $r0.31 = 132[$r0.12]
-	;;
-	ldw $r0.30 = 136[$r0.12]
-	;;
-	ldw $r0.29 = 140[$r0.12]
-	;; 	
-	ldw $r0.28 = 144[$r0.12] 
-	;;
-	ldw $r0.27 = 148[$r0.12]
-	;;
-	ldw $r0.26 = 152[$r0.12]
-	;;
-	ldw $r0.25 = 156[$r0.12]
-	;; 	
-	ldw $r0.24 = 160[$r0.12] 
-	;;
-	ldw $r0.23 = 164[$r0.12]
-	;;
-	ldw $r0.22 = 168[$r0.12]
-	;;
-	ldw $r0.21 = 172[$r0.12]
-	;;
-	ldw $r0.20 = 176[$r0.12]
-	;; 	
-	ldw $r0.19 = 180[$r0.12] 
-	;; 
-	ldw $r0.18 = 184[$r0.12]
-	;;
-	ldw $r0.17 = 188[$r0.12]
-	;;
-	ldw $r0.16 = 192[$r0.12]
-	;;
-	ldw $r0.15 = 196[$r0.12]
-	;; 	
-	ldw $r0.14 = 200[$r0.12] 
-	;;
-	ldw $r0.13 = 204[$r0.12]
-	;;
-	ldw $r0.12 = 208[$r0.12] /* A voir... */
-	;;
-	ldw $r0.11 = 212[$r0.12]
-	;; 	
-	ldw $r0.10 = 216[$r0.12] 
-	;;
-	ldw $r0.9 = 220[$r0.12]
-	;;
-	ldw $r0.8 = 224[$r0.12]
-	;;
-	ldw $r0.7 = 228[$r0.12]
-	;;
-	ldw $r0.6 = 232[$r0.12]
-	;; 	
-	ldw $r0.5 = 236[$r0.12] 
-	;;
-	ldw $r0.4 = 240[$r0.12]
-	;;
-	ldw $r0.3 = 244[$r0.12]
-	;;
-	ldw $r0.2 = 248[$r0.12]
-	;;
-	ldw $r0.1 = 252[$r0.12]
-	add $r0.12 = $r0.12, 256
-	;;
-	rfi
-	;;
-	.section .data
-	.global lisaac_trap
-lisaac_trap:
-	.long 0
-
-
diff --git a/isaacos/tool/gcc/st2xx/isaac.x b/isaacos/tool/gcc/st2xx/isaac.x
deleted file mode 100755
index 9baebd2..0000000
--- a/isaacos/tool/gcc/st2xx/isaac.x
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Default linker script, for normal executables */
-OUTPUT_FORMAT("elf32-littlelx")
-
-ENTRY(start)
-
-SECTIONS
-{  
-  .text 0x08000000          :
-  {   
-    ../tool/gcc/st2xx/divuw.st220.o 
-    ../tool/gcc/st2xx/moduw.st220.o
-    ../tool/gcc/st2xx/divw.st220.o
-    ../tool/gcc/st2xx/entry_isaac.o    
-    *(.text .stub .text.* .gnu.linkonce.t.*)    
-  }
-  .rodata         : 
-  { 
-    *(.rodata .rodata.* .gnu.linkonce.r.*) 
-  }
-  .rodata1        : 
-  { 
-    *(.rodata1) 
-  }
-  .data           :
-  {
-    *(.data .data.* .gnu.linkonce.d.*)   
-  }
-  .bss            :
-  {
-   *(.bss)
-   *(COMMON)
-   . = ALIGN(32 / 8);
-   __bss_stop = .;
-  }
-}
-
-
-
-
-
-
diff --git a/isaacos/tool/gcc/st2xx/tcb.S b/isaacos/tool/gcc/st2xx/tcb.S
deleted file mode 100755
index 199782a..0000000
--- a/isaacos/tool/gcc/st2xx/tcb.S
+++ /dev/null
@@ -1,224 +0,0 @@
-/*********************************************************************
- * File path:     glue/v4-st230/tcb.S
- * Description:   TCB specific implementations
- ********************************************************************/
-
-#include <macros.h>
-#include INC_ARCH(regdef.h)	
-#include INC_ARCH(macros.h)
-#include <tcb_layout.h>	
-	
-/*
- * initial_switch_to: switch to first thread
- * Argument 1 :	 New Stack
- */
-
-
-.section .data
-ENTRY(current_tcb_ptr)
-	.align 4
-	.skip 4
-
-.section .text	
-
-ENTRY(asm_initial_switch_to)	
-	ldw lr = 0[r16]	// prepare jumping to address specified at stack top
-	;;
-	mov r12 = r16 	// update stack_pointer with new stack
-	;;
-	mov r16 = __idle_tcb
-	;;
-	stw current_tcb_ptr[zero] = r16
-	;; 
-	call lr = lr 
-	;;
-	mov r16 = r12
-	;; 
-	goto asm_initial_switch_to // executing this means there is still init functions to execute, so switch again
-	add r16 = r16, 16
-	;; 
-	
-ENTRY(asm_switch_to)
-	
-
-	stw current_tcb_ptr[zero] = r16 // save pointer to new current tcb (global)
-	;; 
-	ldw r17 = OFS_TCB_STACK[r16] // r17 contains future kernel stack pointer
-	;;
-	;;
-	;; 
-	add r18 = r17,248
-	;;
-	stw OFS_TCB_STACK[r16] = r18 // store new kernel stack pointer
-	;;
-	ldb r1 = 0[r17]
-	;;
-	;;
-	;; 
-	andc r2 = r1, (1<<0)
-	ldw lr = 4[r17] 
-	;;
-	cmpne br0 = r2, zero
-	andc r2 = r1, (1<<1)
-	ldw r62 = 8[r17] 
-	;;
-	cmpne br1 = r2, zero
-	andc r2 = r1, (1<<2)
-	ldw r61 = 12[r17] 
-	;;
-	cmpne br2 = r2, zero
-	andc r2 = r1, (1<<3)
-	ldw r60 = 16[r17] 	
-	;;
-	cmpne br3 = r2, zero
-	andc r2 = r1, (1<<4)	
-	ldw r59 = 20[r17] 
-	;;
-	cmpne br4 = r2, zero
-	andc r2 = r1, (1<<5)
-	ldw r58 = 24[r17] 	
-	;;
-	cmpne br5 = r2, zero
-	andc r2 = r1, (1<<6)
-	ldw r57 = 28[r17] 	
-	;;
-	cmpne br6 = r2, zero
-	andc r2 = r1, (1<<7)
-	ldw r56 = 32[r17] 	
-	;;
-	cmpne br7 = r2, zero
-	ldw r55 = 36[r17]
-	;;
-	ldw r54 = 40[r17]
-	;;
-	ldw r53 = 44[r17]
-	;;
-	ldw r52 = 48[r17]
-	;; 	
-	ldw r51 = 52[r17] 
-	;;
-	ldw r50 = 56[r17]
-	;;
-	ldw r49 = 60[r17]
-	;;
-	ldw r48 = 64[r17]
-	;;
-	ldw r47 = 68[r17]
-	;; 	
-	ldw r46 = 72[r17] 	
-	;;
-	ldw r45 = 76[r17]
-	;;
-	ldw r44 = 80[r17]
-	;;
-	ldw r43 = 84[r17]
-	;; 	
-	ldw r42 = 88[r17] 
-	;;
-	ldw r41 = 92[r17]
-	;;
-	ldw r40 = 96[r17]
-	;;
-	ldw r39 = 100[r17]
-	;;
-	ldw r38 = 104[r17]
-	;; 	
-	ldw r37 = 108[r17] 
-	;;
-	ldw r36 = 112[r17]
-	;;
-	ldw r35 = 116[r17]
-	;;
-	ldw r34 = 120[r17]
-	;; 	
-	ldw r33 = 124[r17] 
-	;;
-	ldw r32 = 128[r17]
-	;;
-	ldw r31 = 132[r17]
-	;;
-	ldw r30 = 136[r17]
-	;;
-	ldw r29 = 140[r17]
-	;; 	
-	ldw r28 = 144[r17] 
-	;;
-	ldw r27 = 148[r17]
-	;;
-	ldw r26 = 152[r17]
-	;;
-	ldw r25 = 156[r17]
-	;; 	
-	ldw r24 = 160[r17] 
-	;;
-	ldw r23 = 164[r17]
-	;;
-	ldw r22 = 168[r17]
-	;;
-	ldw r21 = 172[r17]
-	;;
-	ldw r20 = 176[r17]
-	;; 	
-	ldw r19 = 180[r17] 
-	;; 
-	ldw r18 = 184[r17]
-	;;
-	// r17 skipped
-	
-	ldw r16 = 192[r17]
-	;;
-	ldw r15 = 196[r17]
-	;; 	
-	ldw r14 = 200[r17] 
-	;;
-	ldw r13 = 204[r17]
-	;;
-	ldw r12 = 208[r17]
-	;;
-	ldw r11 = 212[r17]
-	;; 	
-	ldw r10 = 216[r17] 
-	;;
-	ldw r9 = 220[r17]
-	;;
-	ldw r8 = 224[r17]
-	;;
-	ldw r7 = 228[r17]
-	;;
-	ldw r6 = 232[r17]
-	;; 	
-	ldw r5 = 236[r17] 
-	;;
-	ldw r4 = 240[r17]
-	;;
-	// r1,r2,r3 postponed because of use
-	
-	ldw r1 = 256[r17] // load SAVED_PC
-	;;
-	ldw r2 = 260[r17] // load SAVED_PSW
-	;;
-	ldw r3 = 188[r17] // load r17
-	;; 
-	stw 0xFFFFFFE8[zero] = r1
-	;;
-	stw 0xFFFFFFF0[zero] = r2
-	;;
-	stw r17_temp[zero] = r3
-	;;
-	ldw r3 = 244[r17]
-	;;
-	ldw r2 = 248[r17]
-	;;
-	ldw r1 = 252[r17]
-	;;
-	ldw r17 = r17_temp[zero]
-	;;
-	;;
-	;; 
-	rfi
-	;; 
-	
-	.data
-r17_temp:
-	.align 4
-	.skip 4	

-- 
applications.git



More information about the Lisaac-commits mailing list