1 /* -*-comment-start: "//";comment-end:""-*-
2 * Mes --- Maxwell Equations of Software
3 * Copyright © 2016,2017 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
5 * This file is part of Mes.
7 * Mes is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or (at
10 * your option) any later version.
12 * Mes is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Mes. If not, see <http://www.gnu.org/licenses/>.
24 asm ("mov____0x8(%ebp),%ebx !8");
25 asm ("mov____0x8(%ebp),%ecx !12");
26 asm ("mov____0x8(%ebp),%edx !16");
28 asm ("mov____$i32,%eax SYS_read");
35 asm ("mov____0x8(%ebp),%ebx !8");
36 asm ("mov____0x8(%ebp),%ecx !12");
37 asm ("mov____0x8(%ebp),%edx !16");
39 asm ("mov____$i32,%eax SYS_open");
46 asm ("mov____0x8(%ebp),%ebx !8");
47 asm ("mov____0x8(%ebp),%ecx !12");
49 asm ("mov____$i32,%eax SYS_chmod");
56 asm ("mov____0x8(%ebp),%ebx !8");
57 asm ("mov____0x8(%ebp),%ecx !12");
59 asm ("mov____$i32,%eax SYS_access");
66 asm ("mov____0x8(%ebp),%ebx !8");
68 asm ("mov____$i32,%eax SYS_brk");
75 asm ("mov____0x8(%ebp),%ebx !8");
77 asm ("mov____$i32,%eax SYS_fsync");