From: Alexis Laferrière Date: Sun, 15 Jun 2014 13:21:07 +0000 (-0400) Subject: pep8analysis: fix format and encoding of some sample/test programs X-Git-Tag: v0.6.6~24^2~11 X-Git-Url: http://nitlanguage.org pep8analysis: fix format and encoding of some sample/test programs Signed-off-by: Alexis Laferrière --- diff --git a/contrib/pep8analysis/tests/micro/types.pep b/contrib/pep8analysis/tests/micro/types.pep index a20f7d1..8d69055 100644 --- a/contrib/pep8analysis/tests/micro/types.pep +++ b/contrib/pep8analysis/tests/micro/types.pep @@ -1,9 +1,9 @@ - ADDA 123,d ; use of unitialized data - LDBYTEA 12,d - ADDA 123,d ; use of partially uninitialized data - LDA 12,d - LDBYTEA 12,d - ADDA 123,d ; use of partial word partial byte - STOP - .WORD 1 - .END +ADDA 123,d ; use of unitialized data +LDBYTEA 12,d +ADDA 123,d ; use of partially uninitialized data +LDA 12,d +LDBYTEA 12,d +ADDA 123,d ; use of partial word partial byte +STOP +.WORD 1 +.END diff --git a/contrib/pep8analysis/tests/privat/02-fibo.pep b/contrib/pep8analysis/tests/privat/02-fibo.pep index 28470f7..b9abbfb 100644 --- a/contrib/pep8analysis/tests/privat/02-fibo.pep +++ b/contrib/pep8analysis/tests/privat/02-fibo.pep @@ -1,5 +1,5 @@ ; Trouve et imprime le premier terme de la suite de Fibonacci -; supérieur à 500. +; supérieur à 500. ; Ph. Gabrini septembre 2005 ; STA dernier,d diff --git a/contrib/pep8analysis/tests/privat/06-calc-non-pur.pep b/contrib/pep8analysis/tests/privat/06-calc-non-pur.pep index 8ab5a39..0d5c8a9 100644 --- a/contrib/pep8analysis/tests/privat/06-calc-non-pur.pep +++ b/contrib/pep8analysis/tests/privat/06-calc-non-pur.pep @@ -1,8 +1,8 @@ ; Semaine 6 -; Programme non pur qui fait des opérations multiples +; Programme non pur qui fait des opérations multiples ; Jean Privat (C) 2010 DECI num,d - LDX num,d ; X = nombre opération = getNombre(); + LDX num,d ; X = nombre opération = getNombre(); CHARI op,d LDA 0,i LDBYTEA op,d ; A = op = getChar() @@ -11,7 +11,7 @@ CPA '-',i BRNE error ; else if (A == '-') { LDBYTEA subad,d - STBYTEA instr,d ; remplace l'instruction à instr par SUBA + STBYTEA instr,d ; remplace l'instruction à instr par SUBA BR loop ; } else { error: STRO errMsg,d ; print error; STOP ; exit; } @@ -26,8 +26,8 @@ instr: ADDA num,d ; num = getInt() + getInt() // ou - si remplassag CHARO '\n',i ; print(num, "\n") BR loop ; } // fin while fin: STOP -op: .BLOCK 1 ; #1c symbole de l'opération -num: .BLOCK 2 ; nombre entrée, calculé et affiché +op: .BLOCK 1 ; #1c symbole de l'opération +num: .BLOCK 2 ; nombre entrée, calculé et affiché errMsg: .ASCII "Attendu '+' ou '-'\x00" -subad: SUBA 0,d ; code opération instruction - .END \ No newline at end of file +subad: SUBA 0,d ; code opération instruction + .END