home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / goattracker_2.68.zip / src / asm / pc.h < prev    next >
C/C++ Source or Header  |  2008-04-01  |  1KB  |  42 lines

  1. #ifndef ALREADY_INCLUDED_PC
  2. #define ALREADY_INCLUDED_PC
  3.  
  4. /*
  5.  * Copyright (c) 2004 Magnus Lind.
  6.  *
  7.  * This software is provided 'as-is', without any express or implied warranty.
  8.  * In no event will the authors be held liable for any damages arising from
  9.  * the use of this software.
  10.  *
  11.  * Permission is granted to anyone to use this software, alter it and re-
  12.  * distribute it freely for any non-commercial, non-profit purpose subject to
  13.  * the following restrictions:
  14.  *
  15.  *   1. The origin of this software must not be misrepresented; you must not
  16.  *   claim that you wrote the original software. If you use this software in a
  17.  *   product, an acknowledgment in the product documentation would be
  18.  *   appreciated but is not required.
  19.  *
  20.  *   2. Altered source versions must be plainly marked as such, and must not
  21.  *   be misrepresented as being the original software.
  22.  *
  23.  *   3. This notice may not be removed or altered from any distribution.
  24.  *
  25.  *   4. The names of this software and/or it's copyright holders may not be
  26.  *   used to endorse or promote products derived from this software without
  27.  *   specific prior written permission.
  28.  *
  29.  */
  30.  
  31. #include "expr.h"
  32.  
  33. void pc_dump(int level);
  34. void pc_set(int pc);
  35. void pc_set_expr(struct expr *pc);
  36. struct expr *pc_get(void);
  37. void pc_add(int offset);
  38. void pc_add_expr(struct expr *pc);
  39. void pc_unset(void);
  40.  
  41. #endif
  42.