blob: a2140a0e3dce2c6b27ee527fd565c798f565f0b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
;###############################################################################
;# Copyright (c) 2010 Linaro Limited
;# All rights reserved. This program and the accompanying materials
;# are made available under the terms of the Eclipse Public License v1.0
;# which accompanies this distribution, and is available at
;# http://www.eclipse.org/legal/epl-v10.html
;#
;# Contributors:
;# Peter Maydell (Linaro) - initial implementation
;###############################################################################
; A trivial test image for x86
BITS 32
; Initialise the registers to avoid spurious mismatches
mov eax, 0x12345678
mov ebx, 0x9abcdef0
mov ecx, 0x97361234
mov edx, 0x84310284
mov edi, 0x83624173
mov esi, 0xfaebfaeb
mov ebp, 0x84610123
; UD1 : do compare
UD1
; UD2 : exit test
UD2
|