3 ;;; Mes --- Maxwell Equations of Software
4 ;;; Copyright © 2016,2017 Jan Nieuwenhuizen <janneke@gnu.org>
6 ;;; This file is part of Mes.
8 ;;; Mes is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; Mes is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with Mes. If not, see <http://www.gnu.org/licenses/>.
23 ;;; as-i386.scm defines i386 assembly
27 (define-module (mes as-i386)
28 #:use-module (mes elf)
33 i386:accu->base-address
34 i386:accu->base-address+n
36 i386:accu->global-address
52 i386:base->accu-address
53 i386:byte-accu->base-address
58 i386:byte-base->accu-address
59 i386:byte-base->accu-address+n
60 i386:byte-base-mem->accu
61 i386:local-address->accu
72 i386:function-preamble
76 i386:global-address->accu
77 i386:global-address->base
92 i386:local-address->accu
95 i386:local-address->base
104 i386:push-global-address
106 i386:push-local-de-ref
107 i386:push-local-address
114 i386:value->accu-address
115 i386:value->accu-address+n
142 i386:base-address->accu-address
145 (include-from-path "mes/as-i386.mes")