1c03b94e9Schristos;;; gloss.s --- system calls for sample2.x 2c03b94e9Schristos;;; 3*1424dfb3Schristos;;; Copyright (C) 2005-2020 Free Software Foundation, Inc. 4c03b94e9Schristos;;; Contributed by Red Hat, Inc. 5c03b94e9Schristos;;; 6c03b94e9Schristos;;; This file is part of the GNU simulators. 7c03b94e9Schristos;;; 8c03b94e9Schristos;;; This program is free software; you can redistribute it and/or modify 9c03b94e9Schristos;;; it under the terms of the GNU General Public License as published by 10c03b94e9Schristos;;; the Free Software Foundation; either version 3 of the License, or 11c03b94e9Schristos;;; (at your option) any later version. 12c03b94e9Schristos;;; 13c03b94e9Schristos;;; This program is distributed in the hope that it will be useful, 14c03b94e9Schristos;;; but WITHOUT ANY WARRANTY; without even the implied warranty of 15c03b94e9Schristos;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16c03b94e9Schristos;;; GNU General Public License for more details. 17c03b94e9Schristos;;; 18c03b94e9Schristos;;; You should have received a copy of the GNU General Public License 19c03b94e9Schristos;;; along with this program. If not, see <http://www.gnu.org/licenses/>. 20c03b94e9Schristos 21c03b94e9Schristos;;; See the 'sample2.x' target in Makefile.in. 22c03b94e9Schristos .global _exit 23c03b94e9Schristos_exit: 24c03b94e9Schristos mov.b #1,r0l 25c03b94e9Schristos ste.b r0l,0xe0000 26c03b94e9Schristos rts 27c03b94e9Schristos 28c03b94e9Schristos .global _foo 29c03b94e9Schristos_foo: 30c03b94e9Schristos mov.b #2,r0l 31c03b94e9Schristos ste.b r0l,0xe0000 32c03b94e9Schristos rts 33