Diff
checker
Texte
Texte
Images
Documents
Excel
Dossiers
Legal
Enterprise
Application de bureau
Prix
Se connecter
Télécharger Diffchecker Desktop
Comparer le texte
Trouver la différence entre deux fichiers texte
Outils
Historique
Éditeur live
Cacher identiques
Sans retour à la ligne
Vue
Divisé
Unifié
Niveau de précision
Intelligent
Mot
Caractère
Coloration syntaxique
Choisir la syntaxe
Ignorer
Transformer le texte
Aller au premier écart
Modifier l'entrée
Diffchecker Desktop
La façon la plus sécurisée d'utiliser Diffchecker. Obtenez l'application Diffchecker Desktop : vos diffs ne quittent jamais votre ordinateur !
Obtenir Desktop
Assembler output of string parameters without and with const (modify content)
Créé
il y a 10 ans
Le diff n'expire jamais
Effacer
Exporter
Partager
Expliquer
14 suppressions
Lignes
Total
Supprimé
Caractères
Total
Supprimé
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
39 lignes
Copier tout
20 ajouts
Lignes
Total
Ajouté
Caractères
Total
Ajouté
Pour continuer à utiliser cette fonctionnalité, passez à
Diff
checker
Pro
Voir les prix
43 lignes
Copier tout
Copier
Copié
Copier
Copié
P$CONSTPARAMETERSTR_$$_
BYVALUE
$ANSISTRING:
.globl
P$CONSTPARAMETERSTR_$$_
BYREFERENCE$ANSISTRING
P$CONSTPARAMETERSTR_$$_BYREFERENCE
$ANSISTRING:
# Temps allocated between ebp-44 and ebp-4
# Temps allocated between ebp-44 and ebp-4
Copier
Copié
Copier
Copié
# [
16
] begin
# [
24
] begin
pushl %ebp
pushl %ebp
movl %esp,%ebp
movl %esp,%ebp
leal -44(%esp),%esp
leal -44(%esp),%esp
Copier
Copié
Copier
Copié
# Var V located
at ebp-4, size=OS_32
pushl %ebx
movl %eax,
-4(%ebp)
# Var V located
in register ebx
call fpc_ansistr_incr_ref
# Var S located
at ebp-4, size=OS_32
movl %eax,
%ebx
# [27] end;
movl $0,
-4(%ebp)
movl $1,%eax
movl $1,%eax
leal -40(%ebp),%edx
leal -40(%ebp),%edx
leal -16(%ebp),%ecx
leal -16(%ebp),%ecx
call fpc_pushexceptaddr
call fpc_pushexceptaddr
call fpc_setjmp
call fpc_setjmp
pushl %eax
pushl %eax
testl %eax,%eax
testl %eax,%eax
Copier
Copié
Copier
Copié
jne .
Lj7
jne .
Lj11
# [
17] V
:= V + 'x';
# [
25] S
:= V + 'x';
pushl $0
pushl $0
Copier
Copié
Copier
Copié
movl
-4(
%eb
p)
,%edx
movl
%eb
x
,%edx
leal -4(%ebp),%eax
leal -4(%ebp),%eax
movl $.Ld1,%ecx
movl $.Ld1,%ecx
call fpc_ansistr_concat
call fpc_ansistr_concat
Copier
Copié
Copier
Copié
# [
18
] DoIt(
V
);
# [
26
] DoIt(
S
);
movl -4(%ebp),%eax
movl -4(%ebp),%eax
call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING
call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING
Copier
Copié
Copier
Copié
.
Lj7
:
.
Lj11
:
call fpc_popaddrstack
call fpc_popaddrstack
Copier
Copié
Copier
Copié
# [19] end;
leal -4(%ebp),%eax
leal -4(%ebp),%eax
call fpc_ansistr_decr_ref
call fpc_ansistr_decr_ref
popl %eax
popl %eax
testl %eax,%eax
testl %eax,%eax
Copier
Copié
Copier
Copié
je .
Lj8
je .
Lj12
call fpc_reraise
call fpc_reraise
Copier
Copié
Copier
Copié
.
Lj8:
.
Lj12:
popl %ebx
movl %ebp,%esp
movl %ebp,%esp
popl %ebp
popl %ebp
ret
ret
Différences enregistrées
Texte d'origine
Ouvrir un fichier
P$CONSTPARAMETERSTR_$$_BYVALUE$ANSISTRING: # Temps allocated between ebp-44 and ebp-4 # [16] begin pushl %ebp movl %esp,%ebp leal -44(%esp),%esp # Var V located at ebp-4, size=OS_32 movl %eax,-4(%ebp) call fpc_ansistr_incr_ref movl $1,%eax leal -40(%ebp),%edx leal -16(%ebp),%ecx call fpc_pushexceptaddr call fpc_setjmp pushl %eax testl %eax,%eax jne .Lj7 # [17] V := V + 'x'; pushl $0 movl -4(%ebp),%edx leal -4(%ebp),%eax movl $.Ld1,%ecx call fpc_ansistr_concat # [18] DoIt(V); movl -4(%ebp),%eax call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING .Lj7: call fpc_popaddrstack # [19] end; leal -4(%ebp),%eax call fpc_ansistr_decr_ref popl %eax testl %eax,%eax je .Lj8 call fpc_reraise .Lj8: movl %ebp,%esp popl %ebp ret
Texte modifié
Ouvrir un fichier
.globl P$CONSTPARAMETERSTR_$$_BYREFERENCE$ANSISTRING P$CONSTPARAMETERSTR_$$_BYREFERENCE$ANSISTRING: # Temps allocated between ebp-44 and ebp-4 # [24] begin pushl %ebp movl %esp,%ebp leal -44(%esp),%esp pushl %ebx # Var V located in register ebx # Var S located at ebp-4, size=OS_32 movl %eax,%ebx # [27] end; movl $0,-4(%ebp) movl $1,%eax leal -40(%ebp),%edx leal -16(%ebp),%ecx call fpc_pushexceptaddr call fpc_setjmp pushl %eax testl %eax,%eax jne .Lj11 # [25] S := V + 'x'; pushl $0 movl %ebx,%edx leal -4(%ebp),%eax movl $.Ld1,%ecx call fpc_ansistr_concat # [26] DoIt(S); movl -4(%ebp),%eax call P$CONSTPARAMETERSTR_$$_DOIT$ANSISTRING .Lj11: call fpc_popaddrstack leal -4(%ebp),%eax call fpc_ansistr_decr_ref popl %eax testl %eax,%eax je .Lj12 call fpc_reraise .Lj12: popl %ebx movl %ebp,%esp popl %ebp ret
Trouver la différence