Python-ELMO is a Python library which offers an encapsulation of the binary tool ELMO, in order to manipulate it easily in Python and SageMath script.

elmoasmfunctionsdef.h 2.5KB

vor 4 Jahren
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * University of Bristol – Open Access Software Licence
  3. * Copyright (c) 2016, The University of Bristol, a chartered
  4. * corporation having Royal Charter number RC000648 and a charity
  5. * (number X1121) and its place of administration being at Senate
  6. * House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom.
  7. * All rights reserved
  8. *
  9. * Redistribution and use in source and binary forms, with or without
  10. * modification, are permitted provided that the following conditions
  11. * are met:
  12. *
  13. * 1. Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions and the following disclaimer.
  15. *
  16. * 2. Redistributions in binary form must reproduce the above
  17. * copyright notice, this list of conditions and the following
  18. * disclaimer in the documentation and/or other materials provided
  19. * with the distribution.
  20. *
  21. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  22. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  23. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  24. * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  25. * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  26. * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  27. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  28. * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  29. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  30. * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  31. * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  32. * OF THE POSSIBILITY OF SUCH DAMAGE.
  33. *
  34. * Any use of the software for scientific publications or commercial
  35. * purposes should be reported to the University of Bristol
  36. * (OSI-notifications@bristol.ac.uk and quote reference 2668). This is
  37. * for impact and usage monitoring purposes only.
  38. *
  39. * Enquiries about further applications and development opportunities
  40. * are welcome. Please contact elisabeth.oswald@bristol.ac.uk
  41. */
  42. extern void starttrigger(void);
  43. extern void endtrigger(void);
  44. extern void randbyte(unsigned char * pointer);
  45. extern void LoadN(void* addr);
  46. extern void readbyte(unsigned char * pointer);
  47. extern void printbyte(unsigned char * pointer);
  48. extern void endprogram(void);
  49. extern void getstart(unsigned int * pointer);
  50. extern void getruncount(unsigned int * pointer);
  51. extern void initialisemaskflow(unsigned char * pointer);
  52. extern void resetmaskflow(void);
  53. extern void setmaskflowstart(unsigned int start);
  54. extern void resetdatafile(void);