DSP2803x_DBGIER.asm 918 B

12345678910111213141516171819202122232425262728
  1. ;//###########################################################################
  2. ;//
  3. ;// FILE: DSP2803x_DBGIER.asm
  4. ;//
  5. ;// TITLE: Set the DBGIER register
  6. ;//
  7. ;// DESCRIPTION:
  8. ;//
  9. ;// Function to set the DBGIER register (for realtime emulation).
  10. ;// Function Prototype: void SetDBGIER(Uint16)
  11. ;// Useage: SetDBGIER(value);
  12. ;// Input Parameters: Uint16 value = value to put in DBGIER register.
  13. ;// Return Value: none
  14. ;//
  15. ;//###########################################################################
  16. ;// $TI Release: F2803x C/C++ Header Files and Peripheral Examples V130 $
  17. ;// $Release Date: May 8, 2015 $
  18. ;// $Copyright: Copyright (C) 2009-2015 Texas Instruments Incorporated -
  19. ;// http://www.ti.com/ ALL RIGHTS RESERVED $
  20. ;//###########################################################################
  21. .global _SetDBGIER
  22. .text
  23. _SetDBGIER:
  24. MOV *SP++,AL
  25. POP DBGIER
  26. LRETR