| [672] | 1 | /* $Id: 631asmc.c 675 2003-09-09 18:27:08Z bird $ | 
|---|
|  | 2 | * | 
|---|
|  | 3 | * The code which VAC generate the 631asm.asm file from. | 
|---|
|  | 4 | * | 
|---|
|  | 5 | * InnoTek Systemberatung GmbH confidential | 
|---|
|  | 6 | * | 
|---|
|  | 7 | * Copyright (c) 2003 InnoTek Systemberatung GmbH | 
|---|
|  | 8 | * Author: knut st. osmundsen <bird-srcspam@anduin.net> | 
|---|
|  | 9 | * | 
|---|
|  | 10 | * All Rights Reserved | 
|---|
|  | 11 | * | 
|---|
|  | 12 | */ | 
|---|
|  | 13 |  | 
|---|
|  | 14 | /******************************************************************************* | 
|---|
|  | 15 | *   Structures and Typedefs                                                    * | 
|---|
|  | 16 | *******************************************************************************/ | 
|---|
|  | 17 | struct ret4bytes | 
|---|
|  | 18 | { | 
|---|
|  | 19 | unsigned int au[1]; | 
|---|
|  | 20 | }; | 
|---|
|  | 21 |  | 
|---|
|  | 22 | struct ret8bytes | 
|---|
|  | 23 | { | 
|---|
|  | 24 | unsigned int au[2]; | 
|---|
|  | 25 | }; | 
|---|
|  | 26 |  | 
|---|
|  | 27 | struct ret12bytes | 
|---|
|  | 28 | { | 
|---|
|  | 29 | unsigned int au[3]; | 
|---|
|  | 30 | }; | 
|---|
|  | 31 |  | 
|---|
|  | 32 | struct ret16bytes | 
|---|
|  | 33 | { | 
|---|
|  | 34 | unsigned int au[4]; | 
|---|
|  | 35 | }; | 
|---|
|  | 36 |  | 
|---|
|  | 37 |  | 
|---|
| [675] | 38 | struct ret4bytes _System    asmfoosys4(void) | 
|---|
|  | 39 | { | 
|---|
|  | 40 | struct ret4bytes ret = {1}; | 
|---|
|  | 41 | return ret; | 
|---|
|  | 42 | } | 
|---|
| [672] | 43 |  | 
|---|
| [675] | 44 | struct ret8bytes _System    asmfoosys8(void) | 
|---|
| [672] | 45 | { | 
|---|
| [675] | 46 | struct ret8bytes ret = {1,2}; | 
|---|
|  | 47 | return ret; | 
|---|
|  | 48 | } | 
|---|
|  | 49 |  | 
|---|
|  | 50 | struct ret12bytes _System   asmfoosys12(void) | 
|---|
|  | 51 | { | 
|---|
|  | 52 | struct ret12bytes ret = {1,2,3}; | 
|---|
|  | 53 | return ret; | 
|---|
|  | 54 | } | 
|---|
|  | 55 |  | 
|---|
|  | 56 | struct ret16bytes _System   asmfoosys16(void) | 
|---|
|  | 57 | { | 
|---|
|  | 58 | struct ret16bytes ret = {1,2,3,4}; | 
|---|
|  | 59 | return ret; | 
|---|
|  | 60 | } | 
|---|
|  | 61 |  | 
|---|
|  | 62 | /* optlink */ | 
|---|
|  | 63 | struct ret4bytes _Optlink   asmfooopt4(void) | 
|---|
|  | 64 | { | 
|---|
| [672] | 65 | struct ret4bytes ret = {1}; | 
|---|
|  | 66 | return ret; | 
|---|
|  | 67 | } | 
|---|
|  | 68 |  | 
|---|
| [675] | 69 | struct ret8bytes _Optlink   asmfooopt8(void) | 
|---|
| [672] | 70 | { | 
|---|
|  | 71 | struct ret8bytes ret = {1,2}; | 
|---|
|  | 72 | return ret; | 
|---|
|  | 73 | } | 
|---|
|  | 74 |  | 
|---|
| [675] | 75 | struct ret12bytes _Optlink  asmfooopt12(void) | 
|---|
| [672] | 76 | { | 
|---|
|  | 77 | struct ret12bytes ret = {1,2,3}; | 
|---|
|  | 78 | return ret; | 
|---|
|  | 79 | } | 
|---|
|  | 80 |  | 
|---|
| [675] | 81 | struct ret16bytes _Optlink  asmfooopt16(void) | 
|---|
| [672] | 82 | { | 
|---|
|  | 83 | struct ret16bytes ret = {1,2,3,4}; | 
|---|
|  | 84 | return ret; | 
|---|
|  | 85 | } | 
|---|
|  | 86 |  | 
|---|
| [675] | 87 |  | 
|---|
|  | 88 | /* stdcall */ | 
|---|
|  | 89 | struct ret4bytes __stdcall  asmfoostd4(void) | 
|---|
|  | 90 | { | 
|---|
|  | 91 | struct ret4bytes ret = {1}; | 
|---|
|  | 92 | return ret; | 
|---|
|  | 93 | } | 
|---|
|  | 94 |  | 
|---|
|  | 95 | struct ret8bytes __stdcall  asmfoostd8(void) | 
|---|
|  | 96 | { | 
|---|
|  | 97 | struct ret8bytes ret = {1,2}; | 
|---|
|  | 98 | return ret; | 
|---|
|  | 99 | } | 
|---|
|  | 100 |  | 
|---|
|  | 101 | struct ret12bytes __stdcall asmfoostd12(void) | 
|---|
|  | 102 | { | 
|---|
|  | 103 | struct ret12bytes ret = {1,2,3}; | 
|---|
|  | 104 | return ret; | 
|---|
|  | 105 | } | 
|---|
|  | 106 |  | 
|---|
|  | 107 | struct ret16bytes __stdcall asmfoostd16(void) | 
|---|
|  | 108 | { | 
|---|
|  | 109 | struct ret16bytes ret = {1,2,3,4}; | 
|---|
|  | 110 | return ret; | 
|---|
|  | 111 | } | 
|---|
|  | 112 |  | 
|---|