Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Numeric/ShowIntBase.hc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define v263	((void*)startLabel+68)
#define v267	((void*)startLabel+189)
#define v265	((void*)startLabel+201)
#define CT_v269	((void*)startLabel+224)
#define FN_LAMBDA259	((void*)startLabel+324)
#define CT_v271	((void*)startLabel+344)
#define CF_LAMBDA259	((void*)startLabel+352)
#define FN_LAMBDA258	((void*)startLabel+364)
#define CT_v272	((void*)startLabel+376)
#define F0_LAMBDA258	((void*)startLabel+384)
#define FN_LAMBDA257	((void*)startLabel+396)
#define CT_v273	((void*)startLabel+408)
#define F0_LAMBDA257	((void*)startLabel+416)
#define FN_LAMBDA256	((void*)startLabel+428)
#define CT_v275	((void*)startLabel+448)
#define CF_LAMBDA256	((void*)startLabel+456)
#define CT_v276	((void*)startLabel+508)
#define CT_v277	((void*)startLabel+592)
#define CT_v278	((void*)startLabel+676)
#define ST_v274	((void*)startLabel+712)
#define ST_v270	((void*)startLabel+763)
extern Node FN_Prelude_46Integral_46Prelude_46Real[];
extern Node FN_Prelude_46Real_46Prelude_46Num[];
extern Node FN_Prelude_46fromInteger[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Prelude_46Real_46Prelude_46Ord[];
extern Node FN_Prelude_46_60[];
extern Node FN_Prelude_46error[];
extern Node CF_Prelude_46otherwise[];
extern Node FN_Prelude_46quotRem[];
extern Node FN_NHC_46Internal_46_95apply2[];
extern Node FN_Prelude_46fromIntegral[];
extern Node CF_Prelude_46Num_46Prelude_46Int[];
extern Node FN_Prelude_46Num_46Prelude_46Eq[];
extern Node FN_Prelude_46_61_61[];
extern Node FN_NHC_46Internal_46_95patternMatchFail[];
extern Node F0_Char_46intToDigit[];

static Node startLabel[] = {
  bytes2word(5,0,4,1)
, bytes2word(3,2,2,3)
, bytes2word(1,4,0,5)
, useLabel(CT_v269)
,};
Node FN_Numeric_46showIntAtBase[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(6,HEAP_OFF_N1,3,HEAP_CADR_N1)
, bytes2word(1,PUSH_P1,0,PUSH_ARG)
, bytes2word(4,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_P1,7,HEAP_OFF_N1,3)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,8,HEAP_OFF_N1)
, bytes2word(3,EVAL,NEEDHEAP_I32,APPLY)
, bytes2word(2,SLIDE_P1,1,EVAL)
, bytes2word(NEEDHEAP_I32,JUMPFALSE,10,0)
, bytes2word(HEAP_CVAL_P1,9,PUSH_HEAP,HEAP_CVAL_P1)
,	/* v263: (byte 4) */
  bytes2word(10,HEAP_OFF_N1,2,RETURN_EVAL)
, bytes2word(PUSH_CVAL_P1,11,EVAL,NEEDHEAP_P1)
, bytes2word(41,JUMPFALSE,127,0)
, bytes2word(PUSH_HEAP,HEAP_ARG,1,HEAP_CVAL_P1)
, bytes2word(12,HEAP_P1,0,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,13,HEAP_OFF_N1,3)
, bytes2word(HEAP_ARG_ARG,4,2,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,14,HEAP_OFF_N1,5)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,15,HEAP_OFF_N1)
, bytes2word(7,PUSH_HEAP,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_P1,16,HEAP_P1,0)
, bytes2word(HEAP_CVAL_P1,17,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,4,HEAP_I1,HEAP_CVAL_P1)
, bytes2word(6,HEAP_ARG,3,HEAP_OFF_N1)
, bytes2word(5,PUSH_HEAP,HEAP_CVAL_N1,2)
, bytes2word(HEAP_OFF_N1,4,HEAP_ARG,5)
, bytes2word(HEAP_CVAL_I3,HEAP_ARG,1,HEAP_CVAL_I4)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_I5,HEAP_OFF_N1)
, bytes2word(3,PUSH_HEAP,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,3,HEAP_CADR_N1,1)
, bytes2word(PUSH_P1,0,PUSH_P1,5)
, bytes2word(HEAP_CVAL_I3,HEAP_ARG,1,HEAP_CVAL_I4)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_P1,18)
, bytes2word(HEAP_OFF_N1,3,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(19,HEAP_OFF_N1,3,ZAP_ARG)
, bytes2word(4,ZAP_ARG,5,ZAP_STACK_P1)
, bytes2word(9,ZAP_STACK_P1,8,ZAP_STACK_P1)
, bytes2word(6,ZAP_STACK_P1,5,EVAL)
, bytes2word(NEEDHEAP_I32,APPLY,2,SLIDE_P1)
, bytes2word(1,EVAL,NEEDHEAP_I32,JUMPFALSE)
, bytes2word(5,0,PUSH_P1,0)
,	/* v267: (byte 1) */
  bytes2word(RETURN,PUSH_HEAP,HEAP_CVAL_P1,20)
, bytes2word(HEAP_ARG_ARG,1,2,HEAP_ARG)
, bytes2word(3,HEAP_P1,4,HEAP_I1)
,	/* v265: (byte 1) */
  bytes2word(RETURN_EVAL,HEAP_CVAL_P1,21,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,22,HEAP_OFF_N1,2)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTR(1,2,0)
, CONSTRW(0,0)
,	/* CT_v269: (byte 0) */
  HW(20,5)
, 0
,};
Node F0_Numeric_46showIntAtBase[] = {
  CAPTAG(useLabel(FN_Numeric_46showIntAtBase),5)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Ord))
, VAPTAG(useLabel(FN_Prelude_46_60))
, VAPTAG(useLabel(FN_LAMBDA256))
, VAPTAG(useLabel(FN_Prelude_46error))
, useLabel(CF_Prelude_46otherwise)
, VAPTAG(useLabel(FN_Prelude_46quotRem))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply2))
, VAPTAG(useLabel(FN_LAMBDA257))
, VAPTAG(useLabel(FN_LAMBDA258))
, VAPTAG(useLabel(FN_Prelude_46fromIntegral))
, useLabel(CF_Prelude_46Num_46Prelude_46Int)
, VAPTAG(useLabel(FN_Prelude_46Num_46Prelude_46Eq))
, VAPTAG(useLabel(FN_Prelude_46_61_61))
, VAPTAG(useLabel(FN_Numeric_46showIntAtBase))
, VAPTAG(useLabel(FN_LAMBDA259))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95patternMatchFail))
, bytes2word(0,0,0,0)
, useLabel(CT_v271)
,	/* FN_LAMBDA259: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,2,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, useLabel(ST_v270)
,	/* CT_v271: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA259: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA259))
, bytes2word(1,0,0,1)
, useLabel(CT_v272)
,	/* FN_LAMBDA258: (byte 0) */
  bytes2word(NEEDSTACK_I16,SELECTOR_EVAL,SELECT,2)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v272: (byte 0) */
  HW(0,1)
, 0
,	/* F0_LAMBDA258: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA258),1)
, bytes2word(1,0,0,1)
, useLabel(CT_v273)
,	/* FN_LAMBDA257: (byte 0) */
  bytes2word(NEEDSTACK_I16,SELECTOR_EVAL,SELECT,1)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v273: (byte 0) */
  HW(0,1)
, 0
,	/* F0_LAMBDA257: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA257),1)
, bytes2word(0,0,0,0)
, useLabel(CT_v275)
,	/* FN_LAMBDA256: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,2,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, useLabel(ST_v274)
,	/* CT_v275: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA256: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA256))
, bytes2word(1,0,0,1)
, useLabel(CT_v276)
,};
Node FN_Numeric_46showBin[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,3,HEAP_CADR_N1,2)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,7,HEAP_ARG)
, bytes2word(1,HEAP_OFF_N1,5,HEAP_CVAL_P1)
, bytes2word(8,RETURN,ENDCODE,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 2
,	/* CT_v276: (byte 0) */
  HW(6,1)
, 0
,};
Node F0_Numeric_46showBin[] = {
  CAPTAG(useLabel(FN_Numeric_46showBin),1)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_Numeric_46showIntAtBase),2)
, useLabel(F0_Char_46intToDigit)
, bytes2word(1,0,0,1)
, useLabel(CT_v277)
,};
Node FN_Numeric_46showOct[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,3,HEAP_CADR_N1,2)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,7,HEAP_ARG)
, bytes2word(1,HEAP_OFF_N1,5,HEAP_CVAL_P1)
, bytes2word(8,RETURN,ENDCODE,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 8
,	/* CT_v277: (byte 0) */
  HW(6,1)
, 0
,};
Node F0_Numeric_46showOct[] = {
  CAPTAG(useLabel(FN_Numeric_46showOct),1)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_Numeric_46showIntAtBase),2)
, useLabel(F0_Char_46intToDigit)
, bytes2word(1,0,0,1)
, useLabel(CT_v278)
,};
Node FN_Numeric_46showHex[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,3,HEAP_CADR_N1,2)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,7,HEAP_ARG)
, bytes2word(1,HEAP_OFF_N1,5,HEAP_CVAL_P1)
, bytes2word(8,RETURN,ENDCODE,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 16
,	/* CT_v278: (byte 0) */
  HW(6,1)
, 0
,};
Node F0_Numeric_46showHex[] = {
  CAPTAG(useLabel(FN_Numeric_46showHex),1)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_Numeric_46showIntAtBase),2)
, useLabel(F0_Char_46intToDigit)
,	/* ST_v274: (byte 0) */
  bytes2word(78,117,109,101)
, bytes2word(114,105,99,46)
, bytes2word(115,104,111,119)
, bytes2word(73,110,116,65)
, bytes2word(116,66,97,115)
, bytes2word(101,58,32,99)
, bytes2word(97,110,39,116)
, bytes2word(32,115,104,111)
, bytes2word(119,32,110,101)
, bytes2word(103,97,116,105)
, bytes2word(118,101,32,110)
, bytes2word(117,109,98,101)
,	/* ST_v270: (byte 3) */
  bytes2word(114,115,0,78)
, bytes2word(117,109,101,114)
, bytes2word(105,99,58,32)
, bytes2word(80,97,116,116)
, bytes2word(101,114,110,32)
, bytes2word(109,97,116,99)
, bytes2word(104,32,102,97)
, bytes2word(105,108,117,114)
, bytes2word(101,32,105,110)
, bytes2word(32,102,117,110)
, bytes2word(99,116,105,111)
, bytes2word(110,32,97,116)
, bytes2word(32,54,58,49)
, bytes2word(45,49,49,58)
, bytes2word(54,54,46,0)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].