1/* 2 * Copyright 2021-2022 Haiku, Inc. All rights reserved. 3 * Released under the terms of the MIT License. 4 * 5 * Copyright 2001, Travis Geiselbrecht. All rights reserved. 6 * Distributed under the terms of the NewOS License. 7 */ 8 9 10#define FUNCTION(x) .global x; .type x,@function; x 11 12 13FUNCTION(execute_n_instructions): 14 movl 4(%esp), %ecx 15 shrl $4, %ecx 16.again: 17 xorl %eax, %eax 18 xorl %eax, %eax 19 xorl %eax, %eax 20 xorl %eax, %eax 21 xorl %eax, %eax 22 xorl %eax, %eax 23 xorl %eax, %eax 24 xorl %eax, %eax 25 xorl %eax, %eax 26 xorl %eax, %eax 27 xorl %eax, %eax 28 xorl %eax, %eax 29 xorl %eax, %eax 30 xorl %eax, %eax 31 xorl %eax, %eax 32 xorl %eax, %eax 33 loop .again 34 ret 35 36