From 091899a37a61b19269a9c726ee2f10565d537349 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 1 Dec 2013 23:02:09 -0500 Subject: [PATCH] Remove CSEG directive for compatibility with AS31 and AS504 assemblers --- tests/anl.asm | 2 -- tests/div.asm | 2 -- tests/mov.asm | 2 -- tests/mul1.asm | 2 -- tests/mul2.asm | 2 -- tests/orl.asm | 2 -- tests/timer0.asm | 2 -- tests/timer1.asm | 2 -- tests/timer2.asm | 2 -- 9 files changed, 18 deletions(-) diff --git a/tests/anl.asm b/tests/anl.asm index 46d383b..53d22b9 100644 --- a/tests/anl.asm +++ b/tests/anl.asm @@ -8,8 +8,6 @@ ; Test output: PSW = $E0 ; Test output: TCON = $01 - CSEG - ORG 0000h ; Reset vector MOV PSW, #0E0h diff --git a/tests/div.asm b/tests/div.asm index ffba723..4c0c29b 100644 --- a/tests/div.asm +++ b/tests/div.asm @@ -7,8 +7,6 @@ ; Test output: B = $00 ; Test output: PSW = $00 - CSEG - ORG 0000h ; Reset vector MOV A, #0FFh diff --git a/tests/mov.asm b/tests/mov.asm index c25406a..d5b552c 100644 --- a/tests/mov.asm +++ b/tests/mov.asm @@ -9,8 +9,6 @@ ; Test output: DPTR = $9876 ; Test output: R0 = $66 - CSEG - ORG 0000h ; Reset vector MOV A, #099h diff --git a/tests/mul1.asm b/tests/mul1.asm index dac4bdd..5efccf2 100644 --- a/tests/mul1.asm +++ b/tests/mul1.asm @@ -7,8 +7,6 @@ ; Test output: B = $00 ; Test output: PSW = $01 - CSEG - ORG 0000h ; Reset vector MOV A, #061h diff --git a/tests/mul2.asm b/tests/mul2.asm index b0a8f71..33c46dd 100644 --- a/tests/mul2.asm +++ b/tests/mul2.asm @@ -7,8 +7,6 @@ ; Test output: B = $0B ; Test output: PSW = $05 - CSEG - ORG 0000h ; Reset vector MOV A, #099h diff --git a/tests/orl.asm b/tests/orl.asm index 89f96d4..674b381 100644 --- a/tests/orl.asm +++ b/tests/orl.asm @@ -7,8 +7,6 @@ ; Test output: PSW = $E0 ; Test output: TCON = $01 - CSEG - ORG 0000h ; Reset vector MOV PSW, #0E0h diff --git a/tests/timer0.asm b/tests/timer0.asm index 5935e24..11a8227 100644 --- a/tests/timer0.asm +++ b/tests/timer0.asm @@ -15,8 +15,6 @@ TOS EQU 60h ; Adresse du dessus de la pile. - CSEG - ORG 0000h ; Reset vector MOV SP,#TOS ; Init stack pointer diff --git a/tests/timer1.asm b/tests/timer1.asm index 209e199..2efed18 100644 --- a/tests/timer1.asm +++ b/tests/timer1.asm @@ -15,8 +15,6 @@ TOS EQU 60h ; Adresse du dessus de la pile. - CSEG - ORG 0000h ; Reset vector MOV SP,#TOS ; Init stack pointer diff --git a/tests/timer2.asm b/tests/timer2.asm index 790a216..ab47b26 100644 --- a/tests/timer2.asm +++ b/tests/timer2.asm @@ -15,8 +15,6 @@ TOS EQU 60h ; Adresse du dessus de la pile. - CSEG - ORG 0000h ; Reset vector MOV SP,#TOS ; Init stack pointer -- 2.20.1