max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
unittests/32Bit_ASM/PrimaryGroup/5_FF_02_2.asm
cobalt2727/FEX
628
12326
<gh_stars>100-1000 %ifdef CONFIG { "RegData": { "RAX": "0x41424344" }, "Mode": "32BIT" } %endif mov edi, 0xe0000000 lea esp, [edi + 8 * 4] mov eax, 0x41424344 mov [edi + 8 * 0], eax mov eax, 0x51525354 mov [edi + 8 * 1], eax mov eax, 0 db 0xFF db 0x15 dd .jmp_data jmp .end .call_tgt: mov eax, [edi + 8 * 0] ret ; Couple things that could catch failure mov eax, 0 jmp .end mov eax, 0 .end: hlt .jmp_data: dd .call_tgt
Control Statements/tell/iCal/properties.applescript
looking-for-a-job/applescript-examples
1
777
<gh_stars>1-10 #!/usr/loca/bin/osascript tell application "iCal" properties end tell
tools/parser_transformer/parser_generator.adb
svn2github/matreshka
24
30591
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- Localization, Internationalization, Globalization for Ada -- -- -- -- Tools Component -- -- -- ------------------------------------------------------------------------------ -- -- -- Copyright © 2010-2012, <NAME> <<EMAIL>> -- -- All rights reserved. -- -- -- -- Redistribution and use in source and binary forms, with or without -- -- modification, are permitted provided that the following conditions -- -- are met: -- -- -- -- * Redistributions of source code must retain the above copyright -- -- notice, this list of conditions and the following disclaimer. -- -- -- -- * Redistributions in binary form must reproduce the above copyright -- -- notice, this list of conditions and the following disclaimer in the -- -- documentation and/or other materials provided with the distribution. -- -- -- -- * Neither the name of the Vadim Godunko, IE nor the names of its -- -- contributors may be used to endorse or promote products derived from -- -- this software without specific prior written permission. -- -- -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- -- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- -- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- -- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- -- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- -- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- -- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- -- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- -- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- -- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- -- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- -- -- ------------------------------------------------------------------------------ -- $Revision$ $Date$ ------------------------------------------------------------------------------ with Ada.Command_Line; with Ada.Directories; with Ada.Integer_Wide_Text_IO; with Ada.Strings.Wide_Unbounded.Wide_Text_IO; with Ada.Wide_Text_IO; with Wide_Put_File_Header; with Parser_Extractor; package body Parser_Generator is use Ada.Integer_Wide_Text_IO; use Ada.Strings.Wide_Unbounded; use Ada.Strings.Wide_Unbounded.Wide_Text_IO; use Ada.Wide_Text_IO; use Parser_Extractor; function Parser_Template_File_Name return String; -- Returns file name of the parser's template. function Parser_File_Name return String; -- Returns file name of the parser's implementation file. function Parser_Tables_File_Name return String; -- Returns file name of the parser's tables data. ---------------------- -- Parser_File_Name -- ---------------------- function Parser_File_Name return String is Template : constant String := Ada.Directories.Simple_Name (Parser_Template_File_Name); begin return Template (Template'First .. Template'Last - 3); end Parser_File_Name; ----------------------------- -- Parser_Tables_File_Name -- ----------------------------- function Parser_Tables_File_Name return String is begin return Ada.Directories.Base_Name (Parser_File_Name) & "-tables.ads"; end Parser_Tables_File_Name; ------------------------------- -- Parser_Template_File_Name -- ------------------------------- function Parser_Template_File_Name return String is begin return Ada.Command_Line.Argument (3); end Parser_Template_File_Name; -------------------------- -- Generate_Parser_Code -- -------------------------- procedure Generate_Parser_Code is Input : File_Type; Output : File_Type; Buffer : Wide_String (1 .. 1024); Last : Natural; begin Open (Input, In_File, Parser_Template_File_Name, "wcem=8"); Create (Output, Out_File, Parser_File_Name, "wcem=8"); while not End_Of_File (Input) loop Get_Line (Input, Buffer, Last); if Buffer (1 .. Last) = "%%" then for J in 1 .. Natural (Choices.Length) loop declare Element : constant Choice_Information := Choices.Element (J); begin if not Element.Is_Empty then New_Line (Output); Put (Output, " when "); Put (Output, Element.Choice, 0); Put_Line (Output, " =>"); for J in 1 .. Natural (Element.Text.Length) loop if Length (Element.Text.Element (J)) /= 0 then Put (Output, " "); Put_Line (Output, Element.Text.Element (J)); else New_Line (Output); end if; end loop; end if; end; end loop; else Put_Line (Output, Buffer (1 .. Last)); end if; end loop; Close (Output); Close (Input); end Generate_Parser_Code; ---------------------------- -- Generate_Parser_Tables -- ---------------------------- procedure Generate_Parser_Tables is Output : File_Type; procedure Generate_Array (Name : Wide_String; Values : Integer_Vectors.Vector); procedure Generate_Array_Of_Pair (Name : Wide_String; Values : Pair_Vectors.Vector); -------------------- -- Generate_Array -- -------------------- procedure Generate_Array (Name : Wide_String; Values : Integer_Vectors.Vector) is begin New_Line (Output); Put (Output, " "); Put (Output, Name); Put (Output, " : constant array (0 .. "); Put (Output, Integer (Values.Length) - 1, 0); Put_Line (Output, ") of Integer :="); for J in 0 .. Natural (Values.Length) - 1 loop if J = 0 then Put (Output, " ("); elsif J mod 8 = 0 then Put_Line (Output, ","); Put (Output, " "); else Put (Output, ","); end if; Put (Output, Values.Element (J), 5); end loop; Put_Line (Output, ");"); end Generate_Array; ---------------------------- -- Generate_Array_Of_Pair -- ---------------------------- procedure Generate_Array_Of_Pair (Name : Wide_String; Values : Pair_Vectors.Vector) is begin New_Line (Output); Put (Output, " YY_"); Put (Output, Name); Put (Output, "_Matrix : constant array ("); Put (Output, Values.First_Index, 0); Put (Output, " .. "); Put (Output, Values.Last_Index, 0); Put (Output, ") of "); Put (Output, Name); Put_Line (Output, "_Entry :="); for J in Values.First_Index .. Values.Last_Index loop if J = Values.First_Index then Put (Output, " ("); elsif (J - Values.First_Index) mod 4 = 0 then Put_Line (Output, ","); Put (Output, " "); else Put (Output, ", "); end if; Put (Output, "("); Put (Output, Values.Element (J).First, 5); Put (Output, ", "); Put (Output, Values.Element (J).Second, 5); Put (Output, ")"); end loop; Put_Line (Output, ");"); end Generate_Array_Of_Pair; begin Create (Output, Out_File, Parser_Tables_File_Name, "wcem=8"); if Ada.Command_Line.Argument (1) = "regexp" then Wide_Put_File_Header (Output, "Localization, Internationalization, Globalization for Ada", 2010, 2010); elsif Ada.Command_Line.Argument (1) = "xml" then Wide_Put_File_Header (Output, "XML Processor", 2010, 2012); end if; Put_Line (Output, "pragma Style_Checks (""-t"");"); Put_Line (Output, "-- GNAT: Disable check for token separation rules, because format o" & "f the"); Put_Line (Output, "-- tables is not compatible with them."); New_Line (Output); if Ada.Command_Line.Argument (1) = "regexp" then Put (Output, "private package Matreshka.Internals.Regexps.Compiler"); elsif Ada.Command_Line.Argument (1) = "xml" then Put (Output, "private package XML.SAX.Simple_Readers"); end if; Put_Line (Output, ".Parser.Tables is"); if Ada.Command_Line.Argument (1) = "regexp" then New_Line (Output); Put_Line (Output, " pragma Preelaborate;"); end if; New_Line (Output); Put_Line (Output, " type Goto_Entry is record"); Put_Line (Output, " Nonterm : Integer;"); Put_Line (Output, " Newstate : Integer;"); Put_Line (Output, " end record;"); New_Line (Output); Put_Line (Output, " type Shift_Reduce_Entry is record"); Put_Line (Output, " T : Integer;"); Put_Line (Output, " Act : Integer;"); Put_Line (Output, " end record;"); New_Line (Output); Put (Output, " YY_Default : constant := "); Put (Output, YY_Default, 5); Put_Line (Output, ";"); Put (Output, " YY_First_Shift_Entry : constant := "); Put (Output, YY_First_Shift_Entry, 5); Put_Line (Output, ";"); Put (Output, " YY_Accept_Code : constant := "); Put (Output, YY_Accept_Code, 5); Put_Line (Output, ";"); Put (Output, " YY_Error_Code : constant := "); Put (Output, YY_Error_Code, 5); Put_Line (Output, ";"); -- Generate goto matrix Generate_Array_Of_Pair ("Goto", YY_Goto_Matrix); Generate_Array ("YY_Goto_Offset", YY_Goto_Offset); Generate_Array ("YY_Rule_Length", YY_Rule_Length); Generate_Array ("YY_Get_LHS_Rule", YY_Get_LHS_Rule); -- Generate shitf-reduce matrix Generate_Array_Of_Pair ("Shift_Reduce", YY_Shift_Reduce_Matrix); Generate_Array ("YY_Shift_Reduce_Offset", YY_Shift_Reduce_Offset); New_Line (Output); if Ada.Command_Line.Argument (1) = "regexp" then Put (Output, "end Matreshka.Internals.Regexps.Compiler"); elsif Ada.Command_Line.Argument (1) = "xml" then Put (Output, "end XML.SAX.Simple_Readers"); end if; Put_Line (Output, ".Parser.Tables;"); Close (Output); end Generate_Parser_Tables; end Parser_Generator;
programs/oeis/094/A094421.asm
karttu/loda
1
97488
; A094421: a(n) = n * (6*n^2 + 6*n + 1). ; 13,74,219,484,905,1518,2359,3464,4869,6610,8723,11244,14209,17654,21615,26128,31229,36954,43339,50420,58233,66814,76199,86424,97525,109538,122499,136444,151409,167430,184543,202784,222189,242794 mov $1,$0 pow $1,3 mul $1,6 add $1,13 mov $2,$0 mul $2,31 add $1,$2 mov $3,$0 mul $3,$0 mov $2,$3 mul $2,24 add $1,$2
src/servlet-rest-definition.adb
My-Colaborations/ada-servlet
6
20082
----------------------------------------------------------------------- -- servlet-rest -- REST Support -- Copyright (C) 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- package body Servlet.Rest.Definition is -- ------------------------------ -- Register the list of APIs that have been created by instantiating the <tt>Definition</tt> -- package. The REST servlet identified by <tt>Name</tt> is searched in the servlet registry -- and used as the servlet for processing the API requests. -- ------------------------------ procedure Register (Registry : in out Servlet.Core.Servlet_Registry; Name : in String; ELContext : in EL.Contexts.ELContext'Class) is begin Servlet.Rest.Register (Registry => Registry, Name => Name, URI => URI, ELContext => ELContext, List => Entries); end Register; overriding procedure Dispatch (Handler : in Descriptor; Req : in out Servlet.Rest.Request'Class; Reply : in out Servlet.Rest.Response'Class; Stream : in out Servlet.Rest.Output_Stream'Class) is Object : Object_Type; begin Handler.Handler (Object, Req, Reply, Stream); end Dispatch; package body Definition is P : aliased String := Pattern; begin Instance.Method := Method; Instance.Permission := Permission; Instance.Handler := Handler; Instance.Pattern := P'Access; Servlet.Rest.Register (Entries, Instance'Access); end Definition; end Servlet.Rest.Definition;
programs/oeis/306/A306277.asm
neoneye/loda
22
22071
<reponame>neoneye/loda<gh_stars>10-100 ; A306277: Numbers congruent to 1 or 8 mod 10. ; 1,8,11,18,21,28,31,38,41,48,51,58,61,68,71,78,81,88,91,98,101,108,111,118,121,128,131,138,141,148,151,158,161,168,171,178,181,188,191,198,201,208,211,218,221,228,231,238,241,248,251,258,261,268,271,278,281,288,291,298,301,308,311,318,321,328,331,338,341,348,351,358,361,368,371,378,381,388,391,398,401,408,411,418,421,428,431,438,441,448,451,458,461,468,471,478,481,488,491,498 mov $1,$0 mul $0,5 gcd $1,2 sub $0,$1 sub $0,$1 add $0,5
iod/con2/q40ql/mblock.asm
olifink/smsqe
0
174659
<gh_stars>0 ; Move area (generalised PAN/SCROLL) V2.01  <NAME> ; <NAME> ; 2.01 FD REMOVED REFERENCES TO MOVEP for Q60/Q40 ; 2.02 added pt_cmbblk (wl) section con ; xref cn_maskl xref cn_maskr ; xdef cn_mblock xdef pt_mblock xdef pt_cmbblk ; ; d1 c size of section to move ; d2 c old origin in source area ; d3 c new origin in destination area ; a2 c row increment of source area ; a3 c row increment of destination area ; a4 c base address of source area ; a5 c base address of destination area ; a6/a7 preserved ; pt_mblock cn_mblock pt_cmbblk move.w a2,d0 calculate source address mulu d2,d0 row address add.l d0,a4 swap d2 now column move.w d2,d0 lsr.w #3,d0 shift out bits add.w d0,a4 and set column address add.w d0,a4 move.w a3,d0 calculate destination address mulu d3,d0 row address add.l d0,a5 swap d3 now column move.w d3,d0 lsr.w #3,d0 shift out bits add.w d0,a5 and set column address add.w d0,a5 moveq #0,d4 move.w d3,d4 set pixel offset sub.w d2,d4 moveq #%111,d0 get start pixel $$$ and.w d3,d0 move.l d1,d5 width swap d5 ;; add.w #16,d5 $$$ add.w d0,d5 end pixel moveq #%1111,d2 get end pixel (in long word) and.w d5,d2 add.w #$f,d5 round up to long word $$$ lsr.w #4,d5 length beq.l pmw_done none move.w d1,d3 number of rows subq.w #1,d3 beq.l pmw_done none and.w #%0111,d4 set pan distance $$$ bne.l pmw_pan ... there is a bit jsr cn_maskl(pc) set left hand mask move.w d2,d0 jsr cn_maskr(pc) set right hand mask cmp.l a4,a5 is it up? bgt.s pmw_down no ; simple operations: no pan or pan by word increment ; ; d3 row count-1 ; d5 long word count in row (-2) ; d6 first edge mask (long word, screen format) ; d7 second edge mask (long word, screen format) ; a2 row increment (source) ; a3 row increment (destination) ; a4 source window address ; a5 destination window address ; ; move up ; pmw_up move.w d5,d1 adjust increments lsl.w #2,d1 sub.w d1,a2 sub.w d1,a3 ; subq.w #2,d5 do masks overlap? bge.s pmw_uploop no and.l d7,d6 yes, combine masks ; pmw_uploop bsr.s pmw_suedge do edge for scroll ; move.w d5,d0 set number of long words to copy blt.s pmw_uplend one edge only moveq #3,d1 do by four long words and.w d0,d1 lsr.w #2,d0 neg.w d1 add.w d1,d1 jmp pmw_urlend(pc,d1.w) ; pmw_urloop move.l (a4)+,(a5)+ copy all of row move.l (a4)+,(a5)+ copy all of row move.l (a4)+,(a5)+ copy all of row move.l (a4)+,(a5)+ copy all of row pmw_urlend dbra d0,pmw_urloop ; exg d6,d7 swap masks bsr.s pmw_suedge do edge exg d7,d6 ; pmw_uplend add.l a2,a4 move to next row add.l a3,a5 dbra d3,pmw_uploop and carry on bra.l pmw_done ; ; do edge for scroll up ; pmw_suedge move.l (a4)+,d1 get LHS and.l d6,d1 mask edge move.l (a5),d0 get old screen contents not.l d6 invert mask and.l d6,d0 mask edge not.l d6 or.l d0,d1 move.l d1,(a5)+ set edge rts ; ; move down ; pmw_down move.w d5,d1 row length lsl.w #2,d1 in bytes move.w a2,d0 find end mulu d3,d0 start of last row add.l d0,a4 add.w d1,a4 end of last row move.w a3,d0 ditto for destination mulu d3,d0 add.l d0,a5 add.w d1,a5 sub.w d1,a2 adjust increments sub.w d1,a3 subq.w #2,d5 do masks overlap? bge.s pmw_dnloop no and.l d6,d7 yes, combine masks pmw_dnloop bsr.s pmw_sdedge do edge move.w d5,d0 blt.s pmw_dnlend moveq #3,d1 do by four long words and.w d0,d1 lsr.w #2,d0 neg.w d1 add.w d1,d1 jmp pmw_drlend(pc,d1.w) pmw_drloop move.l -(a4),-(a5) copy all of row move.l -(a4),-(a5) copy all of row move.l -(a4),-(a5) copy all of row move.l -(a4),-(a5) copy all of row pmw_drlend dbra d0,pmw_drloop exg d6,d7 swap masks bsr.s pmw_sdedge do edge exg d7,d6 pmw_dnlend sub.l a2,a4 move to previous row sub.l a3,a5 dbra d3,pmw_dnloop and carry on bra.l pmw_done ; do edges for scroll down pmw_sdedge move.l -(a4),d1 get RHS and.l d7,d1 mask edge move.l -(a5),d0 get old screen contents not.l d7 invert mask and.l d7,d0 mask edge not.l d7 or.l d0,d1 move.l d1,(a5) set edge rts page ; panning operation QL mode: pan by 1 to 7 pixels ; ; d3 row count-1 ; d4 bit shift (1 to 7) ; d5 long word count in row (-2) ; d6 first edge mask (word) ; d7 second edge mask (word) ; a1 + or - 4 long word increment ; a2 row increment (source) ; a3 row increment (destination) ; a4 source window address ; a5 destination window address ; ; pmw_pan cmp.w d0,d4 is shift greater than lh mask? ble.s pmw_pmask ... no addq.w #2,a4 yes, move source pointer on bset #31,d4 and set flag pmw_pmask moveq #-1,d6 set lh mask lsr.w d0,d6 moveq #-1,d7 set rh mask tst.w d2 beq.s pmw_pndir ... full lsr.w d2,d7 not.w d7 pmw_pndir move.w d5,d1 length of line asl.w #2,d1 in bytes cmp.l a4,a5 left or right bgt.s pmw_pnrt right sub.w d1,a2 reduce increments sub.w d1,a3 move.w #4,a1 and go in increasing order bra.s pmw_pnsrow ; pan right should be separate code pmw_pnrt move.w a2,d0 find end mulu d3,d0 start of last row add.l d0,a4 add.w d1,a4 end of last row subq.l #8,a4 !!!! move.w a3,d0 ditto for destination mulu d3,d0 add.l d0,a5 add.w d1,a5 subq.l #4,a5 last in last row move.w d1,d0 sub.w a2,d0 adjust increments move.w d0,a2 sub.w a3,d1 move.w d1,a3 move.w #-4,a1 and set go back bset #15,d4 mark swap exg d6,d7 masks the other way pmw_pnsrow subq.w #2,d5 do masks overlap? bge.s pmw_pnloop no and.w d7,d6 yes pmw_pnloop tst.w d4 left to right? bpl.s pmw_pnlft ; movep.l 0(a4),d1 get edge (green) move.b (a4),d1 lsl.l #8,d1 move.b 2(a4),d1 lsl.l #8,d1 move.b 4(a4),d1 lsl.l #8,d1 move.b 6(a4),d1 ; movep.l 1(a4),d2 get edge (red) move.b 1(a4),d2 lsl.l #8,d2 move.b 3(a4),d2 lsl.l #8,d2 move.b 5(a4),d2 lsl.l #8,d2 move.b 7(a4),d2 bra.s pmw_pnlsft pmw_pnlft tst.l d4 very left required? bpl.s pmw_leget ... no move.b -2(a4),d1 (we've already added 2 to a4 so it's OK) swap d1 get very edge move.b -1(a4),d2 swap d2 pmw_leget ; movep.w 0(a4),d1 get edge (green) move.b (a4),d1 lsl.w #8,d1 move.b 2(a4),d1 ; movep.w 1(a4),d2 get edge (red) move.b 1(a4),d2 lsl.w #8,d2 move.b 3(a4),d2 pmw_pnlsft ror.l d4,d1 ror.l d4,d2 shifted add.l a1,a4 and.w d6,d1 mask edges and.w d6,d2 ; movep.w 0(a5),d0 get screen contents (green) move.b (a5),d0 lsl.w #8,d0 move.b 2(a5),d0 not.w d6 and.w d6,d0 masked or.w d1,d0 combined ; movep.w d0,0(a5) and written move.b d0,2(a5) lsr.w #8,d0 move.b d0,(a5) ; movep.w 1(a5),d0 get screen contents (red) move.b 1(a5),d0 lsl.w #8,d0 move.b 3(a5),d0 and.w d6,d0 masked not.w d6 or.w d2,d0 combined ; movep.w d0,1(a5) and written move.b d0,3(a5) lsr.w #8,d0 move.b d0,1(a5) add.l a1,a5 move.w d5,d0 set number of long words to copy blt pmw_pnlend one edge only bra.s pmw_prlend pmw_prloop ; movep.w 0(a4),d1 get next (green) move.b (a4),d1 lsl.w #8,d1 move.b 2(a4),d1 ror.l d4,d1 shifted ; movep.w 1(a4),d2 get next (red) move.b 1(a4),d2 lsl.w #8,d2 move.b 3(a4),d2 ror.l d4,d2 shifted tst.w d4 right round? bpl.s pmw_prlinc no swap d1 swap d2 pmw_prlinc add.l a1,a4 ; movep.w d1,0(a5) move.b d1,2(a5) lsr.w #8,d1 move.b d1,(a5) ; movep.w d2,1(a5) and written move.b d2,3(a5) lsr.w #8,d2 move.b d2,1(a5) add.l a1,a5 pmw_prlend rol.l d4,d1 restore upper word rol.l d4,d2 tst.w d4 swap? bmi.s pmw_prldbra swap d1 swap d2 pmw_prldbra dbra d0,pmw_prloop ; movep.w 0(a4),d1 get edge (green) move.b (a4),d1 lsl.w #8,d1 move.b 2(a4),d1 ror.l d4,d1 shifted ; movep.w 1(a4),d2 get edge (red) move.b 1(a4),d2 lsl.w #8,d2 move.b 3(a4),d2 ror.l d4,d2 shifted tst.w d4 swap? bpl.s pmw_pninc ... no swap d1 swap d2 pmw_pninc add.l a1,a4 and.w d7,d1 mask edges and.w d7,d2 ; movep.w 0(a5),d0 get screen contents (green) move.b (a5),d0 lsl.w #8,d0 move.b 2(a5),d0 not.w d7 and.w d7,d0 masked or.w d1,d0 combined ; movep.w d0,0(a5) ... and written move.b d0,2(a5) lsr.w #8,d0 move.b d0,(a5) ; movep.w 1(a5),d0 get screen contents (red) move.b 1(a5),d0 lsl.w #8,d0 move.b 3(a5),d0 and.w d7,d0 masked not.w d7 or.w d2,d0 combined ; movep.w d0,1(a5) and written move.b d0,3(a5) lsr.w #8,d0 move.b d0,1(a5) add.l a1,a5 pmw_pnlend add.l a2,a4 move to next row add.l a3,a5 dbra d3,pmw_pnloop and carry on pmw_done rts end
specs/ada/common/tkmrpc-response-ike-isa_create-convert.ads
DrenfongWong/tkm-rpc
0
25313
with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Isa_Create.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Isa_Create.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_Conversion ( Source => Response.Data_Type, Target => Isa_Create.Response_Type); end Tkmrpc.Response.Ike.Isa_Create.Convert;
oeis/034/A034956.asm
neoneye/loda-programs
11
170152
; A034956: Divide natural numbers in groups with prime(n) elements and add together. ; Submitted by <NAME> ; 3,12,40,98,253,455,850,1292,2047,3335,4495,6623,8938,11180,14335,18815,24249,28731,35845,42884,49348,59408,69139,81791,98164,112211,124939,141026,155434,173681,210439,233966,263040,286062,328098,355152,393442,434558,472777,519173,568683,607617,676713,720855,774210,821472,914263,1014650,1083925,1145687,1219522,1307330,1376110,1494956,1595970,1701610,1811984,1898626,2016560,2124079,2219003,2381797,2587703,2717518,2832650,2968705,3207059,3377751,3596655,3738837,3905592,4099780,4324361,4533069 mov $5,2 mov $7,$0 lpb $5 mov $0,$7 sub $5,1 add $0,$5 trn $0,1 seq $0,237589 ; Sum of first n odd noncomposite numbers. add $0,1 mov $8,$2 cmp $8,0 add $2,$8 mov $3,$2 add $3,$0 trn $2,$3 mul $3,$0 mov $4,$5 mul $4,$3 add $1,$4 mov $6,$3 lpe min $7,1 mul $7,$6 sub $1,$7 mov $0,$1 div $0,2
src/asf-components-widgets-tabs.ads
jquorning/ada-asf
12
14700
----------------------------------------------------------------------- -- components-widgets-tabs -- Tab views, tabs and accordion -- Copyright (C) 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with ASF.Components.Html; with ASF.Contexts.Faces; package ASF.Components.Widgets.Tabs is COLLAPSIBLE_ATTR_NAME : constant String := "collapsible"; EFFECT_ATTR_NAME : constant String := "effect"; DURATION_ATTR_NAME : constant String := "duration"; -- ------------------------------ -- UITab -- ------------------------------ -- The <b>UITab</b> component displays a tab component within a tab view. type UITab is new ASF.Components.Html.UIHtmlComponent with null record; -- Render the tab start. overriding procedure Encode_Begin (UI : in UITab; Context : in out ASF.Contexts.Faces.Faces_Context'Class); -- Render the tab close. overriding procedure Encode_End (UI : in UITab; Context : in out ASF.Contexts.Faces.Faces_Context'Class); -- ------------------------------ -- UITabView -- ------------------------------ -- The <b>UITabView</b> component displays a tab selection panel. type UITabView is new ASF.Components.Html.UIHtmlComponent with null record; -- Render the tab list and prepare to render the tab contents. overriding procedure Encode_Begin (UI : in UITabView; Context : in out ASF.Contexts.Faces.Faces_Context'Class); -- Render the tab view close. overriding procedure Encode_End (UI : in UITabView; Context : in out ASF.Contexts.Faces.Faces_Context'Class); -- ------------------------------ -- UIAccordion -- ------------------------------ -- The <b>UIAccordion</b> component displays a tab selection panel. type UIAccordion is new ASF.Components.Html.UIHtmlComponent with null record; -- Render the accordion list and prepare to render the tab contents. overriding procedure Encode_Children (UI : in UIAccordion; Context : in out ASF.Contexts.Faces.Faces_Context'Class); end ASF.Components.Widgets.Tabs;
programs/oeis/164/A164549.asm
jmorken/loda
1
9462
; A164549: a(n) = 4*a(n-1)+2*a(n-2) for n > 1; a(0) = 1, a(1) = 6. ; 1,6,26,116,516,2296,10216,45456,202256,899936,4004256,17816896,79276096,352738176,1569504896,6983495936,31072993536,138258966016,615181851136,2737245336576,12179345048576,54191870867456,241126173566976,1072888436002816,4773806091145216 mov $1,1 mov $3,2 lpb $0 sub $0,1 mov $2,$1 add $1,$3 mul $1,2 mov $3,$2 add $3,$1 lpe
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_66.asm
ljhsiun2/medusa
9
166004
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x17cc2, %rsi lea addresses_D_ht+0x11e14, %rdi clflush (%rdi) nop nop nop nop nop dec %r12 mov $117, %rcx rep movsq nop sub $59751, %rax lea addresses_normal_ht+0xd2c2, %rsi nop nop nop nop nop and %r10, %r10 movl $0x61626364, (%rsi) nop nop nop add $40841, %r10 lea addresses_WC_ht+0x1fc2, %rsi lea addresses_normal_ht+0x40c2, %rdi nop nop dec %rbp mov $61, %rcx rep movsb nop sub $36010, %rax lea addresses_UC_ht+0xb2c2, %rsi lea addresses_WC_ht+0xe802, %rdi nop nop nop nop inc %rdx mov $5, %rcx rep movsb nop nop nop sub $22580, %rcx lea addresses_UC_ht+0x9ac2, %rsi lea addresses_UC_ht+0x177c2, %rdi nop add %rdx, %rdx mov $13, %rcx rep movsb nop nop nop and $54370, %rcx lea addresses_A_ht+0x3182, %rsi lea addresses_UC_ht+0x17072, %rdi clflush (%rsi) clflush (%rdi) nop nop nop nop nop sub %r12, %r12 mov $82, %rcx rep movsb nop nop inc %r10 lea addresses_D_ht+0x36c2, %rax nop nop nop xor $61101, %rsi movb $0x61, (%rax) nop nop nop nop cmp %r12, %r12 lea addresses_UC_ht+0x198b2, %rsi lea addresses_normal_ht+0xd9d2, %rdi nop nop nop nop nop xor $46492, %r12 mov $117, %rcx rep movsq inc %rdi lea addresses_D_ht+0x148c2, %rsi lea addresses_A_ht+0x13b82, %rdi nop add %rdx, %rdx mov $126, %rcx rep movsl nop add %r10, %r10 lea addresses_normal_ht+0xd982, %rdx nop nop nop nop nop add %rcx, %rcx movb $0x61, (%rdx) nop xor $30274, %rbp lea addresses_WC_ht+0xd4c2, %rsi lea addresses_UC_ht+0x62c2, %rdi nop nop nop nop add $44571, %r10 mov $15, %rcx rep movsb nop nop add %r12, %r12 lea addresses_WC_ht+0x161c2, %rdx nop nop nop xor %rbp, %rbp movw $0x6162, (%rdx) nop nop nop nop nop and %rbp, %rbp lea addresses_WT_ht+0xaec2, %rbp nop cmp %rdx, %rdx movw $0x6162, (%rbp) nop nop add %rdi, %rdi lea addresses_WC_ht+0x1c38a, %rsi nop nop nop cmp %rdx, %rdx mov $0x6162636465666768, %rdi movq %rdi, %xmm3 and $0xffffffffffffffc0, %rsi movntdq %xmm3, (%rsi) nop nop nop xor $38942, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %rax pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r9 push %rbp push %rbx push %rdi // Store lea addresses_RW+0x1c142, %rdi nop nop nop sub %r9, %r9 movb $0x51, (%rdi) nop nop nop nop and $54132, %rbx // Store lea addresses_WC+0x1ea, %rdi nop nop nop nop cmp %rbp, %rbp movl $0x51525354, (%rdi) sub $50044, %rbp // Store lea addresses_RW+0xb91c, %r12 inc %rbp mov $0x5152535455565758, %rdi movq %rdi, %xmm4 movups %xmm4, (%r12) nop dec %r10 // Faulty Load lea addresses_WT+0xcac2, %r12 nop nop sub %rdi, %rdi mov (%r12), %bp lea oracles, %r13 and $0xff, %rbp shlq $12, %rbp mov (%r13,%rbp,1), %rbp pop %rdi pop %rbx pop %rbp pop %r9 pop %r13 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 3, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 1, 'size': 16, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 9, 'size': 4, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 6, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 10, 'size': 2, 'same': True, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 2, 'size': 16, 'same': False, 'NT': True}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
programs/oeis/247/A247619.asm
neoneye/loda
22
9680
<reponame>neoneye/loda ; A247619: Start with a single pentagon; at n-th generation add a pentagon at each expandable vertex; a(n) is the sum of all label values at n-th generation. (See comment for construction rules.) ; 1,6,16,36,66,116,186,296,446,676,986,1456,2086,3036,4306,6216,8766,12596,17706,25376,35606,50956,71426,102136,143086,204516,286426,409296,573126,818876,1146546,1638056,2293406,3276436,4587146,6553216,9174646,13106796 mov $2,1 lpb $0 sub $0,$2 mov $1,$0 max $1,0 seq $1,53599 ; Number of nonempty subsequences {s(k)} of 1..n such that the difference sequence is palindromic. add $2,$1 lpe mul $1,5 add $1,1 mov $0,$1
oeis/197/A197699.asm
neoneye/loda-programs
11
97087
; A197699: Decimal expansion of Pi/(6 + Pi). ; Submitted by <NAME> ; 3,4,3,6,5,9,2,2,5,7,6,4,7,9,3,5,8,5,8,8,3,1,8,6,3,7,4,8,9,3,5,7,2,7,9,1,8,3,2,7,8,4,6,7,7,6,5,0,2,2,4,8,1,6,7,3,0,3,6,1,0,1,4,6,5,3,9,6,5,5,4,2,7,9,7,9,3,0,7,3,7,0,5,9,0,8,8,7,0,3,4,1,7,9,0,1,5,5,4 add $0,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $1,$3 mov $5,$3 mul $5,2 add $5,1 mul $2,$5 add $1,$2 div $1,$0 div $2,$0 sub $3,1 lpe mul $2,3 add $2,$1 mov $4,10 pow $4,$0 div $2,$4 div $1,$2 mov $0,$1 mod $0,10
test/Succeed/Issue3536.agda
shlevy/agda
2
5454
<filename>test/Succeed/Issue3536.agda -- Issue 3536 reported by <NAME> -- The problem was that the Treeless compiler reruns the clause -- compiler, but without the split tree from the coverage -- checker. However, the split tree is necessary to direct the clause -- compiler. data Unit : Set where true : Unit record R : Set where coinductive field f1 : R f2 : R open R public foo : Unit -> R f1 (foo true) = foo true f2 (foo b) = foo b
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_MoveSprPix_callee.asm
jpoikela/z88dk
640
172904
; void sp1_MoveSprPix(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_MoveSprPix_callee, l0_sp1_MoveSprPix_callee EXTERN asm_sp1_MoveSprPix _sp1_MoveSprPix_callee: pop af pop ix exx pop bc exx pop hl pop de pop bc push af l0_sp1_MoveSprPix_callee: exx push bc exx ex (sp),iy call asm_sp1_MoveSprPix pop iy ret
uuu/src/cells/thread/strontium/strontium.asm
ekscrypto/Unununium
7
1833
;; $Header: /cvsroot/uuu/uuu/src/cells/thread/strontium/strontium.asm,v 2.6 2002/01/04 18:44:42 lukas2000 Exp $ ;; ;; strontium ][ thread engine ;; Copyright 2001 <NAME> ;; based on original strontium by <NAME> ;; ;; known issues: ;; ------------- ;; scheduling is a simple rotation with no reguard to priority ;; yield_self will actually steal some of the next thread's CPU time ; ----------------------------------- ; config ;============================================================================== ; _VISUAL_ACTIVITY_ is used mainly for test purposes. It will increase a dword ; on screen which indicate if we are still alive or if interrupts have been ; disabled ;%define _VISUAL_ACTIVITY_ ; This is the frequency (Hz) of the context switches %define FREQ 200 ; This value is used to control the default stack size of newly created threads %define DEF_STACK_SIZE 2 * 1024 ; and this is the size of the large stack, specified by a flag in the thread %define LARGE_STACK_SIZE 8 * 1024 ; This will enable a signature in the strucs which will be checked to see if ; a bad pointer has been followed or a struc has been corrupted %define _MAGIC_CHECKS_ ; This will store the EIP of each thread a seccond time, in the thread struc ; as well as on the stack. Good for detecting memory corruption. This probally ; won't work as it was part of a debugging attempt long ago, but if it's needed ; again it's a good place to start :P ;%define _EIP_CHECKS_ ; This will create an ICS channel that will be called on each tick. This is ; really slow, but hey... ;%define _TICK_CHANNEL_ ; This will display in the upper left corner the number of active threads. ;%define _SHOW_THREAD_COUNT_ ; This will enable some useless prattle to the DEBUG log ;%define _DEBUG_ ; ----------------------------------- ; macros ;============================================================================== %macro mcheck_thread 1 ; check the magic of a thread %ifdef _MAGIC_CHECKS_ cmp dword[%1+thread.magic], THREAD_MAGIC jnz .magic_error %endif %endmacro %macro mcheck_proc 1 ; check the magic of a process %ifdef _MAGIC_CHECKS_ cmp dword[%1+proc.magic], PROC_MAGIC jnz .magic_error %endif %endmacro %macro mcheck_timer 1 ; check the magic of a process %ifdef _MAGIC_CHECKS_ cmp dword[%1+proc.magic], TIMER_MAGIC jnz .magic_error %endif %endmacro ; ----------------------------------- ; strucs ;============================================================================== ;; The .threads pointer must always be valid; a process may not exist without ;; a thread. ;; ;; A process can be created with a parent, by setting .parent to non-zero. ;; If a process has a parent, the parent will recieve notice when the child ;; process is terminated. Also, if PROCESS_F_KILL_WITH_PARENT is set, the ;; child process will be killed when the parent process terminates. struc proc %ifdef _MAGIC_CHECKS_ .magic: resd 1 ; magic number, 'THps' %define PROC_MAGIC 'THps' %endif .next: resd 1 ; ptr to next process or 0 for none .prev: resd 1 ; prt to prev process or 0 for none .threads: resd 1 ; ptr to first child thread (must be at least 1) .callback: resd 1 ; to be called on termination, or 0 for none .children: resd 1 ; linked list of child processes, 0 for none .flags: resd 1 ; process flags, see below .info: resb process_info_size ; the process info we all know and love .reserved: resb process_info_size % 4 ; maintain alignment endstruc ; kill child process with the parent %define PROCESS_F_KILL_WITH_PARENT 1 ;; The .next and .prev pointers in the thread struc form a loop, not a chain. ;; If there is only one thread, both pointers should point to itself. struc thread %ifdef _MAGIC_CHECKS_ .magic: resd 1 ; magic number, 'THth' %define THREAD_MAGIC 'THth' %endif %ifdef _EIP_CHECKS_ .eip: resd 1 ; extra copy to verify EIP %endif .next: resd 1 ; ptr to next thread struc .prev: resd 1 ; ptr to previous thread struc .proc_next: resd 1 ; ptr to next thread in this process, 0 for none .proc_prev: resd 1 ; ptr to previous thread in this process, 0 for none .process: resd 1 ; ptr to parrent process struc .esp: resd 1 ; saved ESP .stack_base: resd 1 ; base address (top, low end) of thread's stack .flags: resd 1 ; thread flags; see below. .priority: resb 1 ; ignored atm .reserved: resb 3 endstruc %define THREAD_F_FPU 1 ; thread is using FPU %define THREAD_F_LARGE_STACK 2 ; use a large stack (LARGE_STACK_SIZE) %define THREAD_F_SLEEPING 4 ; thread is currently sleeping struc timer %ifdef _MAGIC_CHECKS_ .magic: resd 1 ; magic number, 'THtm' %define TIMER_MAGIC 'THtm' %endif .expire: resq 1 ; tick count timer expires on .next: resd 1 ; ptr to next timer in chain (sorted by .expire) .prev: resd 1 ; ptr to prev timer node .callback: resd 1 ; func to call on expire .rememberme: resd 1 ; value to be restored when timer expires endstruc section .c_info db 1,0,0,"a" dd str_author dd str_copyrights dd str_title str_title: db "Strontium $Revision: 1.00",0 str_author: db "indigo",0 str_copyrights: db "BSD Licensed",0 ; ----------------------------------- ; cell init ;============================================================================== section .c_init init: jmp short .start .error: dmej 0x7EDE0001 .start: pushad ; ; allocate space for process strucs ;---------------------------------- mov edx, proc_size ; mov ecx, 4 ; 16 blocks at a time externfunc mem.fixed.alloc_space ; jc .error ; mov [proc_memspace], edi ; ; and more space for thread strucs ;--------------------------------- mov edx, thread_size ; mov ecx, 5 ; 32 blocks at a time externfunc mem.fixed.alloc_space ; jc .error ; mov [thread_memspace], edi ; ; and more space for timer strucs ;-------------------------------- mov edx, timer_size ; mov ecx, 5 ; 32 blocks at a time externfunc mem.fixed.alloc_space ; jc .error ; mov [timer_memspace], edi ; ; and some space for linked list nodes ;------------------------------------- mov edx, 8 ; mov ecx, 5 ; 32 blocks at a time externfunc mem.fixed.alloc_space ; jc .error ; mov [ll_memspace], edi ; ; allocate stack for the idle thread ;----------------------------------- mov ecx, DEF_STACK_SIZE ; externfunc mem.alloc ; jc .error ; mov [idle_thread+thread.stack_base], edi ; create an init thread ;----------------------- mov edi, [thread_memspace] ; externfunc mem.fixed.alloc ; allocate memory for thread jc .error ; dbg lprint {"init thread created at 0x%x",0xa}, DEBUG, edi %ifdef _MAGIC_CHECKS_ ; mov dword[edi+thread.magic], THREAD_MAGIC %endif ; xor eax, eax ; mov [edi+thread.next], edi ; mov [edi+thread.prev], edi ; form a loop with 1 node in it mov [edi+thread.proc_next], eax ; mov [edi+thread.proc_prev], eax ; ; we don't care about .esp yet ; mov [edi+thread.stack_base], eax ; XXX this will be passed in the options mov [edi+thread.flags], eax ; mov byte[edi+thread.priority], 50 ; medium priority mov ebx, edi ; EBX = ptr to thread ; ; create the init process ;------------------------ mov edi, [proc_memspace] ; externfunc mem.fixed.alloc ; allocate memory for process %ifdef _MAGIC_CHECKS_ ; mov dword[edi+proc.magic], PROC_MAGIC ; %endif ; xor eax, eax ; mov [edi+proc.next], eax ; zero out the process list pointers mov [edi+proc.prev], eax ; mov [processes], edi ; make this root of process list mov [edi+proc.threads], ebx ; add thread to process mov [edi+proc.callback], eax ; no callback mov [edi+proc.children], eax ; no children mov [edi+proc.flags], eax ; no flags mov dword[edi+proc.info+process_info.argv], init_argv mov [ebx+thread.process], edi ; link thread to process ; inc dword[thread_count] ; mov [cur_thread], ebx ; ; reprogram PIT (channel 0) ;----------------------------------- mov al, 0x34 ; out 0x43, al ; mov al, 0x1234DD / FREQ % 0x100 ; out 0x40, al ; mov al, 0x1234DD / FREQ / 0x100 ; out 0x40, al ; ; hook IRQ 0 ;----------- mov esi, _timer_handler ; mov al, 0x20 ; externfunc int.hook ; mov al, 0x00 ; externfunc int.unmask_irq ; ; popad ; sti ; engage! ; ----------------------------------- ; section .text ;============================================================================== section .text ; ----------------------------------- ; thread.sleep ;============================================================================== globalfunc thread.sleep ;> ;; This function will unschedule the thread specified, making it effectively ;; 'sleep'. If the thread id is the one currently running, the control will ;; be redirected to thread.sleep_self ;; ;; parameters: ;; ----------- ;; eax = thread id ;; ;; returned values: ;; ---------------- ;; eax = (unmodified) ;; ebx = (unmodified) ;; ecx = (unmodified) ;; edx = (unmodified) ;; esi = (undetermined) ;; edi = (undetermined) ;; esp = (unmodified) ;; ebp = (unmodified) ;< %ifdef _TICK_CHANNEL_ ; ----------------------------------- ; timer.set_tick_notification_client ;============================================================================== globalfunc timer.set_tick_notification_client ;> ;; parameters: ;;------------ ;; esi = pointer to client, must be ICS compliant ;; ;; returned values: ;;----------------- ;; if cf = 0, sucessful ;; eax = (undetermined) ;; ebx = (undetermined) ;; ecx = entry number in the client node ;; edx = pointer to client node holding client entry pointer ;; esi = (unmodified) ;; edi = pointer to channel data ;; esp = (unmodified) ;; ebp = (unmodified) ;; ;; if cf = 1, failed ;; eax = error code ;; ebx = (undetermined) ;; ecx = (undetermined) ;; edx = (undetermined) ;; esi = (unmodified) ;; edi = (undetermined) ;; esp = (unmodified) ;; ebp = (unmodified) ;< ; ----------------------------------- ; timer.get_resolution ;============================================================================== globalfunc timer.get_resolution ;> ;; parameters: none ;; returned values: eax = number of nanosecond between ticks ;< %endif ; %ifdef _TICK_CHANNEL_ ; ----------------------------------- ; timer.destroy ;============================================================================== globalfunc timer.destroy ;> ;; parameters: ;; ----------- ;; EBX = pointer to timer entry to free ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;; errors as usual ;< ; ----------------------------------- ; thread.create_semaphore ;============================================================================== globalfunc thread.create_semaphore ;> ;; This function allow to create semaphore, which can be use to control mutual ;; exclusions also called mutex ;; ;; parameters: ;; ----------- ;; eax = atomic count starting value, normally 0 ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;; errors as usual ;< ; ----------------------------------- ; thread.destroy_semaphore ;============================================================================== globalfunc thread.destroy_semaphore ;> ;; parameters: ;; ----------- ;; ebx = pointer to mutex entry to free ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;; XXX errors? ;< ; ----------------------------------- ; thread.lock_read_semaphore_garanteed ;============================================================================== globalfunc thread.lock_read_semaphore_garanteed ;> ;; Acquire a read lock on a semaphore. If the semaphore is write locked or have ;; pending write locks, the thread will be appended to the read lock waiting ;; queue. ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;< ; ----------------------------------- ; thread.lock_write_semaphore_garanteed ;============================================================================== globalfunc thread.lock_write_semaphore_garanteed ;> ;; Acquire a write lock on a semaphore. If the semaphore is already locked ;; either by other write lock of by other read lock, the thread will be placed ;; in the waiting queue ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;< ; ----------------------------------- ; thread.lock_read_semaphore ;============================================================================== globalfunc thread.lock_read_semaphore ;> ;; Try to lock a read semaphore, if the semaphore is currently locked for write ;; or have pending write locks, this routine will fail returning CF=1 otherwise ;; it will lock the semaphore and return CF=0 ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;; CF = completion status, 0: semaphore was locked; 1: lock failed ;< ; ----------------------------------- ; thread.lock_write_semaphore ;============================================================================== globalfunc thread.lock_write_semaphore ;> ;; Try to lock a write semaphore. Will return CF=1 if the semaphore is in any ;; other state than free ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;; CF = completion status, 0: semaphore was locked; 1: lock failed ;< ; ----------------------------------- ; thread.unlock_write_semaphore ;============================================================================== globalfunc thread.unlock_write_semaphore ;> ;; Release a write lock on a semaphore ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registres unmodified ;< ; ----------------------------------- ; thread.unlock_read_semaphore ;============================================================================== globalfunc thread.unlock_read_semaphore ;> ;; Release a read lock acquired on a semaphore ;; ;; parameters: ;; ----------- ;; EAX = semaphore id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;< xor eax, eax dec eax stc retn ; ----------------------------------- ; timer.set ;============================================================================== globalfunc timer.set ;> ;; create a new timer. When the timer expires it will be destroyed and the ;; callback will be called. ;; ;; parameters: ;; ----------- ;; EAX = number of nanoseconds until timer expires ;; EDX = pointer to callback, must be valid until timer expires or is destroyed ;; EBP = value to be restored when callback is called ;; ;; returned values: ;; ---------------- ;; EDX = timer ID ;; registers and errors as usual ;; ;; the callback is called with: ;; ---------------------------- ;; EBP = remembered value ;; EDX = timer ID ;; ;; The callback may destroy all registers. The callback is called within an ;; interupt handler. Listen to your mother. Don't stare at the sun. ;; ;; TODO: make linking search check all 64 bits in case tick counter rolls over. ;; At 200Hz this will take 248.551 days, but Unununium is rock solid and faster ;; frequencies may be used. ;< pushad %if FREQ <> 200 %error "frequency was assumed to be 200Hz but it's not" %endif mov ebx, eax ; divide by 5 mil shr ebx, 22 ; shr eax, 25 ; sub ebx, eax ; EBX = delay in ticks test ebx, ebx ; if count == 0 timer is too fast jz near .too_fast ; ; allocate memory for timer struc ;--------------------------------- mov edi, [timer_memspace] ; externfunc mem.fixed.alloc ; EDI = ptr to timer struc jc .failed dbg lprint {"timer created at %x",0xa}, DEBUG, edi %ifdef _MAGIC_CHECKS_ ; mov dword[edi+timer.magic], TIMER_MAGIC %endif ; mov [edi+timer.callback], edx ; fill out the callback mov [edi+timer.rememberme], ebp ; save rememberme value ; ; calculate expiration tick count ;-------------------------------- call thread.enter_critical_section ; don't want tick count to roll over mov eax, [timer.tick_count+4] ; EAX = MSW of count add ebx, [timer.tick_count] ; EBX = LSW of calculated count adc eax, byte 0 ; inc eax if result rolls over mov [edi+timer.expire], ebx ; put expiration time in struc mov [edi+timer.expire+4], eax ; ; link timer node into list ;-------------------------- mov ecx, [timers] ; ECX = root timer xor esi, esi ; ESI = 0 (will be the prev. timer) test ecx, ecx ; if root timer is 0 jz .found_it ; we are done .compare_node: ; cmp [ecx+timer.expire], ebx ; compare LSW of expire times jae .found_it ; if new timer is less or equal, done mov esi, ecx ; ESI = prev. timer mov ecx, [ecx+timer.next] ; ECX = next timer test ecx, ecx ; if next timer is not null jnz .compare_node ; compare the next one ; ; link the timer into the list .found_it: ;----------------------------- ; ECX = node to put after new ; ESI = node to put before new ; (either may be 0) mov [edi+timer.next], ecx ; new -> next mov [edi+timer.prev], esi ; new -> prev test ecx, ecx ; if next timer is null jz .no_next ; don't try to link it mov [ecx+timer.prev], edi ; next -> new .no_next: ; test esi, esi ; if prev timer is null don't try to jz .no_prev ; link it and update root timer mov [esi+timer.next], edi ; prev -> new ; .done: ; call thread.leave_critical_section ; mov [esp+20], edi ; return our edi in edx (thread ID) popad ; clc ; retn ; .no_prev: ; linking new timer and prev. is null mov [timers], edi ; update root node jmp short .done ; .too_fast: ; delay is too short for us mov eax, __ERROR_INVALID_PARAMETERS__ ; .failed: ; call thread.leave_critical_section ; mov [esp+28], eax ; return error code popad ; stc ; retn ; ; ----------------------------------- ; process.get_info_struc ;============================================================================== globalfunc process.get_info_struc ;> ;; Returns a pointer to the process information including stdin/out/err, ;; environment, and possibly more in the future. This is the same thing that's ;; passed to the app in EBX when it's called. See struc process_info in ;; include/proc.inc ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; ESI = ptr to process info ;; all other registers unmodified ;< mov esi, [cur_thread] ; ESI = cur thread mcheck_thread esi ; mov esi, [esi+thread.process] ; ESI = cur process mcheck_proc esi ; add esi, byte proc.info ; ESI = ptr to process info retn ; %ifdef _MAGIC_CHECKS_ .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE0002 %endif ; ----------------------------------- ; thread.clear_stack ;============================================================================== globalfunc thread.clear_stack ;> ;; This clears everything off your stack except for the final return address. ;; For when you came from somewhere, and you never want to go back :P ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; EAX = destroyed ;; ESP = back to top ;; all other registers unmodified ;< mov eax, [cur_thread] ; EAX = cur thread mov eax, [eax+thread.stack_base] ; EAX = base of cur stack add eax, DEF_STACK_SIZE-4 ; EAX = top of stack xchg esp, eax ; EAX = old stack push dword[eax] ; push return address retn ; return ; The fancy return address dancing is done so that the retn pairs with the call ; on an athlon. Also, a ptr to thread.kill_self is left on the stack always, ; hence the DEF_STACK_SIZE-4 ; ----------------------------------- ; thread.get_self ;============================================================================== globalfunc thread.get_self ;> ;; get some! ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; EAX = thread ID of calling thread ;; all other registers unmodified ;< mov eax, [cur_thread] ; retn ; ; ----------------------------------- ; process.get_self ;============================================================================== globalfunc process.get_self ;> ;; get some more! ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; EAX = process ID of calling process ;; all other registers unmodified ;< mov eax, [cur_thread] ; EAX = cur thread mov eax, [eax+thread.process] ; EAX = cur process retn ; ; ----------------------------------- ; thread.kill_others_in_proc ;============================================================================== globalfunc thread.kill_others_in_proc ;> ;; Kill all the other threads in a proc, except the one that calls this ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; regisers and errors as usual ;< dbg lprint {"thread_kill_others_in_proc called",0xa}, DEBUG mov eax, [cur_thread] ; EAX = cur thread ; ; kill all the previous threads ;------------------------------ call thread.enter_critical_section ; so no one creates new threads on us mov eax, [eax+thread.proc_prev] ; EAX = 1st prev thread test eax, eax ; if EAX = 0 there are no prev. jz .prev_killed ; threads so we are half done .kill_prev: ; call thread.kill ; DIE! jc .retn ; mov eax, [eax+thread.proc_prev] ; EAX = next prev thread test eax, eax ; if it's not zero there are more to jnz .kill_prev ; kill >:} .prev_killed: ; ; kill all the next threads ;-------------------------- mov eax, [cur_thread] ; EAX = cur thread mov eax, [eax+thread.proc_next] ; EAX = ptr to 1st next thread test eax, eax ; if EAX = 0 there are no next jz .retn ; threads so we are done .kill_next: ; call thread.kill ; PSCHEWW! jc .retn ; mov eax, [eax+thread.proc_next] ; EAX = next next thread test eax, eax ; kill more until we hit a null ptr jnz .kill_next ; .retn: ; call thread.leave_critical_section ; retn ; ; ----------------------------------- ; thread.enter_critical_section ;============================================================================== globalfunc thread.enter_critical_section ;> ;; ;< dbg lprint {"thread.enter_critical_section called",0xa}, DEBUG cmp dword[crit_sect_depth], byte 0 ; if we are already in a crit sect jnz .not_1st ; skip saving the flags pushfd ; save our flags so if IF=0 when we pop dword [crit_sect_flags] ; entered it isn't set when we leave .not_1st: ; cli ; leave us alone! inc dword[crit_sect_depth] ; a level deeper... retn ; ; ----------------------------------- ; thread.leave_critical_section ;============================================================================== globalfunc thread.leave_critical_section ;> ;; ;< dbg lprint {"thread.leave_critical_section called",0xa}, DEBUG dec dword[crit_sect_depth] ; if we are more than 1 level deep jnz .still_critical ; don't restore the flags push dword[crit_sect_flags] ; popfd ; restore flags .still_critical: ; retn ; ; ----------------------------------- ; thread.yield_self ;============================================================================== globalfunc thread.yield_self ;> ;; Forfit the rest of your CPU time to the next thread. If there is some event ;; like a callback or an interupt (you are not polling something) it is better ;; to use thread.sleep_self and have the interupt or callback wake the thread ;; back up. ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; EAX = destroyed ;; everything else = unmodified (including flags) ;< ; make the stack match iretd ;--------------------------- pop eax ; pop EIP pushfd ; push flags push cs ; push CS push eax ; push EIP pushad ; push all registers mov ebx, [cur_thread] ; EBX = cur thread mcheck_thread ebx ; cli ; leave us alone please mov [ebx+thread.esp], esp ; save esp %ifdef _EIP_CHECKS_ ; mov [ebx+thread.eip], eax ; save copy of EIP %endif ; mov ebx, [ebx+thread.next] ; EBX = next thread mcheck_thread ebx ; mov esp, [ebx+thread.esp] ; ESP = TOS of next thread popad ; restore registers iretd ; go to it %ifdef _MAGIC_CHECKS_ .magic_error: dmej 0x7EDE0013 %endif ; ----------------------------------- ; thread.create ;============================================================================== globalfunc thread.create ;> ;; general use registers = passed on to thread ;; TOS = address where to start execution of new thread (EIP) ;; +4 = scheduling priority ;; +8 = flags (just 0 for now, but later will indicate FPU usage) ;; ;; requires at least 128 bytes of additional free stack ;; ;; returned values: ;; ---------------- ;; EAX = thread id of newly created thread ;; stack is cleared ;; errors and registers as usual ;< dbg lprint {"thread.create called",0xa}, DEBUG pushad ; save all registers ; ; create new thread ;------------------ mov ebp, [esp+36] ; EBP = starting EIP call _create_thread ; EBX = new thread jc .error ; NOTE: in critical section now ; ; add thread to cur. process ;--------------------------- mov eax, [cur_thread] ; EAX = curent thread mcheck_thread eax ; mov eax, [eax+thread.process] ; EAX = curent process mcheck_proc eax ; mov ecx, [eax+proc.threads] ; ECX = first thread in proc chain mcheck_thread ecx ; xor esi, esi ; ESI = 0 mov [ebx+thread.process], eax ; new thread -> process mov [eax+proc.threads], ebx ; new thread is new root in thread list mov [ebx+thread.proc_next], ecx ; old root is next node mov [ecx+thread.proc_prev], ebx ; old root's prev is new node mov [ebx+thread.proc_prev], esi ; zero prev pointer of new node ; ; make final touches to new thread ;--------------------------------- mov eax, [esp+40] ; EAX = priority mov ecx, [esp+44] ; ECX = flags mov [ebx+thread.priority], al ; mov [ebx+thread.flags], ecx ; ; done ;----- call thread.leave_critical_section ; mov [esp+28], ebx ; return our ebx in eax (thread id) clc ; .error: ; popad ; retn 12 ; %ifdef _MAGIC_CHECKS_ .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE0003 %endif ; ----------------------------------- ; thread.kill ;============================================================================== %ifdef _MAGIC_CHECKS_ thread.kill.magic_error: dmej 0x7EDE0004 %endif globalfunc thread.kill ;> ;; Kill a specified thread. If thread specified is the currently running ;; thread, the control will be pased to the thread.kill_self function (of ;; course if that happens this function will never return ;) ) ;; ;; parameters: ;; ----------- ;; EAX = thread id ;; ;; returned values: ;; ---------------- ;; errors and registers as usual ;< dbg lprint {"thread.kill called",0xa}, DEBUG mcheck_thread eax cmp eax, [cur_thread] ; redirect call if killing curent jz near thread.kill_self ; thread ; dec dword[thread_count] ; one down... jz near _no_threads ; and hopefully there are some left ; push edx ; save used registers push ebx ; ; call thread.enter_critical_section ; mov edx, [eax+thread.next] ; EDX = next thread mcheck_thread edx ; mov ebx, [eax+thread.prev] ; EBX = prev. thread mcheck_thread ebx ; ; remove thread from active loop ;------------------------------- mov [ebx+thread.next], edx ; we can assume there's at least 1 mov [edx+thread.prev], ebx ; other thread ; ; remove thread from process ;--------------------------- mov edx, [eax+thread.proc_next] ; EDX = next thread in proc mov ebx, [eax+thread.proc_prev] ; EBX = prev thread in proc test edx, edx ; skip linking if there is no next jz .no_proc_next ; thread in the proc mov [edx+thread.proc_prev], ebx ; next->prev .no_proc_next: ; test ebx, ebx ; skip linking if there is no prev jz .no_proc_prev ; thread in the proc mov [ebx+thread.proc_next], edx ; prev -> next ; .done_removing: ; call thread.leave_critical_section ; we are done messing with active data ; pop ebx ; restore used registers pop edx ; ; clean up thread ;---------------- mov eax, [eax+thread.stack_base] ; EAX = base of thread's stack test eax, eax ; if it's zero, don't dealloc it jz .skip_stack_dealloc ; externfunc mem.dealloc ; deallocate stack jc .retn ; .skip_stack_dealloc: ; push edi ; mov edi, [thread_memspace] ; EDI = ptr to thread memory space externfunc mem.fixed.dealloc ; deallocate thread struc pop edi ; ; .retn: ; retn ; .kill_last_in_proc: ; dmej 0x7EDE0006 ; .no_proc_prev: test edx, edx ; if there is no next either we are jz .kill_last_in_proc ; killing the last thread in the proc mov edx, [eax+thread.process] ; EDX = ptr to process mcheck_proc edx ; mov [edx+proc.threads], ebx ; make next thread new root jmp short .done_removing ; ; ----------------------------------- ; thread.kill_self ;============================================================================== globalfunc thread.kill_self ;> ;; arakiri! ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; be realistic ;) ;< dbg lprint {"thread.kill_self called",0xa}, DEBUG dec dword[thread_count] ; one less scumbag in the world jz near _no_threads ; mov ecx, eax ; save EAX of thread; we may need it if cli ; we have to terminate the process ; ; get prev & next & cur threads ;------------------------------ mov ebx, [cur_thread] ; EBX = cur thread that we are removing mcheck_thread ebx ; mov esi, [ebx+thread.process] ; ESI = cur process mcheck_proc esi ; mov edx, [ebx+thread.prev] ; EDX = prev. thread mcheck_thread edx ; cmp edx, ebx ; if the prev pointer points back to jz .kill_last_thread ; the cur thread there is only 1 mov eax, [ebx+thread.next] ; EAX = next thread mcheck_thread eax ; ; remove thread from active loop ;--------------------------------- mov [edx+thread.next], eax ; mov [eax+thread.prev], edx ; ; switch to next context .switch_context: ;----------------------- mov [cur_thread], eax ; mov esp, [eax+thread.esp] ; ; clean up thread ;---------------- mov eax, [ebx+thread.stack_base] ; EAX = base of cur. stack test eax, eax ; if it's zero, skip deallocating it jz .skip_stack_dealloc ; externfunc mem.dealloc ; deallocate stack .skip_stack_dealloc: ; mov eax, ebx ; EAX = cur thread mov edi, [thread_memspace] ; EDI = thread memspace externfunc mem.fixed.dealloc ; dealloc thread struc ; ; remove thread from process ;--------------------------- mov ebp, [ebx+thread.proc_next] ; EBP = next thread in proc mov edx, [ebx+thread.proc_prev] ; EDX = prev thread in proc test ebp, ebp ; jz .no_proc_next ; if there's no next skip linking it mov [ebp+thread.proc_prev], edx ; next -> prev .no_proc_next: ; test edx, edx ; if there's no prev, skip linking it jz .no_proc_prev ; and update the process root thread mov [edx+thread.proc_next], ebp ; prev -> next popad iretd ; goodbye cruel world! %ifdef _MAGIC_CHECKS_ .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE0007 %endif .kill_last_thread: mov eax, idle_thread ; EAX = idle_thread mov esp, [idle_thread+thread.stack_base] add esp, DEF_STACK_SIZE ; ESP = top of idle stack push dword 0x00000202 ; push flags push cs ; push cs push dword _idle ; push eip sub esp, byte 32 ; pseudo-pushad mov [eax+thread.esp], esp ; save esp %ifdef _EIP_CHECKS_ ; mov dword[eax+thread.eip], _idle ; %endif ; jmp short .switch_context ; .no_proc_prev: mov esi, [ebx+thread.process] ; ESI = cur process mcheck_proc esi ; test ebp, ebp ; if ebp (next) is also null, there jz .kill_last_in_proc ; are no other nodes mov [esi+proc.threads], ebp ; update root thread popad ; iretd ; go to next thread .kill_last_in_proc: ; ESI = cur process ; ECX = exit status (what was in EAX when this function was called) dbg lprint {"strontium: terminating process with status %d",0xa}, DEBUG, ecx ; take process out of process list ;--------------------------------- mov ebx, [esi+proc.prev] ; EBX = prev process mov ebp, [esi+proc.next] ; EBP = next process ; test ebp, ebp ; jz .no_next ; mov [ebp+proc.prev], ebx ; next -> prev .no_next: ; test ebx, ebx ; jz .no_prev ; mov [ebx+proc.next], ebp ; prev -> next jmp short .removed ; .no_prev: ; mov [processes], ebp ; update root thread in process .removed: ; ; clean up process ;----------------- mov edi, [proc_memspace] ; EDI = process memspace mov eax, esi ; EAX = ptr to process externfunc mem.fixed.dealloc ; dealloc process struc ; mov ebp, [esi+proc.callback] ; EBP = callback test ebp, ebp ; jz .no_callback ; if it's zero, skip it ; mov ebx, esi ; EBX = process mov eax, ecx ; EAX = exit status call ebp ; ; .no_callback: ; popad ; dbg lprint {"strontium: process terminated",0xa}, DEBUG iretd ; ; ----------------------------------- ; process.create ;============================================================================== globalfunc process.create ;> ;; parameters: ;; ----------- ;; EAX = ptr to callback func to call when process terminates, or 0 for none ;; EBX = ptr to process_info struc (see uuu/include/proc.inc) ;; ECX = number of args ;; EDI = ptr to array of pointers to args ;; ESI = ptr to string of file to execute ;; ;; returned values: ;; ---------------- ;; EBX = process ID of created process ;; errors and registers as usual ;; ;; arg[0] is the name the command was invoked as, so if you give no args to ;; a program ECX = 1. ;; ;; The process info is copied, so it must only be valid until this function ;; returns, at which point it can be maimed, mangled, or mutilated, or even ;; deallocated. ;; ;; callback function: ;; ------------------ ;; use this to monitor when the created process termitates. The function will ;; be called with these parameters: ;; EAX = return status of process, this is what's in EAX when the last thread ;; terminates or one of the threads calls proc.kill_self ;; EBX = process ID of terminated process ;; the registers may be destroyed on return. The callback must remain valid for ;; the entire life of the calling proc. When the parent process terminates ;; (the one that called this function), the callback will be set to 0. ;< dbg lprint {"process.create called",0xa}, DEBUG pushad ; save registers pushad ; save regs again for _create_thread ; ; allocate memory for process ;---------------------------- mov edi, [proc_memspace] ; externfunc mem.fixed.alloc ; jc near .error ; %ifdef _MAGIC_CHECKS_ ; mov dword[edi+proc.magic], PROC_MAGIC ; fill out magic field %endif ; push edi ; ; ; link up the file ;----------------- mov edi, [esp+36] ; EDI = edi (argv) from call externfunc file.link ; jc near .pop1error ; mov [esp+4], edi ; put our edi in thread's edi ; ; set up process info ;-------------------- pop edi ; EDI = ptr to process mov [esp+28], edi ; save ptr to process in thread's eax mov esi, [esp+32+16] ; ESI = ptr to source process info mov ecx, process_info_size / 4 ; ECX = dwords in struc process_info add edi, byte proc.info ; EDI = ptr to process info of new proc mov [esp+16], edi ; put our edi in thread's ebx rep movsd ; copy src->dest sub edi, byte process_info_size ; EDI = ptr to process info again mov ecx, [esp] ; ECX = ptr to argv mov [edi+process_info.cleanup], eax ; save cleanup from file.link mov [edi+process_info.argv], ecx ; save ptr to argv ; ; create new thread and set it up ;-------------------------------- mov ebp, edx ; set starting eip from file.link's edx call _create_thread ; EBX = ptr to new thread jc .error ; %ifdef _EIP_CHECKS_ ; mov [ebx+thread.eip], ebp ; %endif ; xor edx, edx ; NOTE: in critical section now mov edi, [esp+28] ; EDI = ptr to process mov [ebx+thread.proc_next], edx ; zero out the process thread list mov [ebx+thread.proc_prev], edx ; pointers mov [ebx+thread.process], edi ; fill process field mov [ebx+thread.flags], edx ; ; ; put finishing touches on process ;--------------------------------- mov eax, [esp+32+28] ; EAX = ptr to callback; eax from call mov [edi+proc.threads], ebx ; mov [edi+proc.callback], eax ; mov [edi+proc.children], edx ; mov [edi+proc.flags], edx ; mov eax, [processes] ; EAX = root node of process list mov [edi+proc.next], eax ; add our node mov [edi+proc.prev], edx ; test eax, eax ; jz .no_processes ; mov [eax+proc.prev], edi ; .no_processes: ; mov [processes], edi ; ; done; clean up and return ;-------------------------- call thread.leave_critical_section ; whee! add esp, byte 32 ; popad ; restore registers retn ; .pop1error: add esp, byte 4 .error: add esp, byte 32 mov [esp+28], eax popad stc retn ; ----------------------------------- ; process.kill_self ;============================================================================== globalfunc process.kill_self ;> ;; Kills the current process and all it's threads. ;; ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; NEVER :P ;< dbg lprint {"process.kill_self called",0xa}, DEBUG push eax ; save exit code call thread.kill_others_in_proc ; kill everyone else pop eax ; restore exit code call thread.kill_self ; NOW we can kill ourself :) ; ----------------------------------- ; thread.sleep_self ;============================================================================== globalfunc thread.sleep_self ;> ;; parameters: ;; ----------- ;; none ;; ;; returned values: ;; ---------------- ;; EAX = destroyed ;; everything else (including flags) unmodified ;< dbg lprint {"thread.sleep_self called",0xa}, DEBUG ; save state of curent thread ;---------------------------- pop eax ; pop EIP pushfd ; push flags push cs ; push cs push eax ; push EIP pushad ; push all registers mov ebx, [cur_thread] ; EBX = cur thread mcheck_thread ebx ; mov [ebx+thread.esp], esp ; save ESP %ifdef _EIP_CHECKS_ ; mov [ebx+thread.eip], eax ; save EIP %endif ; ; get next and prev threads ;-------------------------- cli ; playing with data strucs, hold on mov eax, [ebx+thread.next] ; EAX = next thread mcheck_thread eax ; cmp eax, ebx ; if the next pointer points back to jz .sleep_last ; the cur thread there is 1 active mov edx, [ebx+thread.prev] ; EDX = prev thread mcheck_thread edx ; ; ; take cur thread out of active loop ;----------------------------------- mov [edx+thread.next], eax ; prev -> next mov [eax+thread.prev], edx ; next -> prev ; ; add cur thread to sleeping list .add_to_sleep_list: ;-------------------------------- xor edx, edx ; EDX = 0 mov ecx, [sleeping_threads] ; ECX = root sleeping node mov [ebx+thread.prev], edx ; no prev sleeping thread mov [ebx+thread.next], ecx ; old root is next sleeping thread test ecx, ecx ; jz .none_sleeping ; skip linking if there was no old root mov [ecx+thread.prev], ebx ; link root -> cur .none_sleeping: ; or dword[ebx+thread.flags], THREAD_F_SLEEPING ; mark as sleeping mov [sleeping_threads], ebx ; cur thread is new root sleeping ; ; activate next thread ;--------------------- mov [cur_thread], eax ; update cur_thread mov esp, [eax+thread.esp] ; switch to new stack ; %ifdef _DEBUG_ ; call _dump_threads ; %endif ; ; popad ; restore registers of new thread iretd ; go to it! %ifdef _MAGIC_CHECKS_ .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE0009 %endif .sleep_last: ; mov eax, idle_thread ; next thread = idle_thread mov esp, [idle_thread+thread.stack_base] add esp, DEF_STACK_SIZE ; use idle thread's stack push dword 0x00000202 ; push flags push cs ; push CS push dword _idle ; push EIP sub esp, byte 32 ; act like we did pushad mov [idle_thread+thread.esp], esp ; save esp jmp short .add_to_sleep_list ; ; ----------------------------------- ; thread.wake ;============================================================================== globalfunc thread.wake ;> ;; parameters: ;; ----------- ;; EAX = thread id ;; ;; returned values: ;; ---------------- ;; all registers unmodified ;< dbg lprint {"thread.wake called: waking thread at 0x%x",0xa}, DEBUG, eax mcheck_thread eax test dword[eax+thread.flags], THREAD_F_SLEEPING jz .retn ; if it's already awake, cool :P ; push ebx ; push ecx ; call thread.enter_critical_section ; ; mov ebx, [eax+thread.next] ; EBX = next thread mov ecx, [eax+thread.prev] ; ECX = prev thread ; ; remove thread from sleeping list ;--------------------------------- test ebx, ebx ; jz .no_next ; jmp if next pointer is null mcheck_thread ebx ; mov [ebx+thread.prev], ecx ; link next -> prev .no_next: ; test ecx, ecx ; jz .no_prev ; jmp if prev pointer is null mcheck_thread ecx ; mov [ecx+thread.next], ebx ; link prev -> next ; ; add thread to active loop .add_to_active_loop: ;-------------------------- mov ecx, [cur_thread] ; ECX = cur thread mcheck_thread ecx ; mov ebx, [ecx+thread.next] ; EBX = next thread mcheck_thread ebx ; mov [ecx+thread.next], eax ; cur -> new mov [ebx+thread.prev], eax ; next -> new mov [eax+thread.next], ebx ; new -> next mov [eax+thread.prev], ecx ; new -> cur ; call thread.leave_critical_section ; pop ecx ; pop ebx ; ; .retn: ; dbg call _dump_threads ; retn ; ; .no_prev: ; mov [sleeping_threads], ebx ; no prev, so next is new root jmp short .add_to_active_loop ; ; let's hope we never have to use this ;------------------------------------- %ifdef _MAGIC_CHECKS_ ; .magic_error: ; lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE000B ; %endif ; ; ----------------------------------- ; _dump_threads ;============================================================================== %ifdef _DEBUG_ _dump_threads: ; dumps the contents of the active and sleeping thread ; lists to the DEBUG log pushad pushfd cli lprint {"ACTIVE LOOP",0xa}, DEBUG mov eax, [cur_thread] mcheck_thread eax mov edx, eax .loop_active: lprint {" %x",0xa}, DEBUG, edx mov ebx, [edx+thread.next] mcheck_thread ebx cmp [ebx+thread.prev], edx jnz .bad_prev mov edx, ebx cmp edx, eax jnz .loop_active lprint {"SLEEPING LIST",0xa}, DEBUG mov eax, [sleeping_threads] test eax, eax jz .done .loop_sleep: mcheck_thread eax lprint {" %x",0xa}, DEBUG, eax mov eax, [eax+thread.next] test eax, eax jnz .loop_sleep .done: popfd popad retn .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE0012 .bad_prev: lprint {"strontium: bad prev pointer in thread",0xa}, DEBUG dmej 0x7EDE0013 %endif ; ----------------------------------- ; _idle ;============================================================================== _idle: dbg lprint {"strontium: entering idle loop",0xa}, DEBUG .loop: cmp dword[idle_thread+thread.next], idle_thread jz .loop ; wait for another thread to be linked ; ; remove idle thread from active loop ;------------------------------------ cli ; mov eax, [idle_thread+thread.next] ; EAX = next thread mov ebx, [idle_thread+thread.prev] ; EBX = prev thread dbg lprint {"strontium: leaving idle loop; next: %x; prev: %x",0xa}, DEBUG, eax, ebx mov [eax+thread.prev], ebx ; mov [ebx+thread.next], eax ; mov [cur_thread], eax ; mov esp, [eax+thread.esp] ; mov dword[idle_thread+thread.next], idle_thread ; get ready for next use mov dword[idle_thread+thread.prev], idle_thread popad ; iretd ; ; ----------------------------------- ; process.list ;============================================================================== globalfunc process.list ;> ;; Gives a listing of all the existing processes ;; ;; parameters: ;; ----------- ;; EAX = ptr to callback function ;; ;; returned values: ;; ---------------- ;; registers as usual ;; ;; the callback function is called with: ;; ------------------------------------- ;; EDX = process ID, or 0 to terminate listing ;; ESI = ptr to process info struc ;; ;; the callback function may return all registers destroyed. ;< call thread.enter_critical_section mov edx, [processes] lea esi, [edx+proc.info] push edx push eax call eax pop eax pop edx test edx, edx jz .done .next: mov edx, [edx+proc.next] lea esi, [edx+proc.info] push edx push eax call eax pop eax pop edx test edx, edx jnz .next .done: call thread.leave_critical_section _create_thread.error: retn ; ----------------------------------- ; _create_thread ;============================================================================== _create_thread: ;; parameters: ;; ----------- ;; TOS = registers to pass on to thread, pushad style ;; EBP = starting EIP ;; ;; returned values: ;; ---------------- ;; EBX = ptr to new thread ;; EBP = unmodified ;; all other registers = destroyed ;; errors as usual ;; ;; this fills in the scheduling and magic info, but the proc_*, process, flags, ;; and priority fields are unfilled. ;; ;; if this function exits with an error, the thread was not created and the ;; critical section is not entered. ;; ;; note: this function enters a critical section when needed; the calling ;; function should call thread.leave_critical_section after it's done. ; allocate memory for thread struc ;--------------------------------- mov edi, [thread_memspace] ; EDI = thread memory space externfunc mem.fixed.alloc ; EDI = ptr to new thread jc .error ; ; %ifdef _MAGIC_CHECKS_ ; mov dword[edi+thread.magic], THREAD_MAGIC %endif ; ; allocate stack for new thread ;------------------------------ mov ebx, edi ; EBX = ptr to new thread mov ecx, DEF_STACK_SIZE ; ECX = stack size externfunc mem.alloc ; EDI = ptr to thread's stack jc .error ; mov [ebx+thread.stack_base], edi ; save stack base address lea edi, [edi+eax-48] ; EDI = ptr to TOS with room for stuff mov [ebx+thread.esp], edi ; save ESP ; ; fill in starting values on the stack ;----------------------------------------------------------------------------- ; we want this: | ; TOS edi +24 ecx | ; +4 esi +28 eax | ; +8 ebp +32 starting eip | ; +12 --- +36 cs | ; +16 ebx +40 starting eflags (all clear but IF) | ; +20 edx +44 return point, thread.kill_self | ;-------------------------------------------------------- mov dword[edi+44], thread.kill_self ; if the thread does a retn, kill it mov dword[edi+40], 0x00000202 ; set start EFLAGS to all 0 except IF mov dword[edi+36], 0x00000008 ; CS = 8 mov dword[edi+32], ebp ; starting EIP mov eax, [esp+4] ; EAX = starting EDI mov ecx, [esp+8] ; ECX = starting ESI mov edx, [esp+12] ; EDX = starting EBP mov [edi], eax ; edi mov [edi+4], ecx ; esi mov [edi+8], edx ; ebp mov eax, [esp+20] ; EAX = starting EBX mov ecx, [esp+24] ; ECX = starting EDX mov edx, [esp+28] ; EDX = starting ECX mov esi, [esp+32] ; ESI = starting EAX mov [edi+16], eax ; ebx mov [edi+20], ecx ; edx mov [edi+24], edx ; ecx mov [edi+28], esi ; eax ; ; add thread to active loop ;-------------------------- call thread.enter_critical_section ; because we screw the data structures mov eax, [cur_thread] ; EAX = ptr to current thread mcheck_thread eax ; mov edx, [eax+thread.next] ; EDX = ptr to next thread mcheck_thread edx ; insert new thread between cur. and next mov [ebx+thread.next], edx ; new -> next mov [ebx+thread.prev], eax ; new -> cur mov [eax+thread.next], ebx ; cur -> new mov [edx+thread.prev], ebx ; next -> new inc dword[thread_count] ; inc total thread count clc ; no error dbg lprint {"created thread at 0x%x",0xa}, DEBUG, ebx retn ; done .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE000C ; .error is in the function above this ; ----------------------------------- ; _no_threads ;============================================================================== _no_threads: lprint {"All threads have been killed; press enter to reboot",0xa}, FATALERR externfunc debug.diable.wait mov al, 0xFE out 0x64, al mov al, 0x01 out 0x92, al ; should have rebooted, but lock to be sure cli hlt ; ----------------------------------- ; _timer_handler ;============================================================================== _timer_handler: ; TODO: update timer stuff to handle 32 bit rollover pushad ; save registers %ifdef _VISUAL_ACTIVITY_ ; inc dword [0xb8000 + 0xA0 - 4] ; %endif ; ; increment the tick count ;------------------------- inc dword[timer.tick_count] ; increment the LSW jc near .tick_overflow ; if it rolls over, inc the MSW .tick_done: ; ; check for timer expirations ;---------------------------- mov edx, [timers] ; EDX = ptr to root timer .check_timer: ; test edx, edx ; if timer is zero there are no timers jz .timers_done ; so we are done mcheck_timer edx ; (check magic) mov eax, [timer.tick_count] ; EAX = tick count cmp [edx+timer.expire], eax ; compare expire time with tick count jne .timers_done ; if they arn't equal we are done mov ebp, [edx+timer.rememberme] ; restore saved value push edx ; save curent timer call [edx+timer.callback] ; call the callback pop eax ; EAX = curent timer (just expired) mov edx, [eax+timer.next] ; EDX = next timer mov edi, [timer_memspace] ; EDI = timer memspace externfunc mem.dealloc ; deallocate the timer struc test edx, edx ; if the next node is 0 jz .timers_done ; no more timers, take a break mov dword[edx+timer.prev], 0 ; zero prev ptr of next timer jmp short .check_timer ; check next timer for expiration ; .timers_done: ; mov [timers], edx ; save new root timer ; switch to next thread mov eax, [cur_thread] ; EAX = cur thread mcheck_thread eax ; (check magic) ; %ifdef _EIP_CHECKS_ ; mov ebx, [esp+32] ; (save eip) mov [eax+thread.eip], ebx ; %endif ; ; %ifdef _SHOW_THREAD_COUNT_ ; xor ecx, ecx ; ECX = 0 mov ebx, eax ; EBX = cur thread .find_num: ; inc ecx ; inc count of threads mov ebx, [ebx+thread.next] ; EBX = next thread cmp ebx, eax ; compare next with first thread jnz .find_num ; loop until we find the first thread dme ecx ; display the count %endif ; %ifdef _SHOW_THREAD_COUNT_ ; ; mov [eax+thread.esp], esp ; save esp mov eax, [eax+thread.next] ; EAX = next thread mcheck_thread eax ; (check magic) mov esp, [eax+thread.esp] ; switch to new stack mov [cur_thread], eax ; cur_thread = eax now ; %ifdef _EIP_CHECKS_ ; mov ebx, [eax+thread.eip] ; EBX = saved eip of thread test ebx, ebx ; jz .skip_eip_check ; if it's zero skip it with a warning cmp ebx, [esp+32] ; compare the eips jnz .eip_error ; if they don't match, that's bad .eip_done: ; %endif ; ; done, send EOI ;--------------- mov al, 0x60 ; out 0x20, al ; popad ; restore registers iretd ; .tick_overflow: ; used when LSW of timer count overflows inc dword[timer.tick_count+4] ; inc MSW jmp near .tick_done ; %ifdef _MAGIC_CHECKS_ .magic_error: lprint {"strontium: bad magic",0xa}, FATALERR dmej 0x7EDE000D %endif %ifdef _EIP_CHECKS_ .eip_error: mov ecx, [esp+32] lprint {"strontium: eip mismatch: 0x%x in thread struc, 0x%x on stack",0xa}, FATALERR, ebx, ecx dmej 0x7EDE000E .skip_eip_check: lprint {"strontium: skiping eip check",0xa}, DEBUG jmp short .eip_done %endif ; ----------------------------------- ; data ;============================================================================== section .data align 4, db 0 timer.tick_count: dd 0, 0 vglobal timer.tick_count proc_memspace: dd 0 thread_memspace: dd 0 timer_memspace: dd 0 ll_memspace: dd 0 ; 8 byte linked list mem.fixed space cur_thread: dd 0 ; ptr to current thread; always valid sleeping_threads: dd 0 ; ptr to first sleeping thread or 0 for none crit_sect_depth: dd 0 crit_sect_flags: dd 0 thread_count: dd 0 ; number of existant threads, active or not processes: dd 0 ; ptr to first process in chain timers: dd 0 ; ptr to root timer (next to expire) init_argv: dd init_name, 0 idle_thread: istruc thread %ifdef _MAGIC_CHECKS_ at thread.magic, dd THREAD_MAGIC %endif at thread.next, dd idle_thread at thread.prev, dd idle_thread iend init_name: db "init",0
source/kernel.asm
feliposz/FelipOS
0
92296
<gh_stars>0 bits 16 %define OS_VERSION '0.0.1' %define API_VERSION 17 disk_buffer equ 24576 ; 8k disk buffer located after OS code and before 32k (user space) user_space equ 32768 jmp kernel_start ; 0000h jmp os_print_string ; 0003h jmp os_move_cursor ; 0006h jmp os_clear_screen ; 0009h jmp os_print_horiz_line ; 000Ch jmp os_print_newline ; 000Fh jmp os_wait_for_key ; 0012h jmp os_check_for_key ; 0015h jmp os_int_to_string ; 0018h jmp os_speaker_tone ; 001Bh jmp os_speaker_off ; 001Eh jmp os_load_file ; 0021h jmp os_pause ; 0024h jmp os_fatal_error ; 0027h jmp os_draw_background ; 002Ah jmp os_string_length ; 002Dh jmp os_string_uppercase ; 0030h jmp os_string_lowercase ; 0033h jmp os_input_string ; 0036h jmp os_string_copy ; 0039h jmp os_dialog_box ; 003Ch jmp os_string_join ; 003Fh jmp os_get_file_list ; 0042h jmp os_string_compare ; 0045h jmp os_string_chomp ; 0048h jmp os_string_strip ; 004Bh jmp os_string_truncate ; 004Eh jmp os_bcd_to_int ; 0051h jmp os_get_time_string ; 0054h jmp os_get_api_version ; 0057h jmp os_file_selector ; 005Ah jmp os_get_date_string ; 005Dh jmp os_send_via_serial ; 0060h jmp os_get_via_serial ; 0063h jmp os_find_char_in_string ; 0066h jmp os_get_cursor_pos ; 0069h jmp os_print_space ; 006Ch jmp os_dump_string ; 006Fh jmp os_print_digit ; 0072h jmp os_print_1hex ; 0075h jmp os_print_2hex ; 0078h jmp os_print_4hex ; 007Bh jmp os_long_int_to_string ; 007Eh jmp os_long_int_negate ; 0081h jmp os_set_time_fmt ; 0084h jmp os_set_date_fmt ; 0087h jmp os_show_cursor ; 008Ah jmp os_hide_cursor ; 008Dh jmp os_dump_registers ; 0090h jmp os_string_strincmp ; 0093h jmp os_write_file ; 0096h jmp os_file_exists ; 0099h jmp os_create_file ; 009Ch jmp os_remove_file ; 009Fh jmp os_rename_file ; 00A2h jmp os_get_file_size ; 00A5h jmp os_input_dialog ; 00A8h jmp os_list_dialog ; 00ABh jmp os_string_reverse ; 00AEh jmp os_string_to_int ; 00B1h jmp os_draw_block ; 00B4h jmp os_get_random ; 00B7h jmp os_string_charchange ; 00BAh jmp os_serial_port_enable ; 00BDh jmp os_sint_to_string ; 00C0h jmp os_string_parse ; 00C3h jmp near __NOT_IMPLEMENTED__ ; os_run_basic ; 00C6h jmp os_port_byte_out ; 00C9h jmp os_port_byte_in ; 00CCh jmp os_string_tokenize ; 00CFh kernel_start: ; setup segments and stack pointer cli mov ax, cs mov es, ax mov ds, ax mov ss, ax mov sp, 0ffffh sti call disk_init call os_seed_random .option_screen: call os_hide_cursor mov ax, header_msg mov bx, footer_msg mov cx, 1Fh call os_draw_background mov ax, welcome1_msg mov bx, welcome2_msg mov cx, welcome3_msg mov dx, 1 call os_dialog_box or ax, ax jz .app_selector ; start CLI call os_show_cursor call os_command_line jmp .option_screen .app_selector: call os_hide_cursor mov ax, header_msg mov bx, footer_msg mov cx, 1Fh call os_draw_background call os_file_selector jc .option_screen mov dx, ax ; has extension? mov si, dx mov al, '.' call os_find_char_in_string or ax, ax jz .bin_error call os_print_2hex ; is .BIN? mov si, dx add si, ax dec si mov di, bin_ext call os_string_compare jnc .bin_error ; is kernel? mov si, dx mov di, kernel_name call os_string_compare jc .kernel_error ; load program mov ax, dx mov si, 0 mov cx, user_space call os_load_file jc .bin_error ; execute program call os_show_cursor call os_clear_screen mov ax, 0 mov bx, 0 mov cx, 0 mov dx, 0 mov si, 0 mov di, 0 call user_space ; wait key press mov si, pause_msg call os_print_string call os_wait_for_key jmp .app_selector .bin_error: mov ax, bin_msg mov bx, 0 mov cx, 0 mov dx, 0 call os_dialog_box jmp .app_selector .kernel_error: mov ax, kernel_msg mov bx, 0 mov cx, 0 mov dx, 0 call os_dialog_box jmp .app_selector __NOT_IMPLEMENTED__: mov ax, not_imp_msg call os_fatal_error .halt: hlt jmp .halt %include 'features/cli.asm' %include 'features/screen.asm' %include 'features/string.asm' %include 'features/math.asm' %include 'features/disk.asm' %include 'features/keyboard.asm' %include 'features/misc.asm' %include 'features/sound.asm' %include 'features/ports.asm' header_msg db 'Welcome to FelipOS', 0 footer_msg db 'Version ', OS_VERSION, 0 welcome1_msg db 'Welcome! Thanks for using FelipOS!', 0 welcome2_msg db 'Please, select OK for program menu or', 0 welcome3_msg db 'Cancel for command line.', 0 not_imp_msg db 'SYSTEM CALL NOT IMPLEMENTED', 13, 10, 0 bin_msg db 'Not a valid BIN program.', 0 pause_msg db '>>> Program ended. Press any key to continue.', 0
test/epic/Prelude/Bot.agda
redfish64/autonomic-agda
0
8670
module Prelude.Bot where data Bot : Set where magic : ∀{A : Set} -> Bot -> A magic ()
models/hol/sygus/bitvector_benchmarks/parity-aig-d1.als
johnwickerson/alloystar
2
4582
<reponame>johnwickerson/alloystar module parity_aig_d1 open parity[spec] -------------------------------------------------------------------------------- -- Specification -- (https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/bitvector-benchmarks/parity-AIG-d1.sl) -------------------------------------------------------------------------------- pred spec[root: Node, eval: Node -> (Int + Bit)] { let a = eval[A], b = eval[B], c = eval[C], d = eval[D] | parity[a, b, c, d] = eval[root] } -------------------------------------------------------------------------------- -- Commands -------------------------------------------------------------------------------- // SIMPLIFIED: use AndInv only: // * with partial ordering: finds an instance in ~20s // * without partial ordering: finds an instance in ~80s run synthBoolNodeB for 0 but -1..0 Int, exactly 15 AndInv
test/Fail/Issue2127.agda
shlevy/agda
1,989
13704
-- Andreas, 2016-08-02 issue #2127 reported by petercommand data Test : Set₁ where field A : Set B : Set -- second field necessary to trigger internal error -- WAS: internal error -- Should give proper error
libsrc/gfx/portable/w_plot.asm
Frodevan/z88dk
640
91272
<reponame>Frodevan/z88dk<gh_stars>100-1000 SECTION code_graphics PUBLIC plot PUBLIC _plot PUBLIC plot_callee PUBLIC _plot_callee PUBLIC asm_plot EXTERN w_plotpixel ; int plot(int x, int y) __smallc; plot: _plot: ld hl,sp+2 ld e,(hl) ;y inc hl ld d,(hl) inc hl ld a,(hl) ;x inc hl ld h,(hl) ld l,a jp w_plotpixel plot_callee: _plot_callee: pop bc ;return pop de ;y pop hl push bc ;return address asm_plot: jp w_plotpixel
Example-02.agda
ashinkarov/agda-extractor
1
8344
<gh_stars>1-10 {-# OPTIONS --show-implicit --verbose=tc.reconstruct:50 #-} open import ExtractSac as ES using () open import Extract (ES.kompile-fun) open import Data.Nat open import Data.List as L using (List; []; _∷_) open import Data.Vec as V using (Vec; []; _∷_) open import Data.Fin using (Fin; zero; suc; #_) open import Relation.Binary.PropositionalEquality open import Reflection open import Structures open import ReflHelper open import Function open import Array.Base -- Check that Vec² and List ∘ Vec are treated correctly. -- Here we transpose a 2d array using Vec operations. -- Note that we are using local where-defined functions. test-20f : ∀ m n → Vec (Vec ℕ n) m → Vec (Vec ℕ m) n test-20f 0 n [] = repl [] where repl : ∀ {k} → Vec ℕ 0 → Vec _ k repl {0} x = [] repl {suc _} x = x ∷ repl x test-20f (suc _) n (x ∷ xs) = xzip x (test-20f _ n xs) where xzip : ∀ {n} → Vec _ n → Vec _ n → Vec _ n xzip [] [] = [] xzip (x ∷ xs) (y ∷ ys) = (x ∷ y) ∷ xzip xs ys test₂₀ : kompile test-20f [] [] ≡ ok _ test₂₀ = refl -- simplified version of the test20 for debugging purposes. test-20f′ : ∀ n → Vec ℕ n → Vec (Vec ℕ 1) n → Vec (Vec ℕ 2) n test-20f′ n xs ys = xzip xs ys where xzip : ∀ {n} → Vec _ n → Vec _ n → Vec _ n xzip [] [] = [] xzip (x ∷ xs) (y ∷ ys) = (x ∷ y) ∷ xzip xs ys test₂₀′ : kompile test-20f′ [] [] ≡ ok _ test₂₀′ = refl -- Make sure that we can handle lists of hom. objects test-21f : ∀ n → List (Vec ℕ n) test-21f n = [] test₂₁ : kompile test-21f [] [] ≡ ok _ test₂₁ = refl -- Test that cons and friends work on a simple example test-22f : ∀ n → Vec (Vec ℕ n) 1 test-22f n = repl 0 ∷ [] where repl : ∀ {m} → ℕ → Vec ℕ m repl {0} x = [] repl {suc _} x = x ∷ repl x test₂₂ : kompile test-22f [] [] ≡ ok _ test₂₂ = refl -- Test that polymorphic functions are failing with a reasonable error test-23f : ∀ {X : Set} → X → X test-23f x = x test₂₃ : _≡_ {A = Prog} (kompile test-23f [] []) $ error _ test₂₃ = refl -- FIXME: This gives a buggy assertion on the argument (that is not present) test-24f : Vec ℕ (1 + 2) test-24f = 1 ∷ 2 ∷ 3 ∷ [] test₂₄ : kompile test-24f [] [] ≡ ok _ test₂₄ = refl -- Array stuff test-25f : ℕ → Ar ℕ 1 V.[ 5 ] test-25f n = cst n test₂₅ : kompile test-25f [] [] ≡ ok _ test₂₅ = refl -- Element-wise addition. test-26f : ∀ {d s} → (a b : Ar ℕ d s) → Ar ℕ d s test-26f a b = imap λ iv → sel a iv + sel b iv test₂₆ : kompile test-26f [] [] ≡ ok _ test₂₆ = refl test-27f : ∀ {d s} → (a b : Ar ℕ d s) → Ar ℕ d s test-27f (imap a) (imap b) = imap λ iv → a iv + b iv test₂₇ : kompile test-27f [] [] ≡ ok _ test₂₇ = refl test-28f : ∀ {d s} → (a b : Ar ℕ d s) → Ar ℕ d s test-28f (imap _) (imap a) = imap λ iv → a iv + 1 test₂₈ : kompile test-28f [] [] ≡ ok _ test₂₈ = refl -- Testing for dot and absurd arguments of the imap. test-29f : ∀ {d s} → (a b : Ar ℕ d s) → a ≡ b → Ar ℕ d s test-29f (imap .a) (imap a) refl = imap λ iv → a iv + 1 test₂₉ : kompile test-29f [] [] ≡ ok _ test₂₉ = refl -- We cannot write this: -- -- open import Data.Empty -- test-30f : Ar ⊥ 1 V.[ 1 ] → ⊥ -- test-30f (imap ()) -- -- even though `f` in imap has type Ix 1 [1] → ⊥, which doesn't exist. -- If non-lambda is found as an argument of the imap. test-31f : Ar ℕ 1 V.[ 10 ] → Ar ℕ 1 V.[ 10 ] test-31f (imap f) = imap f test₃₁ : kompile test-31f [] [] ≡ ok _ test₃₁ = refl -- Index types test-32f : Ix 2 (3 ∷ 4 ∷ []) → Fin 3 test-32f ix = ix-lookup ix (# 0) test₃₂ : kompile test-32f [] [] ≡ ok _ test₃₂ = refl module mat-mul where postulate asum : ∀ {n} → Ar ℕ 1 (n ∷ []) → ℕ mm : ∀ {m n k} → let Mat a b = Ar ℕ 2 (a ∷ b ∷ []) in Mat m n → Mat n k → Mat m k mm (imap a) (imap b) = imap λ iv → let i = ix-lookup iv (# 0) j = ix-lookup iv (# 1) in asum (imap λ kv → let k = ix-lookup kv (# 0) in a (i ∷ k ∷ []) * b (k ∷ j ∷ [])) mm-kompiled = kompile mm [] (quote asum ∷ []) test₃₃ : mm-kompiled ≡ ok _ test₃₃ = refl -- This test ensurest that even if bound variables appear in -- different order than in the telescope, we can still use them. test-34f : ∀ {d s} → Ix (suc d) s → ℕ test-34f {_}{x ∷ s} (_∷_ i ix) = x test-34t = kompile test-34f [] [] test₃₄ : test-34t ≡ ok ("\n\n// Function Example-02.test-34f\n" ++ "int\nExample_02_test_34f(int x_1, int[.] x_2, int[.] x_4) {\n" ++ "/* assert (dim (x_4) == (1 + x_1)) */\n/* assert (x_4 < x_2) */\n" ++ "/* assert (shape (x_2)[[0]] == (1 + x_1)) */" ++ "int __ret;\nd = x_1;\nx = hd (x_2);\ns = tl (x_2);\n" ++ "i = hd (x_4);\nix = tl (x_4);\n__ret = x;\n" ++ "return __ret;\n}\n\n") test₃₄ = refl test-35f : ∀ {d s} → Ix (suc d) s → ℕ test-35f {_} (_∷_ {d}{s}{x} i ix) = x test₃₅ : kompile test-35f [] [] ≡ ok ("\n\n// Function Example-02.test-35f\n" ++ "int\nExample_02_test_35f(int x_1, int[.] x_2, int[.] x_4) {\n" ++ "/* assert (dim (x_4) == (1 + x_1)) */\n/* assert (x_4 < x_2) */\n" ++ "/* assert (shape (x_2)[[0]] == (1 + x_1)) */" ++ "int __ret;\nd = x_1;\nx = hd (x_2);\ns = tl (x_2);\n" ++ "i = hd (x_4);\nix = tl (x_4);\n__ret = x;\n" ++ "return __ret;\n}\n\n") test₃₅ = refl test-fold1 : ∀ {n} → Ar ℕ 1 V.[ n ] → Ar ℕ 1 V.[ n ] test-fold1 a = imap λ iv → sel a iv + 5 test-fold : ∀ {n} → Ar ℕ 1 V.[ n ] → Ar ℕ 1 V.[ n ] test-fold a = imap λ iv → sel (test-fold1 a) iv + 6
asm_sources/callback.asm
11philip22/Mapping-Injection
314
100507
;C:\fasm\fasm.exe callback.asm callback.bin ;python bin2cbuffer.py callback.bin callback use64 mov rdx, 0x7fffffffffff ; address of the global variable flag to check thread creation ;check if thread never run cmp byte [rdx], 0 je callback_start ;avoid recursions jmp restore_execution ;here starts the callback part that runs shellcode, this should run just 1st time callback_start: push r10 ; contains old rip to restore execution push rax ; syscall return value ; why pushing these registers? -> https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=vs-2019#callercallee-saved-registers push rbx push rbp push rdi push rsi push rsp push r12 push r13 push r14 push r15 ;shadow space should be 32 bytes + additional function parameters. Must be 32 also if function parameters are less than 4 sub rsp, 32 lea rcx, [shellcode_placeholder] ; address of the shellcode to run call DisposableHook ;restore stack shadow space add rsp, 32 ;restore nonvolatile registers pop r15 pop r14 pop r13 pop r12 pop rsp pop rsi pop rdi pop rbp pop rbx ;restore the return value pop rax ;restore old rip pop r10 restore_execution: jmp r10 ;source DisposableHook.c -> DisposableHook.msvc.asm DisposableHook: status$ = 96 tHandle$ = 104 objAttr$ = 112 shellcodeAddr$ = 176 threadCreated$ = 184 ; 36 : void DisposableHook(LPVOID shellcodeAddr, char *threadCreated) { mov QWORD [rsp+16], rdx mov QWORD [rsp+8], rcx push rdi sub rsp, 160 ; 000000a0H ; 37 : NTSTATUS status; ; 38 : HANDLE tHandle = NULL; mov QWORD [rsp+tHandle$], 0 ; 39 : OBJECT_ATTRIBUTES objAttr = { sizeof(objAttr) }; mov DWORD [rsp+objAttr$], 48 ; 00000030H lea rax, QWORD [rsp+objAttr$+8] mov rdi, rax xor eax, eax mov ecx, 40 ; 00000028H rep stosb ; 40 : ; 41 : if (InterlockedExchange8((CHAR*)threadCreated, 1) == 1) //avoid recursion + check if another thread already run DisposableHook function mov al, 1 mov rcx, QWORD [rsp+threadCreated$] xchg BYTE [rcx], al movsx eax, al cmp eax, 1 jne SHORT LN2_Disposable ; 42 : return; jmp SHORT LN1_Disposable LN2_Disposable: ; 43 : status = NtCreateThreadEx(&tHandle, GENERIC_EXECUTE, &objAttr, (HANDLE)-1, (LPVOID)shellcodeAddr, NULL, FALSE, 0, 0, 0, NULL); mov QWORD [rsp+80], 0 mov DWORD [rsp+72], 0 mov DWORD [rsp+64], 0 mov DWORD [rsp+56], 0 mov DWORD [rsp+48], 0 mov QWORD [rsp+40], 0 mov rax, QWORD [rsp+shellcodeAddr$] mov QWORD [rsp+32], rax mov r9, -1 lea r8, QWORD [rsp+objAttr$] mov edx, 536870912 ; 20000000H lea rcx, QWORD [rsp+tHandle$] call QWORD NtCreateThreadEx mov DWORD [rsp+status$], eax ; 44 : if (status != 0) cmp DWORD [rsp+status$], 0 je SHORT LN3_Disposable ; 45 : InterlockedExchange8((CHAR*)threadCreated, 0); //thread creation failed, reset flag xor eax, eax mov rcx, QWORD [rsp+threadCreated$] xchg BYTE [rcx], al LN3_Disposable: LN1_Disposable: ; 46 : } add rsp, 160 ; 000000a0H pop rdi ret 0 NtCreateThreadEx: mov rax, [gs:60h] cmp dword [rax+120h], 10240 je build_10240 cmp dword [rax+120h], 10586 je build_10586 cmp dword [rax+120h], 14393 je build_14393 cmp dword [rax+120h], 15063 je build_15063 cmp dword [rax+120h], 16299 je build_16299 cmp dword [rax+120h], 17134 je build_17134 cmp dword [rax+120h], 17763 je build_17763 cmp dword [rax+120h], 18362 je build_18362 cmp dword [rax+120h], 18363 je build_18363 jg build_preview jmp syscall_unknown build_10240: ; Windows 10.0.10240 (1507) mov eax, 00b3h jmp do_syscall build_10586: ; Windows 10.0.10586 (1511) mov eax, 00b4h jmp do_syscall build_14393: ; Windows 10.0.14393 (1607) mov eax, 00b6h jmp do_syscall build_15063: ; Windows 10.0.15063 (1703) mov eax, 00b9h jmp do_syscall build_16299: ; Windows 10.0.16299 (1709) mov eax, 00bah jmp do_syscall build_17134: ; Windows 10.0.17134 (1803) mov eax, 00bbh jmp do_syscall build_17763: ; Windows 10.0.17763 (1809) mov eax, 00bch jmp do_syscall build_18362: ; Windows 10.0.18362 (1903) mov eax, 00bdh jmp do_syscall build_18363: ; Windows 10.0.18363 (1909) mov eax, 00bdh jmp do_syscall build_preview: ; Windows Preview mov eax, 00c1h jmp do_syscall syscall_unknown: mov eax, -1 do_syscall: mov r10, rcx syscall ret shellcode_placeholder: nop ;from here will be appended the shellcode
libsrc/enterprise/exos_system_reset.asm
andydansby/z88dk-mk2
1
100853
<reponame>andydansby/z88dk-mk2 ; ; Enterprise 64/128 specific routines ; by <NAME>, 2011 ; ; exos_system_reset(); ; ; ; $Id: exos_system_reset.asm,v 1.2 2011/03/15 14:34:08 stefano Exp $ ; XLIB exos_system_reset exos_system_reset: ld c,l rst 30h defb 0 ret
programs/oeis/171/A171820.asm
neoneye/loda
22
161540
<gh_stars>10-100 ; A171820: Numbers n such that the n-th prime is of the form 3k + 1/2 +- 1/2. ; 2,4,6,8,11,12,14,18,19,21,22,25,27,29,31,34,36,37,38,42,44,46,47,48,50,53,58,59,61,63,65,67,68,70,73,74,75,78,80,82,84,85,88,90,93,95,99,100,101,105,106,110,111,112,114,115,117,121,122,125,127,129,130,131,133 seq $0,177965 ; Indices m for which A177961(m) - m = 1. mov $1,$0 seq $1,99802 ; Bisection of A000720. mov $0,$1
ugbc/src/hw/gtia/put_image.asm
spotlessmind1975/ugbasic
10
167538
<gh_stars>1-10 ; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache License, Version 2.0 (the "License"); ; * you may not use this file except in compliance with the License. ; * You may obtain a copy of the License at ; * ; * http://www.apache.org/licenses/LICENSE-2.0 ; * ; * Unless required by applicable law or agreed to in writing, software ; * distributed under the License is distributed on an "AS IS" BASIS, ; * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ; * See the License for the specific language governing permissions and ; * limitations under the License. ; *---------------------------------------------------------------------------- ; * Concesso in licenza secondo i termini della Licenza Apache, versione 2.0 ; * (la "Licenza"); è proibito usare questo file se non in conformità alla ; * Licenza. Una copia della Licenza è disponibile all'indirizzo: ; * ; * http://www.apache.org/licenses/LICENSE-2.0 ; * ; * Se non richiesto dalla legislazione vigente o concordato per iscritto, ; * il software distribuito nei termini della Licenza è distribuito ; * "COSì COM'è", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, esplicite o ; * implicite. Consultare la Licenza per il testo specifico che regola le ; * autorizzazioni e le limitazioni previste dalla medesima. ; ****************************************************************************/ ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ;* * ;* IMAGES ROUTINE FOR GTIA * ;* * ;* by <NAME> * ;* * ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ; ---------------------------------------------------------------------------- ; - Put image on bitmap ; ---------------------------------------------------------------------------- PUTIMAGE: LDA CURRENTMODE CMP #8 BNE PUTIMAGE8X JMP PUTIMAGE8 PUTIMAGE8X: CMP #9 BNE PUTIMAGE9X JMP PUTIMAGE9 PUTIMAGE9X: CMP #10 BNE PUTIMAGE10X JMP PUTIMAGE10 PUTIMAGE10X: CMP #11 BNE PUTIMAGE11X JMP PUTIMAGE11 PUTIMAGE11X: CMP #13 BNE PUTIMAGE13X JMP PUTIMAGE13 PUTIMAGE13X: CMP #15 BNE PUTIMAGE15X JMP PUTIMAGE15 PUTIMAGE15X: CMP #12 BNE PUTIMAGE12X JMP PUTIMAGE12 PUTIMAGE12X: CMP #14 BNE PUTIMAGE14X JMP PUTIMAGE14 PUTIMAGE14X: RTS PUTIMAGE9: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 LSR ;lo byte / 8 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT4VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT4VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMON PUTIMAGE11: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 LSR ;lo byte / 8 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT5VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT5VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMON PUTIMAGE15: LDA IMAGEX ROR IMAGEX+1 ;rotate the high byte into carry flag ROR ;lo byte / 2 LSR ;lo byte / 4 LSR ;lo byte / 8 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT6VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT6VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMON PUTIMAGE12: LDA IMAGEX ROR IMAGEX+1 ;rotate the high byte into carry flag ROR ;lo byte / 2 LSR ;lo byte / 4 LSR ;lo byte / 8 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT5VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT5VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMON PUTIMAGECOMMON: LDY #0 LDA (TMPPTR),Y LSR LSR LSR STA IMAGEW LDY #1 LDA (TMPPTR),Y STA IMAGEH STA IMAGEH2 CLC LDA TMPPTR ADC #2 STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 LDA IMAGEW TAY DEY PUTIMAGECOMMONL1: LDA (TMPPTR),Y STA (PLOTDEST),Y DEY CPY #255 BNE PUTIMAGECOMMONL1 CLC LDA TMPPTR ADC IMAGEW STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 CLC LDA PLOTDEST ADC CURRENTSL STA PLOTDEST LDA PLOTDEST+1 ADC #0 STA PLOTDEST+1 DEC IMAGEH BEQ PUTIMAGECOMMON3 LDA IMAGEW TAY DEY JMP PUTIMAGECOMMONL1 PUTIMAGECOMMON3: CLC LDA TMPPTR ADC IMAGEW STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 LDA CURRENTMODE CMP #9 BNE PUTIMAGECOMMON3M9X JMP PUTIMAGECOMMON3M9 PUTIMAGECOMMON3M9X: CMP #11 BNE PUTIMAGECOMMON3M11X JMP PUTIMAGECOMMON3M11 PUTIMAGECOMMON3M11X: CMP #15 BNE PUTIMAGECOMMON3M15X JMP PUTIMAGECOMMON3M15 PUTIMAGECOMMON3M15X: CMP #12 BNE PUTIMAGECOMMON3M12X JMP PUTIMAGECOMMON3M12 PUTIMAGECOMMON3M12X: RTS PUTIMAGECOMMON3M9: PUTIMAGECOMMON3M11: PUTIMAGECOMMON3M12: LDY #0 LDA (TMPPTR),Y STA $2C8 LDY #1 LDA (TMPPTR),Y STA $2C5 JMP PUTIMAGECOMMONE PUTIMAGECOMMON3M15: LDY #0 LDA (TMPPTR),Y STA $2C8 LDY #1 LDA (TMPPTR),Y AND #$F0 STA $2C6 LDA (TMPPTR),Y AND #$F0 STA $2C5 JMP PUTIMAGECOMMONE PUTIMAGECOMMONE: RTS ;;;;;;;;;;;;;;;;; PUTIMAGE8: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC LDA PLOT4VBASELO,Y ;table of $9C40 row base addresses ADC PLOT4LO,X ;+ (4 * Xcell) STA PLOTDEST ;= cell address LDA PLOT4VBASEHI,Y ;do the high byte ADC PLOT4HI,X STA PLOTDEST+1 JMP PUTIMAGECOMMONC PUTIMAGE10: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT5VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT5VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMONC PUTIMAGE13: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT6VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT6VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMONC PUTIMAGE14: LDA IMAGEX LSR ;lo byte / 2 LSR ;lo byte / 4 TAX ;tbl_8,x index ;------------------------- ;calc Y-cell ;------------------------- LDA IMAGEY TAY ;tbl_8,y index ;---------------------------------- ;add x & y to calc cell point is in ;---------------------------------- CLC TXA ADC PLOT5VBASELO,Y ;table of $9C40 row base addresses STA PLOTDEST ;= cell address LDA #0 ADC PLOT5VBASEHI,Y ;do the high byte STA PLOTDEST+1 JMP PUTIMAGECOMMONC PUTIMAGECOMMONC: LDY #0 LDA (TMPPTR),Y LSR LSR LSR STA IMAGEW LDY #1 LDA (TMPPTR),Y STA IMAGEH STA IMAGEH2 CLC LDA TMPPTR ADC #2 STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 LDA IMAGEW ASL TAY DEY PUTIMAGECOMMONCL1: LDA IMAGET BEQ PUTIMAGE3L1DEFX LDA #0 STA MATHPTR5 LDA (TMPPTR),Y ; 00 01 10 00 AND #$C0 ; -> 00 00 00 00 BEQ PUTIMAGE3L1P4X LDA MATHPTR5 ORA #$C0 STA MATHPTR5 PUTIMAGE3L1P4X: LDA (TMPPTR),Y ; 00 01 10 00 AND #$30 ; -> 00 01 00 00 BEQ PUTIMAGE3L1P3X LDA MATHPTR5 ORA #$30 ; MATH PTR = 00 11 00 00 STA MATHPTR5 PUTIMAGE3L1P3X: LDA (TMPPTR),Y ; 00 01 10 00 AND #$0C ; -> 00 00 10 00 BEQ PUTIMAGE3L1P2X LDA MATHPTR5 ORA #$0C ; -> 00 11 11 00 STA MATHPTR5 PUTIMAGE3L1P2X: LDA (TMPPTR),Y AND #$03 BEQ PUTIMAGE3L1P1X LDA MATHPTR5 ORA #$03 STA MATHPTR5 PUTIMAGE3L1P1X: LDA MATHPTR5 ; 00 11 11 00 EOR #$FF ; 11 00 00 11 STA MATHPTR6 LDA (PLOTDEST),Y ; 00 00 00 00 AND MATHPTR6 STA MATHPTR6 ; 00 00 00 00 LDA (TMPPTR),Y AND MATHPTR5 ORA MATHPTR6 JMP PUTIMAGE3L1FINALX PUTIMAGE3L1DEFX: LDA (TMPPTR),Y PUTIMAGE3L1FINALX: STA (PLOTDEST),Y DEY CPY #255 BNE PUTIMAGECOMMONCL1 CLC LDA TMPPTR ADC IMAGEW STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 CLC LDA TMPPTR ADC IMAGEW STA TMPPTR LDA TMPPTR+1 ADC #0 STA TMPPTR+1 CLC LDA PLOTDEST ADC CURRENTSL STA PLOTDEST LDA PLOTDEST+1 ADC #0 STA PLOTDEST+1 DEC IMAGEH BEQ PUTIMAGECOMMONCC LDA IMAGEW ASL TAY DEY JMP PUTIMAGECOMMONCL1 PUTIMAGECOMMONCC: LDA CURRENTMODE CMP #10 BNE PUTIMAGECOMMON3M10X JMP PUTIMAGECOMMON3M10 PUTIMAGECOMMON3M10X: CMP #8 BNE PUTIMAGECOMMON3M8X JMP PUTIMAGECOMMON3M8 PUTIMAGECOMMON3M8X: CMP #13 BNE PUTIMAGECOMMON3M13X JMP PUTIMAGECOMMON3M13 PUTIMAGECOMMON3M13X: CMP #14 BNE PUTIMAGECOMMON3M14X JMP PUTIMAGECOMMON3M14 PUTIMAGECOMMON3M14X: RTS PUTIMAGECOMMON3M10: PUTIMAGECOMMON3M8: PUTIMAGECOMMON3M13: PUTIMAGECOMMON3M14: LDA IMAGET BNE PUTIMAGECOMMON3M1NDEF LDY #0 LDA (TMPPTR),Y STA $2C8 PUTIMAGECOMMON3M1NDEF: LDY #1 LDA (TMPPTR),Y STA $2C4 LDY #2 LDA (TMPPTR),Y STA $2C5 LDY #3 LDA (TMPPTR),Y STA $2C6 JMP PUTIMAGECOMMONCE PUTIMAGECOMMONCE: RTS
src/igzip/hufftables_sam.asm
robinmoussu/fastzip
2
16514
<reponame>robinmoussu/fastzip<filename>src/igzip/hufftables_sam.asm ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; The MIT License ; ; Copyright (c) 2014 Intel Corporation ; ; Permission is hereby granted, free of charge, to any person ; obtaining a copy of this software and associated documentation ; files (the "Software"), to deal in the Software without ; restriction, including without limitation the rights to use, ; copy, modify, merge, publish, distribute, sublicense, and/or ; sell copies of the Software, and to permit persons to whom the ; Software is furnished to do so, subject to the following ; conditions: ; ; The above copyright notice and this permission notice shall be ; included in all copies or substantial portions of the ; Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY ; KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE ; WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR ; PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR ; COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR ; OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %include "options.asm" %ifndef ASM_ALL global huff_tables global dist_table global len_table global lit_table %ifndef LONGER_HUFFTABLE global dcodes %endif %endif section .data align 64 huff_tables: dist_table: dd 0x00001706, 0x00001f07, 0x00005f07, 0x00003f07, dd 0x00000906, 0x00002906, 0x00003707, 0x00007707, dd 0x00001907, 0x00003907, 0x00005907, 0x00007907, dd 0x00000507, 0x00002507, 0x00004507, 0x00006507, dd 0x00000207, 0x00001207, 0x00002207, 0x00003207, dd 0x00004207, 0x00005207, 0x00006207, 0x00007207, dd 0x00001508, 0x00003508, 0x00005508, 0x00007508, dd 0x00009508, 0x0000b508, 0x0000d508, 0x0000f508, dd 0x00000d09, 0x00002d09, 0x00004d09, 0x00006d09, dd 0x00008d09, 0x0000ad09, 0x0000cd09, 0x0000ed09, dd 0x00010d09, 0x00012d09, 0x00014d09, 0x00016d09, dd 0x00018d09, 0x0001ad09, 0x0001cd09, 0x0001ed09, dd 0x00001d09, 0x00003d09, 0x00005d09, 0x00007d09, dd 0x00009d09, 0x0000bd09, 0x0000dd09, 0x0000fd09, dd 0x00011d09, 0x00013d09, 0x00015d09, 0x00017d09, dd 0x00019d09, 0x0001bd09, 0x0001dd09, 0x0001fd09, dd 0x00000f0b, 0x00004f0b, 0x00008f0b, 0x0000cf0b, dd 0x00010f0b, 0x00014f0b, 0x00018f0b, 0x0001cf0b, dd 0x00020f0b, 0x00024f0b, 0x00028f0b, 0x0002cf0b, dd 0x00030f0b, 0x00034f0b, 0x00038f0b, 0x0003cf0b, dd 0x00040f0b, 0x00044f0b, 0x00048f0b, 0x0004cf0b, dd 0x00050f0b, 0x00054f0b, 0x00058f0b, 0x0005cf0b, dd 0x00060f0b, 0x00064f0b, 0x00068f0b, 0x0006cf0b, dd 0x00070f0b, 0x00074f0b, 0x00078f0b, 0x0007cf0b, dd 0x0000ff0e, 0x0002ff0e, 0x0004ff0e, 0x0006ff0e, dd 0x0008ff0e, 0x000aff0e, 0x000cff0e, 0x000eff0e, dd 0x0010ff0e, 0x0012ff0e, 0x0014ff0e, 0x0016ff0e, dd 0x0018ff0e, 0x001aff0e, 0x001cff0e, 0x001eff0e, dd 0x0020ff0e, 0x0022ff0e, 0x0024ff0e, 0x0026ff0e, dd 0x0028ff0e, 0x002aff0e, 0x002cff0e, 0x002eff0e, dd 0x0030ff0e, 0x0032ff0e, 0x0034ff0e, 0x0036ff0e, dd 0x0038ff0e, 0x003aff0e, 0x003cff0e, 0x003eff0e, dd 0x00007f0e, 0x00017f0e, 0x00027f0e, 0x00037f0e, dd 0x00047f0e, 0x00057f0e, 0x00067f0e, 0x00077f0e, dd 0x00087f0e, 0x00097f0e, 0x000a7f0e, 0x000b7f0e, dd 0x000c7f0e, 0x000d7f0e, 0x000e7f0e, 0x000f7f0e, dd 0x00107f0e, 0x00117f0e, 0x00127f0e, 0x00137f0e, dd 0x00147f0e, 0x00157f0e, 0x00167f0e, 0x00177f0e, dd 0x00187f0e, 0x00197f0e, 0x001a7f0e, 0x001b7f0e, dd 0x001c7f0e, 0x001d7f0e, 0x001e7f0e, 0x001f7f0e, dd 0x00207f0e, 0x00217f0e, 0x00227f0e, 0x00237f0e, dd 0x00247f0e, 0x00257f0e, 0x00267f0e, 0x00277f0e, dd 0x00287f0e, 0x00297f0e, 0x002a7f0e, 0x002b7f0e, dd 0x002c7f0e, 0x002d7f0e, 0x002e7f0e, 0x002f7f0e, dd 0x00307f0e, 0x00317f0e, 0x00327f0e, 0x00337f0e, dd 0x00347f0e, 0x00357f0e, 0x00367f0e, 0x00377f0e, dd 0x00387f0e, 0x00397f0e, 0x003a7f0e, 0x003b7f0e, dd 0x003c7f0e, 0x003d7f0e, 0x003e7f0e, 0x003f7f0e, dd 0x00002f0c, 0x00006f0c, 0x0000af0c, 0x0000ef0c, dd 0x00012f0c, 0x00016f0c, 0x0001af0c, 0x0001ef0c, dd 0x00022f0c, 0x00026f0c, 0x0002af0c, 0x0002ef0c, dd 0x00032f0c, 0x00036f0c, 0x0003af0c, 0x0003ef0c, dd 0x00042f0c, 0x00046f0c, 0x0004af0c, 0x0004ef0c, dd 0x00052f0c, 0x00056f0c, 0x0005af0c, 0x0005ef0c, dd 0x00062f0c, 0x00066f0c, 0x0006af0c, 0x0006ef0c, dd 0x00072f0c, 0x00076f0c, 0x0007af0c, 0x0007ef0c, dd 0x00082f0c, 0x00086f0c, 0x0008af0c, 0x0008ef0c, dd 0x00092f0c, 0x00096f0c, 0x0009af0c, 0x0009ef0c, dd 0x000a2f0c, 0x000a6f0c, 0x000aaf0c, 0x000aef0c, dd 0x000b2f0c, 0x000b6f0c, 0x000baf0c, 0x000bef0c, dd 0x000c2f0c, 0x000c6f0c, 0x000caf0c, 0x000cef0c, dd 0x000d2f0c, 0x000d6f0c, 0x000daf0c, 0x000def0c, dd 0x000e2f0c, 0x000e6f0c, 0x000eaf0c, 0x000eef0c, dd 0x000f2f0c, 0x000f6f0c, 0x000faf0c, 0x000fef0c, dd 0x00000009, 0x00000409, 0x00000809, 0x00000c09, dd 0x00001009, 0x00001409, 0x00001809, 0x00001c09, dd 0x00002009, 0x00002409, 0x00002809, 0x00002c09, dd 0x00003009, 0x00003409, 0x00003809, 0x00003c09, dd 0x00004009, 0x00004409, 0x00004809, 0x00004c09, dd 0x00005009, 0x00005409, 0x00005809, 0x00005c09, dd 0x00006009, 0x00006409, 0x00006809, 0x00006c09, dd 0x00007009, 0x00007409, 0x00007809, 0x00007c09, dd 0x00008009, 0x00008409, 0x00008809, 0x00008c09, dd 0x00009009, 0x00009409, 0x00009809, 0x00009c09, dd 0x0000a009, 0x0000a409, 0x0000a809, 0x0000ac09, dd 0x0000b009, 0x0000b409, 0x0000b809, 0x0000bc09, dd 0x0000c009, 0x0000c409, 0x0000c809, 0x0000cc09, dd 0x0000d009, 0x0000d409, 0x0000d809, 0x0000dc09, dd 0x0000e009, 0x0000e409, 0x0000e809, 0x0000ec09, dd 0x0000f009, 0x0000f409, 0x0000f809, 0x0000fc09, dd 0x00010009, 0x00010409, 0x00010809, 0x00010c09, dd 0x00011009, 0x00011409, 0x00011809, 0x00011c09, dd 0x00012009, 0x00012409, 0x00012809, 0x00012c09, dd 0x00013009, 0x00013409, 0x00013809, 0x00013c09, dd 0x00014009, 0x00014409, 0x00014809, 0x00014c09, dd 0x00015009, 0x00015409, 0x00015809, 0x00015c09, dd 0x00016009, 0x00016409, 0x00016809, 0x00016c09, dd 0x00017009, 0x00017409, 0x00017809, 0x00017c09, dd 0x00018009, 0x00018409, 0x00018809, 0x00018c09, dd 0x00019009, 0x00019409, 0x00019809, 0x00019c09, dd 0x0001a009, 0x0001a409, 0x0001a809, 0x0001ac09, dd 0x0001b009, 0x0001b409, 0x0001b809, 0x0001bc09, dd 0x0001c009, 0x0001c409, 0x0001c809, 0x0001cc09, dd 0x0001d009, 0x0001d409, 0x0001d809, 0x0001dc09, dd 0x0001e009, 0x0001e409, 0x0001e809, 0x0001ec09, dd 0x0001f009, 0x0001f409, 0x0001f809, 0x0001fc09, dd 0x0000030c, 0x0000230c, 0x0000430c, 0x0000630c, dd 0x0000830c, 0x0000a30c, 0x0000c30c, 0x0000e30c, dd 0x0001030c, 0x0001230c, 0x0001430c, 0x0001630c, dd 0x0001830c, 0x0001a30c, 0x0001c30c, 0x0001e30c, dd 0x0002030c, 0x0002230c, 0x0002430c, 0x0002630c, dd 0x0002830c, 0x0002a30c, 0x0002c30c, 0x0002e30c, dd 0x0003030c, 0x0003230c, 0x0003430c, 0x0003630c, dd 0x0003830c, 0x0003a30c, 0x0003c30c, 0x0003e30c, dd 0x0004030c, 0x0004230c, 0x0004430c, 0x0004630c, dd 0x0004830c, 0x0004a30c, 0x0004c30c, 0x0004e30c, dd 0x0005030c, 0x0005230c, 0x0005430c, 0x0005630c, dd 0x0005830c, 0x0005a30c, 0x0005c30c, 0x0005e30c, dd 0x0006030c, 0x0006230c, 0x0006430c, 0x0006630c, dd 0x0006830c, 0x0006a30c, 0x0006c30c, 0x0006e30c, dd 0x0007030c, 0x0007230c, 0x0007430c, 0x0007630c, dd 0x0007830c, 0x0007a30c, 0x0007c30c, 0x0007e30c, dd 0x0008030c, 0x0008230c, 0x0008430c, 0x0008630c, dd 0x0008830c, 0x0008a30c, 0x0008c30c, 0x0008e30c, dd 0x0009030c, 0x0009230c, 0x0009430c, 0x0009630c, dd 0x0009830c, 0x0009a30c, 0x0009c30c, 0x0009e30c, dd 0x000a030c, 0x000a230c, 0x000a430c, 0x000a630c, dd 0x000a830c, 0x000aa30c, 0x000ac30c, 0x000ae30c, dd 0x000b030c, 0x000b230c, 0x000b430c, 0x000b630c, dd 0x000b830c, 0x000ba30c, 0x000bc30c, 0x000be30c, dd 0x000c030c, 0x000c230c, 0x000c430c, 0x000c630c, dd 0x000c830c, 0x000ca30c, 0x000cc30c, 0x000ce30c, dd 0x000d030c, 0x000d230c, 0x000d430c, 0x000d630c, dd 0x000d830c, 0x000da30c, 0x000dc30c, 0x000de30c, dd 0x000e030c, 0x000e230c, 0x000e430c, 0x000e630c, dd 0x000e830c, 0x000ea30c, 0x000ec30c, 0x000ee30c, dd 0x000f030c, 0x000f230c, 0x000f430c, 0x000f630c, dd 0x000f830c, 0x000fa30c, 0x000fc30c, 0x000fe30c, dd 0x00000a0c, 0x00001a0c, 0x00002a0c, 0x00003a0c, dd 0x00004a0c, 0x00005a0c, 0x00006a0c, 0x00007a0c, dd 0x00008a0c, 0x00009a0c, 0x0000aa0c, 0x0000ba0c, dd 0x0000ca0c, 0x0000da0c, 0x0000ea0c, 0x0000fa0c, dd 0x00010a0c, 0x00011a0c, 0x00012a0c, 0x00013a0c, dd 0x00014a0c, 0x00015a0c, 0x00016a0c, 0x00017a0c, dd 0x00018a0c, 0x00019a0c, 0x0001aa0c, 0x0001ba0c, dd 0x0001ca0c, 0x0001da0c, 0x0001ea0c, 0x0001fa0c, dd 0x00020a0c, 0x00021a0c, 0x00022a0c, 0x00023a0c, dd 0x00024a0c, 0x00025a0c, 0x00026a0c, 0x00027a0c, dd 0x00028a0c, 0x00029a0c, 0x0002aa0c, 0x0002ba0c, dd 0x0002ca0c, 0x0002da0c, 0x0002ea0c, 0x0002fa0c, dd 0x00030a0c, 0x00031a0c, 0x00032a0c, 0x00033a0c, dd 0x00034a0c, 0x00035a0c, 0x00036a0c, 0x00037a0c, dd 0x00038a0c, 0x00039a0c, 0x0003aa0c, 0x0003ba0c, dd 0x0003ca0c, 0x0003da0c, 0x0003ea0c, 0x0003fa0c, dd 0x00040a0c, 0x00041a0c, 0x00042a0c, 0x00043a0c, dd 0x00044a0c, 0x00045a0c, 0x00046a0c, 0x00047a0c, dd 0x00048a0c, 0x00049a0c, 0x0004aa0c, 0x0004ba0c, dd 0x0004ca0c, 0x0004da0c, 0x0004ea0c, 0x0004fa0c, dd 0x00050a0c, 0x00051a0c, 0x00052a0c, 0x00053a0c, dd 0x00054a0c, 0x00055a0c, 0x00056a0c, 0x00057a0c, dd 0x00058a0c, 0x00059a0c, 0x0005aa0c, 0x0005ba0c, dd 0x0005ca0c, 0x0005da0c, 0x0005ea0c, 0x0005fa0c, dd 0x00060a0c, 0x00061a0c, 0x00062a0c, 0x00063a0c, dd 0x00064a0c, 0x00065a0c, 0x00066a0c, 0x00067a0c, dd 0x00068a0c, 0x00069a0c, 0x0006aa0c, 0x0006ba0c, dd 0x0006ca0c, 0x0006da0c, 0x0006ea0c, 0x0006fa0c, dd 0x00070a0c, 0x00071a0c, 0x00072a0c, 0x00073a0c, dd 0x00074a0c, 0x00075a0c, 0x00076a0c, 0x00077a0c, dd 0x00078a0c, 0x00079a0c, 0x0007aa0c, 0x0007ba0c, dd 0x0007ca0c, 0x0007da0c, 0x0007ea0c, 0x0007fa0c, dd 0x00080a0c, 0x00081a0c, 0x00082a0c, 0x00083a0c, dd 0x00084a0c, 0x00085a0c, 0x00086a0c, 0x00087a0c, dd 0x00088a0c, 0x00089a0c, 0x0008aa0c, 0x0008ba0c, dd 0x0008ca0c, 0x0008da0c, 0x0008ea0c, 0x0008fa0c, dd 0x00090a0c, 0x00091a0c, 0x00092a0c, 0x00093a0c, dd 0x00094a0c, 0x00095a0c, 0x00096a0c, 0x00097a0c, dd 0x00098a0c, 0x00099a0c, 0x0009aa0c, 0x0009ba0c, dd 0x0009ca0c, 0x0009da0c, 0x0009ea0c, 0x0009fa0c, dd 0x000a0a0c, 0x000a1a0c, 0x000a2a0c, 0x000a3a0c, dd 0x000a4a0c, 0x000a5a0c, 0x000a6a0c, 0x000a7a0c, dd 0x000a8a0c, 0x000a9a0c, 0x000aaa0c, 0x000aba0c, dd 0x000aca0c, 0x000ada0c, 0x000aea0c, 0x000afa0c, dd 0x000b0a0c, 0x000b1a0c, 0x000b2a0c, 0x000b3a0c, dd 0x000b4a0c, 0x000b5a0c, 0x000b6a0c, 0x000b7a0c, dd 0x000b8a0c, 0x000b9a0c, 0x000baa0c, 0x000bba0c, dd 0x000bca0c, 0x000bda0c, 0x000bea0c, 0x000bfa0c, dd 0x000c0a0c, 0x000c1a0c, 0x000c2a0c, 0x000c3a0c, dd 0x000c4a0c, 0x000c5a0c, 0x000c6a0c, 0x000c7a0c, dd 0x000c8a0c, 0x000c9a0c, 0x000caa0c, 0x000cba0c, dd 0x000cca0c, 0x000cda0c, 0x000cea0c, 0x000cfa0c, dd 0x000d0a0c, 0x000d1a0c, 0x000d2a0c, 0x000d3a0c, dd 0x000d4a0c, 0x000d5a0c, 0x000d6a0c, 0x000d7a0c, dd 0x000d8a0c, 0x000d9a0c, 0x000daa0c, 0x000dba0c, dd 0x000dca0c, 0x000dda0c, 0x000dea0c, 0x000dfa0c, dd 0x000e0a0c, 0x000e1a0c, 0x000e2a0c, 0x000e3a0c, dd 0x000e4a0c, 0x000e5a0c, 0x000e6a0c, 0x000e7a0c, dd 0x000e8a0c, 0x000e9a0c, 0x000eaa0c, 0x000eba0c, dd 0x000eca0c, 0x000eda0c, 0x000eea0c, 0x000efa0c, dd 0x000f0a0c, 0x000f1a0c, 0x000f2a0c, 0x000f3a0c, dd 0x000f4a0c, 0x000f5a0c, 0x000f6a0c, 0x000f7a0c, dd 0x000f8a0c, 0x000f9a0c, 0x000faa0c, 0x000fba0c, dd 0x000fca0c, 0x000fda0c, 0x000fea0c, 0x000ffa0c, dd 0x0000130d, 0x0000330d, 0x0000530d, 0x0000730d, dd 0x0000930d, 0x0000b30d, 0x0000d30d, 0x0000f30d, dd 0x0001130d, 0x0001330d, 0x0001530d, 0x0001730d, dd 0x0001930d, 0x0001b30d, 0x0001d30d, 0x0001f30d, dd 0x0002130d, 0x0002330d, 0x0002530d, 0x0002730d, dd 0x0002930d, 0x0002b30d, 0x0002d30d, 0x0002f30d, dd 0x0003130d, 0x0003330d, 0x0003530d, 0x0003730d, dd 0x0003930d, 0x0003b30d, 0x0003d30d, 0x0003f30d, dd 0x0004130d, 0x0004330d, 0x0004530d, 0x0004730d, dd 0x0004930d, 0x0004b30d, 0x0004d30d, 0x0004f30d, dd 0x0005130d, 0x0005330d, 0x0005530d, 0x0005730d, dd 0x0005930d, 0x0005b30d, 0x0005d30d, 0x0005f30d, dd 0x0006130d, 0x0006330d, 0x0006530d, 0x0006730d, dd 0x0006930d, 0x0006b30d, 0x0006d30d, 0x0006f30d, dd 0x0007130d, 0x0007330d, 0x0007530d, 0x0007730d, dd 0x0007930d, 0x0007b30d, 0x0007d30d, 0x0007f30d, dd 0x0008130d, 0x0008330d, 0x0008530d, 0x0008730d, dd 0x0008930d, 0x0008b30d, 0x0008d30d, 0x0008f30d, dd 0x0009130d, 0x0009330d, 0x0009530d, 0x0009730d, dd 0x0009930d, 0x0009b30d, 0x0009d30d, 0x0009f30d, dd 0x000a130d, 0x000a330d, 0x000a530d, 0x000a730d, dd 0x000a930d, 0x000ab30d, 0x000ad30d, 0x000af30d, dd 0x000b130d, 0x000b330d, 0x000b530d, 0x000b730d, dd 0x000b930d, 0x000bb30d, 0x000bd30d, 0x000bf30d, dd 0x000c130d, 0x000c330d, 0x000c530d, 0x000c730d, dd 0x000c930d, 0x000cb30d, 0x000cd30d, 0x000cf30d, dd 0x000d130d, 0x000d330d, 0x000d530d, 0x000d730d, dd 0x000d930d, 0x000db30d, 0x000dd30d, 0x000df30d, dd 0x000e130d, 0x000e330d, 0x000e530d, 0x000e730d, dd 0x000e930d, 0x000eb30d, 0x000ed30d, 0x000ef30d, dd 0x000f130d, 0x000f330d, 0x000f530d, 0x000f730d, dd 0x000f930d, 0x000fb30d, 0x000fd30d, 0x000ff30d, dd 0x0010130d, 0x0010330d, 0x0010530d, 0x0010730d, dd 0x0010930d, 0x0010b30d, 0x0010d30d, 0x0010f30d, dd 0x0011130d, 0x0011330d, 0x0011530d, 0x0011730d, dd 0x0011930d, 0x0011b30d, 0x0011d30d, 0x0011f30d, dd 0x0012130d, 0x0012330d, 0x0012530d, 0x0012730d, dd 0x0012930d, 0x0012b30d, 0x0012d30d, 0x0012f30d, dd 0x0013130d, 0x0013330d, 0x0013530d, 0x0013730d, dd 0x0013930d, 0x0013b30d, 0x0013d30d, 0x0013f30d, dd 0x0014130d, 0x0014330d, 0x0014530d, 0x0014730d, dd 0x0014930d, 0x0014b30d, 0x0014d30d, 0x0014f30d, dd 0x0015130d, 0x0015330d, 0x0015530d, 0x0015730d, dd 0x0015930d, 0x0015b30d, 0x0015d30d, 0x0015f30d, dd 0x0016130d, 0x0016330d, 0x0016530d, 0x0016730d, dd 0x0016930d, 0x0016b30d, 0x0016d30d, 0x0016f30d, dd 0x0017130d, 0x0017330d, 0x0017530d, 0x0017730d, dd 0x0017930d, 0x0017b30d, 0x0017d30d, 0x0017f30d, dd 0x0018130d, 0x0018330d, 0x0018530d, 0x0018730d, dd 0x0018930d, 0x0018b30d, 0x0018d30d, 0x0018f30d, dd 0x0019130d, 0x0019330d, 0x0019530d, 0x0019730d, dd 0x0019930d, 0x0019b30d, 0x0019d30d, 0x0019f30d, dd 0x001a130d, 0x001a330d, 0x001a530d, 0x001a730d, dd 0x001a930d, 0x001ab30d, 0x001ad30d, 0x001af30d, dd 0x001b130d, 0x001b330d, 0x001b530d, 0x001b730d, dd 0x001b930d, 0x001bb30d, 0x001bd30d, 0x001bf30d, dd 0x001c130d, 0x001c330d, 0x001c530d, 0x001c730d, dd 0x001c930d, 0x001cb30d, 0x001cd30d, 0x001cf30d, dd 0x001d130d, 0x001d330d, 0x001d530d, 0x001d730d, dd 0x001d930d, 0x001db30d, 0x001dd30d, 0x001df30d, dd 0x001e130d, 0x001e330d, 0x001e530d, 0x001e730d, dd 0x001e930d, 0x001eb30d, 0x001ed30d, 0x001ef30d, dd 0x001f130d, 0x001f330d, 0x001f530d, 0x001f730d, dd 0x001f930d, 0x001fb30d, 0x001fd30d, 0x001ff30d, %ifdef LONGER_HUFFTABLE dd 0x0000060d, 0x0000160d, 0x0000260d, 0x0000360d, dd 0x0000460d, 0x0000560d, 0x0000660d, 0x0000760d, dd 0x0000860d, 0x0000960d, 0x0000a60d, 0x0000b60d, dd 0x0000c60d, 0x0000d60d, 0x0000e60d, 0x0000f60d, dd 0x0001060d, 0x0001160d, 0x0001260d, 0x0001360d, dd 0x0001460d, 0x0001560d, 0x0001660d, 0x0001760d, dd 0x0001860d, 0x0001960d, 0x0001a60d, 0x0001b60d, dd 0x0001c60d, 0x0001d60d, 0x0001e60d, 0x0001f60d, dd 0x0002060d, 0x0002160d, 0x0002260d, 0x0002360d, dd 0x0002460d, 0x0002560d, 0x0002660d, 0x0002760d, dd 0x0002860d, 0x0002960d, 0x0002a60d, 0x0002b60d, dd 0x0002c60d, 0x0002d60d, 0x0002e60d, 0x0002f60d, dd 0x0003060d, 0x0003160d, 0x0003260d, 0x0003360d, dd 0x0003460d, 0x0003560d, 0x0003660d, 0x0003760d, dd 0x0003860d, 0x0003960d, 0x0003a60d, 0x0003b60d, dd 0x0003c60d, 0x0003d60d, 0x0003e60d, 0x0003f60d, dd 0x0004060d, 0x0004160d, 0x0004260d, 0x0004360d, dd 0x0004460d, 0x0004560d, 0x0004660d, 0x0004760d, dd 0x0004860d, 0x0004960d, 0x0004a60d, 0x0004b60d, dd 0x0004c60d, 0x0004d60d, 0x0004e60d, 0x0004f60d, dd 0x0005060d, 0x0005160d, 0x0005260d, 0x0005360d, dd 0x0005460d, 0x0005560d, 0x0005660d, 0x0005760d, dd 0x0005860d, 0x0005960d, 0x0005a60d, 0x0005b60d, dd 0x0005c60d, 0x0005d60d, 0x0005e60d, 0x0005f60d, dd 0x0006060d, 0x0006160d, 0x0006260d, 0x0006360d, dd 0x0006460d, 0x0006560d, 0x0006660d, 0x0006760d, dd 0x0006860d, 0x0006960d, 0x0006a60d, 0x0006b60d, dd 0x0006c60d, 0x0006d60d, 0x0006e60d, 0x0006f60d, dd 0x0007060d, 0x0007160d, 0x0007260d, 0x0007360d, dd 0x0007460d, 0x0007560d, 0x0007660d, 0x0007760d, dd 0x0007860d, 0x0007960d, 0x0007a60d, 0x0007b60d, dd 0x0007c60d, 0x0007d60d, 0x0007e60d, 0x0007f60d, dd 0x0008060d, 0x0008160d, 0x0008260d, 0x0008360d, dd 0x0008460d, 0x0008560d, 0x0008660d, 0x0008760d, dd 0x0008860d, 0x0008960d, 0x0008a60d, 0x0008b60d, dd 0x0008c60d, 0x0008d60d, 0x0008e60d, 0x0008f60d, dd 0x0009060d, 0x0009160d, 0x0009260d, 0x0009360d, dd 0x0009460d, 0x0009560d, 0x0009660d, 0x0009760d, dd 0x0009860d, 0x0009960d, 0x0009a60d, 0x0009b60d, dd 0x0009c60d, 0x0009d60d, 0x0009e60d, 0x0009f60d, dd 0x000a060d, 0x000a160d, 0x000a260d, 0x000a360d, dd 0x000a460d, 0x000a560d, 0x000a660d, 0x000a760d, dd 0x000a860d, 0x000a960d, 0x000aa60d, 0x000ab60d, dd 0x000ac60d, 0x000ad60d, 0x000ae60d, 0x000af60d, dd 0x000b060d, 0x000b160d, 0x000b260d, 0x000b360d, dd 0x000b460d, 0x000b560d, 0x000b660d, 0x000b760d, dd 0x000b860d, 0x000b960d, 0x000ba60d, 0x000bb60d, dd 0x000bc60d, 0x000bd60d, 0x000be60d, 0x000bf60d, dd 0x000c060d, 0x000c160d, 0x000c260d, 0x000c360d, dd 0x000c460d, 0x000c560d, 0x000c660d, 0x000c760d, dd 0x000c860d, 0x000c960d, 0x000ca60d, 0x000cb60d, dd 0x000cc60d, 0x000cd60d, 0x000ce60d, 0x000cf60d, dd 0x000d060d, 0x000d160d, 0x000d260d, 0x000d360d, dd 0x000d460d, 0x000d560d, 0x000d660d, 0x000d760d, dd 0x000d860d, 0x000d960d, 0x000da60d, 0x000db60d, dd 0x000dc60d, 0x000dd60d, 0x000de60d, 0x000df60d, dd 0x000e060d, 0x000e160d, 0x000e260d, 0x000e360d, dd 0x000e460d, 0x000e560d, 0x000e660d, 0x000e760d, dd 0x000e860d, 0x000e960d, 0x000ea60d, 0x000eb60d, dd 0x000ec60d, 0x000ed60d, 0x000ee60d, 0x000ef60d, dd 0x000f060d, 0x000f160d, 0x000f260d, 0x000f360d, dd 0x000f460d, 0x000f560d, 0x000f660d, 0x000f760d, dd 0x000f860d, 0x000f960d, 0x000fa60d, 0x000fb60d, dd 0x000fc60d, 0x000fd60d, 0x000fe60d, 0x000ff60d, dd 0x0010060d, 0x0010160d, 0x0010260d, 0x0010360d, dd 0x0010460d, 0x0010560d, 0x0010660d, 0x0010760d, dd 0x0010860d, 0x0010960d, 0x0010a60d, 0x0010b60d, dd 0x0010c60d, 0x0010d60d, 0x0010e60d, 0x0010f60d, dd 0x0011060d, 0x0011160d, 0x0011260d, 0x0011360d, dd 0x0011460d, 0x0011560d, 0x0011660d, 0x0011760d, dd 0x0011860d, 0x0011960d, 0x0011a60d, 0x0011b60d, dd 0x0011c60d, 0x0011d60d, 0x0011e60d, 0x0011f60d, dd 0x0012060d, 0x0012160d, 0x0012260d, 0x0012360d, dd 0x0012460d, 0x0012560d, 0x0012660d, 0x0012760d, dd 0x0012860d, 0x0012960d, 0x0012a60d, 0x0012b60d, dd 0x0012c60d, 0x0012d60d, 0x0012e60d, 0x0012f60d, dd 0x0013060d, 0x0013160d, 0x0013260d, 0x0013360d, dd 0x0013460d, 0x0013560d, 0x0013660d, 0x0013760d, dd 0x0013860d, 0x0013960d, 0x0013a60d, 0x0013b60d, dd 0x0013c60d, 0x0013d60d, 0x0013e60d, 0x0013f60d, dd 0x0014060d, 0x0014160d, 0x0014260d, 0x0014360d, dd 0x0014460d, 0x0014560d, 0x0014660d, 0x0014760d, dd 0x0014860d, 0x0014960d, 0x0014a60d, 0x0014b60d, dd 0x0014c60d, 0x0014d60d, 0x0014e60d, 0x0014f60d, dd 0x0015060d, 0x0015160d, 0x0015260d, 0x0015360d, dd 0x0015460d, 0x0015560d, 0x0015660d, 0x0015760d, dd 0x0015860d, 0x0015960d, 0x0015a60d, 0x0015b60d, dd 0x0015c60d, 0x0015d60d, 0x0015e60d, 0x0015f60d, dd 0x0016060d, 0x0016160d, 0x0016260d, 0x0016360d, dd 0x0016460d, 0x0016560d, 0x0016660d, 0x0016760d, dd 0x0016860d, 0x0016960d, 0x0016a60d, 0x0016b60d, dd 0x0016c60d, 0x0016d60d, 0x0016e60d, 0x0016f60d, dd 0x0017060d, 0x0017160d, 0x0017260d, 0x0017360d, dd 0x0017460d, 0x0017560d, 0x0017660d, 0x0017760d, dd 0x0017860d, 0x0017960d, 0x0017a60d, 0x0017b60d, dd 0x0017c60d, 0x0017d60d, 0x0017e60d, 0x0017f60d, dd 0x0018060d, 0x0018160d, 0x0018260d, 0x0018360d, dd 0x0018460d, 0x0018560d, 0x0018660d, 0x0018760d, dd 0x0018860d, 0x0018960d, 0x0018a60d, 0x0018b60d, dd 0x0018c60d, 0x0018d60d, 0x0018e60d, 0x0018f60d, dd 0x0019060d, 0x0019160d, 0x0019260d, 0x0019360d, dd 0x0019460d, 0x0019560d, 0x0019660d, 0x0019760d, dd 0x0019860d, 0x0019960d, 0x0019a60d, 0x0019b60d, dd 0x0019c60d, 0x0019d60d, 0x0019e60d, 0x0019f60d, dd 0x001a060d, 0x001a160d, 0x001a260d, 0x001a360d, dd 0x001a460d, 0x001a560d, 0x001a660d, 0x001a760d, dd 0x001a860d, 0x001a960d, 0x001aa60d, 0x001ab60d, dd 0x001ac60d, 0x001ad60d, 0x001ae60d, 0x001af60d, dd 0x001b060d, 0x001b160d, 0x001b260d, 0x001b360d, dd 0x001b460d, 0x001b560d, 0x001b660d, 0x001b760d, dd 0x001b860d, 0x001b960d, 0x001ba60d, 0x001bb60d, dd 0x001bc60d, 0x001bd60d, 0x001be60d, 0x001bf60d, dd 0x001c060d, 0x001c160d, 0x001c260d, 0x001c360d, dd 0x001c460d, 0x001c560d, 0x001c660d, 0x001c760d, dd 0x001c860d, 0x001c960d, 0x001ca60d, 0x001cb60d, dd 0x001cc60d, 0x001cd60d, 0x001ce60d, 0x001cf60d, dd 0x001d060d, 0x001d160d, 0x001d260d, 0x001d360d, dd 0x001d460d, 0x001d560d, 0x001d660d, 0x001d760d, dd 0x001d860d, 0x001d960d, 0x001da60d, 0x001db60d, dd 0x001dc60d, 0x001dd60d, 0x001de60d, 0x001df60d, dd 0x001e060d, 0x001e160d, 0x001e260d, 0x001e360d, dd 0x001e460d, 0x001e560d, 0x001e660d, 0x001e760d, dd 0x001e860d, 0x001e960d, 0x001ea60d, 0x001eb60d, dd 0x001ec60d, 0x001ed60d, 0x001ee60d, 0x001ef60d, dd 0x001f060d, 0x001f160d, 0x001f260d, 0x001f360d, dd 0x001f460d, 0x001f560d, 0x001f660d, 0x001f760d, dd 0x001f860d, 0x001f960d, 0x001fa60d, 0x001fb60d, dd 0x001fc60d, 0x001fd60d, 0x001fe60d, 0x001ff60d, dd 0x00000b0e, 0x00002b0e, 0x00004b0e, 0x00006b0e, dd 0x00008b0e, 0x0000ab0e, 0x0000cb0e, 0x0000eb0e, dd 0x00010b0e, 0x00012b0e, 0x00014b0e, 0x00016b0e, dd 0x00018b0e, 0x0001ab0e, 0x0001cb0e, 0x0001eb0e, dd 0x00020b0e, 0x00022b0e, 0x00024b0e, 0x00026b0e, dd 0x00028b0e, 0x0002ab0e, 0x0002cb0e, 0x0002eb0e, dd 0x00030b0e, 0x00032b0e, 0x00034b0e, 0x00036b0e, dd 0x00038b0e, 0x0003ab0e, 0x0003cb0e, 0x0003eb0e, dd 0x00040b0e, 0x00042b0e, 0x00044b0e, 0x00046b0e, dd 0x00048b0e, 0x0004ab0e, 0x0004cb0e, 0x0004eb0e, dd 0x00050b0e, 0x00052b0e, 0x00054b0e, 0x00056b0e, dd 0x00058b0e, 0x0005ab0e, 0x0005cb0e, 0x0005eb0e, dd 0x00060b0e, 0x00062b0e, 0x00064b0e, 0x00066b0e, dd 0x00068b0e, 0x0006ab0e, 0x0006cb0e, 0x0006eb0e, dd 0x00070b0e, 0x00072b0e, 0x00074b0e, 0x00076b0e, dd 0x00078b0e, 0x0007ab0e, 0x0007cb0e, 0x0007eb0e, dd 0x00080b0e, 0x00082b0e, 0x00084b0e, 0x00086b0e, dd 0x00088b0e, 0x0008ab0e, 0x0008cb0e, 0x0008eb0e, dd 0x00090b0e, 0x00092b0e, 0x00094b0e, 0x00096b0e, dd 0x00098b0e, 0x0009ab0e, 0x0009cb0e, 0x0009eb0e, dd 0x000a0b0e, 0x000a2b0e, 0x000a4b0e, 0x000a6b0e, dd 0x000a8b0e, 0x000aab0e, 0x000acb0e, 0x000aeb0e, dd 0x000b0b0e, 0x000b2b0e, 0x000b4b0e, 0x000b6b0e, dd 0x000b8b0e, 0x000bab0e, 0x000bcb0e, 0x000beb0e, dd 0x000c0b0e, 0x000c2b0e, 0x000c4b0e, 0x000c6b0e, dd 0x000c8b0e, 0x000cab0e, 0x000ccb0e, 0x000ceb0e, dd 0x000d0b0e, 0x000d2b0e, 0x000d4b0e, 0x000d6b0e, dd 0x000d8b0e, 0x000dab0e, 0x000dcb0e, 0x000deb0e, dd 0x000e0b0e, 0x000e2b0e, 0x000e4b0e, 0x000e6b0e, dd 0x000e8b0e, 0x000eab0e, 0x000ecb0e, 0x000eeb0e, dd 0x000f0b0e, 0x000f2b0e, 0x000f4b0e, 0x000f6b0e, dd 0x000f8b0e, 0x000fab0e, 0x000fcb0e, 0x000feb0e, dd 0x00100b0e, 0x00102b0e, 0x00104b0e, 0x00106b0e, dd 0x00108b0e, 0x0010ab0e, 0x0010cb0e, 0x0010eb0e, dd 0x00110b0e, 0x00112b0e, 0x00114b0e, 0x00116b0e, dd 0x00118b0e, 0x0011ab0e, 0x0011cb0e, 0x0011eb0e, dd 0x00120b0e, 0x00122b0e, 0x00124b0e, 0x00126b0e, dd 0x00128b0e, 0x0012ab0e, 0x0012cb0e, 0x0012eb0e, dd 0x00130b0e, 0x00132b0e, 0x00134b0e, 0x00136b0e, dd 0x00138b0e, 0x0013ab0e, 0x0013cb0e, 0x0013eb0e, dd 0x00140b0e, 0x00142b0e, 0x00144b0e, 0x00146b0e, dd 0x00148b0e, 0x0014ab0e, 0x0014cb0e, 0x0014eb0e, dd 0x00150b0e, 0x00152b0e, 0x00154b0e, 0x00156b0e, dd 0x00158b0e, 0x0015ab0e, 0x0015cb0e, 0x0015eb0e, dd 0x00160b0e, 0x00162b0e, 0x00164b0e, 0x00166b0e, dd 0x00168b0e, 0x0016ab0e, 0x0016cb0e, 0x0016eb0e, dd 0x00170b0e, 0x00172b0e, 0x00174b0e, 0x00176b0e, dd 0x00178b0e, 0x0017ab0e, 0x0017cb0e, 0x0017eb0e, dd 0x00180b0e, 0x00182b0e, 0x00184b0e, 0x00186b0e, dd 0x00188b0e, 0x0018ab0e, 0x0018cb0e, 0x0018eb0e, dd 0x00190b0e, 0x00192b0e, 0x00194b0e, 0x00196b0e, dd 0x00198b0e, 0x0019ab0e, 0x0019cb0e, 0x0019eb0e, dd 0x001a0b0e, 0x001a2b0e, 0x001a4b0e, 0x001a6b0e, dd 0x001a8b0e, 0x001aab0e, 0x001acb0e, 0x001aeb0e, dd 0x001b0b0e, 0x001b2b0e, 0x001b4b0e, 0x001b6b0e, dd 0x001b8b0e, 0x001bab0e, 0x001bcb0e, 0x001beb0e, dd 0x001c0b0e, 0x001c2b0e, 0x001c4b0e, 0x001c6b0e, dd 0x001c8b0e, 0x001cab0e, 0x001ccb0e, 0x001ceb0e, dd 0x001d0b0e, 0x001d2b0e, 0x001d4b0e, 0x001d6b0e, dd 0x001d8b0e, 0x001dab0e, 0x001dcb0e, 0x001deb0e, dd 0x001e0b0e, 0x001e2b0e, 0x001e4b0e, 0x001e6b0e, dd 0x001e8b0e, 0x001eab0e, 0x001ecb0e, 0x001eeb0e, dd 0x001f0b0e, 0x001f2b0e, 0x001f4b0e, 0x001f6b0e, dd 0x001f8b0e, 0x001fab0e, 0x001fcb0e, 0x001feb0e, dd 0x00200b0e, 0x00202b0e, 0x00204b0e, 0x00206b0e, dd 0x00208b0e, 0x0020ab0e, 0x0020cb0e, 0x0020eb0e, dd 0x00210b0e, 0x00212b0e, 0x00214b0e, 0x00216b0e, dd 0x00218b0e, 0x0021ab0e, 0x0021cb0e, 0x0021eb0e, dd 0x00220b0e, 0x00222b0e, 0x00224b0e, 0x00226b0e, dd 0x00228b0e, 0x0022ab0e, 0x0022cb0e, 0x0022eb0e, dd 0x00230b0e, 0x00232b0e, 0x00234b0e, 0x00236b0e, dd 0x00238b0e, 0x0023ab0e, 0x0023cb0e, 0x0023eb0e, dd 0x00240b0e, 0x00242b0e, 0x00244b0e, 0x00246b0e, dd 0x00248b0e, 0x0024ab0e, 0x0024cb0e, 0x0024eb0e, dd 0x00250b0e, 0x00252b0e, 0x00254b0e, 0x00256b0e, dd 0x00258b0e, 0x0025ab0e, 0x0025cb0e, 0x0025eb0e, dd 0x00260b0e, 0x00262b0e, 0x00264b0e, 0x00266b0e, dd 0x00268b0e, 0x0026ab0e, 0x0026cb0e, 0x0026eb0e, dd 0x00270b0e, 0x00272b0e, 0x00274b0e, 0x00276b0e, dd 0x00278b0e, 0x0027ab0e, 0x0027cb0e, 0x0027eb0e, dd 0x00280b0e, 0x00282b0e, 0x00284b0e, 0x00286b0e, dd 0x00288b0e, 0x0028ab0e, 0x0028cb0e, 0x0028eb0e, dd 0x00290b0e, 0x00292b0e, 0x00294b0e, 0x00296b0e, dd 0x00298b0e, 0x0029ab0e, 0x0029cb0e, 0x0029eb0e, dd 0x002a0b0e, 0x002a2b0e, 0x002a4b0e, 0x002a6b0e, dd 0x002a8b0e, 0x002aab0e, 0x002acb0e, 0x002aeb0e, dd 0x002b0b0e, 0x002b2b0e, 0x002b4b0e, 0x002b6b0e, dd 0x002b8b0e, 0x002bab0e, 0x002bcb0e, 0x002beb0e, dd 0x002c0b0e, 0x002c2b0e, 0x002c4b0e, 0x002c6b0e, dd 0x002c8b0e, 0x002cab0e, 0x002ccb0e, 0x002ceb0e, dd 0x002d0b0e, 0x002d2b0e, 0x002d4b0e, 0x002d6b0e, dd 0x002d8b0e, 0x002dab0e, 0x002dcb0e, 0x002deb0e, dd 0x002e0b0e, 0x002e2b0e, 0x002e4b0e, 0x002e6b0e, dd 0x002e8b0e, 0x002eab0e, 0x002ecb0e, 0x002eeb0e, dd 0x002f0b0e, 0x002f2b0e, 0x002f4b0e, 0x002f6b0e, dd 0x002f8b0e, 0x002fab0e, 0x002fcb0e, 0x002feb0e, dd 0x00300b0e, 0x00302b0e, 0x00304b0e, 0x00306b0e, dd 0x00308b0e, 0x0030ab0e, 0x0030cb0e, 0x0030eb0e, dd 0x00310b0e, 0x00312b0e, 0x00314b0e, 0x00316b0e, dd 0x00318b0e, 0x0031ab0e, 0x0031cb0e, 0x0031eb0e, dd 0x00320b0e, 0x00322b0e, 0x00324b0e, 0x00326b0e, dd 0x00328b0e, 0x0032ab0e, 0x0032cb0e, 0x0032eb0e, dd 0x00330b0e, 0x00332b0e, 0x00334b0e, 0x00336b0e, dd 0x00338b0e, 0x0033ab0e, 0x0033cb0e, 0x0033eb0e, dd 0x00340b0e, 0x00342b0e, 0x00344b0e, 0x00346b0e, dd 0x00348b0e, 0x0034ab0e, 0x0034cb0e, 0x0034eb0e, dd 0x00350b0e, 0x00352b0e, 0x00354b0e, 0x00356b0e, dd 0x00358b0e, 0x0035ab0e, 0x0035cb0e, 0x0035eb0e, dd 0x00360b0e, 0x00362b0e, 0x00364b0e, 0x00366b0e, dd 0x00368b0e, 0x0036ab0e, 0x0036cb0e, 0x0036eb0e, dd 0x00370b0e, 0x00372b0e, 0x00374b0e, 0x00376b0e, dd 0x00378b0e, 0x0037ab0e, 0x0037cb0e, 0x0037eb0e, dd 0x00380b0e, 0x00382b0e, 0x00384b0e, 0x00386b0e, dd 0x00388b0e, 0x0038ab0e, 0x0038cb0e, 0x0038eb0e, dd 0x00390b0e, 0x00392b0e, 0x00394b0e, 0x00396b0e, dd 0x00398b0e, 0x0039ab0e, 0x0039cb0e, 0x0039eb0e, dd 0x003a0b0e, 0x003a2b0e, 0x003a4b0e, 0x003a6b0e, dd 0x003a8b0e, 0x003aab0e, 0x003acb0e, 0x003aeb0e, dd 0x003b0b0e, 0x003b2b0e, 0x003b4b0e, 0x003b6b0e, dd 0x003b8b0e, 0x003bab0e, 0x003bcb0e, 0x003beb0e, dd 0x003c0b0e, 0x003c2b0e, 0x003c4b0e, 0x003c6b0e, dd 0x003c8b0e, 0x003cab0e, 0x003ccb0e, 0x003ceb0e, dd 0x003d0b0e, 0x003d2b0e, 0x003d4b0e, 0x003d6b0e, dd 0x003d8b0e, 0x003dab0e, 0x003dcb0e, 0x003deb0e, dd 0x003e0b0e, 0x003e2b0e, 0x003e4b0e, 0x003e6b0e, dd 0x003e8b0e, 0x003eab0e, 0x003ecb0e, 0x003eeb0e, dd 0x003f0b0e, 0x003f2b0e, 0x003f4b0e, 0x003f6b0e, dd 0x003f8b0e, 0x003fab0e, 0x003fcb0e, 0x003feb0e, dd 0x00000e0e, 0x00001e0e, 0x00002e0e, 0x00003e0e, dd 0x00004e0e, 0x00005e0e, 0x00006e0e, 0x00007e0e, dd 0x00008e0e, 0x00009e0e, 0x0000ae0e, 0x0000be0e, dd 0x0000ce0e, 0x0000de0e, 0x0000ee0e, 0x0000fe0e, dd 0x00010e0e, 0x00011e0e, 0x00012e0e, 0x00013e0e, dd 0x00014e0e, 0x00015e0e, 0x00016e0e, 0x00017e0e, dd 0x00018e0e, 0x00019e0e, 0x0001ae0e, 0x0001be0e, dd 0x0001ce0e, 0x0001de0e, 0x0001ee0e, 0x0001fe0e, dd 0x00020e0e, 0x00021e0e, 0x00022e0e, 0x00023e0e, dd 0x00024e0e, 0x00025e0e, 0x00026e0e, 0x00027e0e, dd 0x00028e0e, 0x00029e0e, 0x0002ae0e, 0x0002be0e, dd 0x0002ce0e, 0x0002de0e, 0x0002ee0e, 0x0002fe0e, dd 0x00030e0e, 0x00031e0e, 0x00032e0e, 0x00033e0e, dd 0x00034e0e, 0x00035e0e, 0x00036e0e, 0x00037e0e, dd 0x00038e0e, 0x00039e0e, 0x0003ae0e, 0x0003be0e, dd 0x0003ce0e, 0x0003de0e, 0x0003ee0e, 0x0003fe0e, dd 0x00040e0e, 0x00041e0e, 0x00042e0e, 0x00043e0e, dd 0x00044e0e, 0x00045e0e, 0x00046e0e, 0x00047e0e, dd 0x00048e0e, 0x00049e0e, 0x0004ae0e, 0x0004be0e, dd 0x0004ce0e, 0x0004de0e, 0x0004ee0e, 0x0004fe0e, dd 0x00050e0e, 0x00051e0e, 0x00052e0e, 0x00053e0e, dd 0x00054e0e, 0x00055e0e, 0x00056e0e, 0x00057e0e, dd 0x00058e0e, 0x00059e0e, 0x0005ae0e, 0x0005be0e, dd 0x0005ce0e, 0x0005de0e, 0x0005ee0e, 0x0005fe0e, dd 0x00060e0e, 0x00061e0e, 0x00062e0e, 0x00063e0e, dd 0x00064e0e, 0x00065e0e, 0x00066e0e, 0x00067e0e, dd 0x00068e0e, 0x00069e0e, 0x0006ae0e, 0x0006be0e, dd 0x0006ce0e, 0x0006de0e, 0x0006ee0e, 0x0006fe0e, dd 0x00070e0e, 0x00071e0e, 0x00072e0e, 0x00073e0e, dd 0x00074e0e, 0x00075e0e, 0x00076e0e, 0x00077e0e, dd 0x00078e0e, 0x00079e0e, 0x0007ae0e, 0x0007be0e, dd 0x0007ce0e, 0x0007de0e, 0x0007ee0e, 0x0007fe0e, dd 0x00080e0e, 0x00081e0e, 0x00082e0e, 0x00083e0e, dd 0x00084e0e, 0x00085e0e, 0x00086e0e, 0x00087e0e, dd 0x00088e0e, 0x00089e0e, 0x0008ae0e, 0x0008be0e, dd 0x0008ce0e, 0x0008de0e, 0x0008ee0e, 0x0008fe0e, dd 0x00090e0e, 0x00091e0e, 0x00092e0e, 0x00093e0e, dd 0x00094e0e, 0x00095e0e, 0x00096e0e, 0x00097e0e, dd 0x00098e0e, 0x00099e0e, 0x0009ae0e, 0x0009be0e, dd 0x0009ce0e, 0x0009de0e, 0x0009ee0e, 0x0009fe0e, dd 0x000a0e0e, 0x000a1e0e, 0x000a2e0e, 0x000a3e0e, dd 0x000a4e0e, 0x000a5e0e, 0x000a6e0e, 0x000a7e0e, dd 0x000a8e0e, 0x000a9e0e, 0x000aae0e, 0x000abe0e, dd 0x000ace0e, 0x000ade0e, 0x000aee0e, 0x000afe0e, dd 0x000b0e0e, 0x000b1e0e, 0x000b2e0e, 0x000b3e0e, dd 0x000b4e0e, 0x000b5e0e, 0x000b6e0e, 0x000b7e0e, dd 0x000b8e0e, 0x000b9e0e, 0x000bae0e, 0x000bbe0e, dd 0x000bce0e, 0x000bde0e, 0x000bee0e, 0x000bfe0e, dd 0x000c0e0e, 0x000c1e0e, 0x000c2e0e, 0x000c3e0e, dd 0x000c4e0e, 0x000c5e0e, 0x000c6e0e, 0x000c7e0e, dd 0x000c8e0e, 0x000c9e0e, 0x000cae0e, 0x000cbe0e, dd 0x000cce0e, 0x000cde0e, 0x000cee0e, 0x000cfe0e, dd 0x000d0e0e, 0x000d1e0e, 0x000d2e0e, 0x000d3e0e, dd 0x000d4e0e, 0x000d5e0e, 0x000d6e0e, 0x000d7e0e, dd 0x000d8e0e, 0x000d9e0e, 0x000dae0e, 0x000dbe0e, dd 0x000dce0e, 0x000dde0e, 0x000dee0e, 0x000dfe0e, dd 0x000e0e0e, 0x000e1e0e, 0x000e2e0e, 0x000e3e0e, dd 0x000e4e0e, 0x000e5e0e, 0x000e6e0e, 0x000e7e0e, dd 0x000e8e0e, 0x000e9e0e, 0x000eae0e, 0x000ebe0e, dd 0x000ece0e, 0x000ede0e, 0x000eee0e, 0x000efe0e, dd 0x000f0e0e, 0x000f1e0e, 0x000f2e0e, 0x000f3e0e, dd 0x000f4e0e, 0x000f5e0e, 0x000f6e0e, 0x000f7e0e, dd 0x000f8e0e, 0x000f9e0e, 0x000fae0e, 0x000fbe0e, dd 0x000fce0e, 0x000fde0e, 0x000fee0e, 0x000ffe0e, dd 0x00100e0e, 0x00101e0e, 0x00102e0e, 0x00103e0e, dd 0x00104e0e, 0x00105e0e, 0x00106e0e, 0x00107e0e, dd 0x00108e0e, 0x00109e0e, 0x0010ae0e, 0x0010be0e, dd 0x0010ce0e, 0x0010de0e, 0x0010ee0e, 0x0010fe0e, dd 0x00110e0e, 0x00111e0e, 0x00112e0e, 0x00113e0e, dd 0x00114e0e, 0x00115e0e, 0x00116e0e, 0x00117e0e, dd 0x00118e0e, 0x00119e0e, 0x0011ae0e, 0x0011be0e, dd 0x0011ce0e, 0x0011de0e, 0x0011ee0e, 0x0011fe0e, dd 0x00120e0e, 0x00121e0e, 0x00122e0e, 0x00123e0e, dd 0x00124e0e, 0x00125e0e, 0x00126e0e, 0x00127e0e, dd 0x00128e0e, 0x00129e0e, 0x0012ae0e, 0x0012be0e, dd 0x0012ce0e, 0x0012de0e, 0x0012ee0e, 0x0012fe0e, dd 0x00130e0e, 0x00131e0e, 0x00132e0e, 0x00133e0e, dd 0x00134e0e, 0x00135e0e, 0x00136e0e, 0x00137e0e, dd 0x00138e0e, 0x00139e0e, 0x0013ae0e, 0x0013be0e, dd 0x0013ce0e, 0x0013de0e, 0x0013ee0e, 0x0013fe0e, dd 0x00140e0e, 0x00141e0e, 0x00142e0e, 0x00143e0e, dd 0x00144e0e, 0x00145e0e, 0x00146e0e, 0x00147e0e, dd 0x00148e0e, 0x00149e0e, 0x0014ae0e, 0x0014be0e, dd 0x0014ce0e, 0x0014de0e, 0x0014ee0e, 0x0014fe0e, dd 0x00150e0e, 0x00151e0e, 0x00152e0e, 0x00153e0e, dd 0x00154e0e, 0x00155e0e, 0x00156e0e, 0x00157e0e, dd 0x00158e0e, 0x00159e0e, 0x0015ae0e, 0x0015be0e, dd 0x0015ce0e, 0x0015de0e, 0x0015ee0e, 0x0015fe0e, dd 0x00160e0e, 0x00161e0e, 0x00162e0e, 0x00163e0e, dd 0x00164e0e, 0x00165e0e, 0x00166e0e, 0x00167e0e, dd 0x00168e0e, 0x00169e0e, 0x0016ae0e, 0x0016be0e, dd 0x0016ce0e, 0x0016de0e, 0x0016ee0e, 0x0016fe0e, dd 0x00170e0e, 0x00171e0e, 0x00172e0e, 0x00173e0e, dd 0x00174e0e, 0x00175e0e, 0x00176e0e, 0x00177e0e, dd 0x00178e0e, 0x00179e0e, 0x0017ae0e, 0x0017be0e, dd 0x0017ce0e, 0x0017de0e, 0x0017ee0e, 0x0017fe0e, dd 0x00180e0e, 0x00181e0e, 0x00182e0e, 0x00183e0e, dd 0x00184e0e, 0x00185e0e, 0x00186e0e, 0x00187e0e, dd 0x00188e0e, 0x00189e0e, 0x0018ae0e, 0x0018be0e, dd 0x0018ce0e, 0x0018de0e, 0x0018ee0e, 0x0018fe0e, dd 0x00190e0e, 0x00191e0e, 0x00192e0e, 0x00193e0e, dd 0x00194e0e, 0x00195e0e, 0x00196e0e, 0x00197e0e, dd 0x00198e0e, 0x00199e0e, 0x0019ae0e, 0x0019be0e, dd 0x0019ce0e, 0x0019de0e, 0x0019ee0e, 0x0019fe0e, dd 0x001a0e0e, 0x001a1e0e, 0x001a2e0e, 0x001a3e0e, dd 0x001a4e0e, 0x001a5e0e, 0x001a6e0e, 0x001a7e0e, dd 0x001a8e0e, 0x001a9e0e, 0x001aae0e, 0x001abe0e, dd 0x001ace0e, 0x001ade0e, 0x001aee0e, 0x001afe0e, dd 0x001b0e0e, 0x001b1e0e, 0x001b2e0e, 0x001b3e0e, dd 0x001b4e0e, 0x001b5e0e, 0x001b6e0e, 0x001b7e0e, dd 0x001b8e0e, 0x001b9e0e, 0x001bae0e, 0x001bbe0e, dd 0x001bce0e, 0x001bde0e, 0x001bee0e, 0x001bfe0e, dd 0x001c0e0e, 0x001c1e0e, 0x001c2e0e, 0x001c3e0e, dd 0x001c4e0e, 0x001c5e0e, 0x001c6e0e, 0x001c7e0e, dd 0x001c8e0e, 0x001c9e0e, 0x001cae0e, 0x001cbe0e, dd 0x001cce0e, 0x001cde0e, 0x001cee0e, 0x001cfe0e, dd 0x001d0e0e, 0x001d1e0e, 0x001d2e0e, 0x001d3e0e, dd 0x001d4e0e, 0x001d5e0e, 0x001d6e0e, 0x001d7e0e, dd 0x001d8e0e, 0x001d9e0e, 0x001dae0e, 0x001dbe0e, dd 0x001dce0e, 0x001dde0e, 0x001dee0e, 0x001dfe0e, dd 0x001e0e0e, 0x001e1e0e, 0x001e2e0e, 0x001e3e0e, dd 0x001e4e0e, 0x001e5e0e, 0x001e6e0e, 0x001e7e0e, dd 0x001e8e0e, 0x001e9e0e, 0x001eae0e, 0x001ebe0e, dd 0x001ece0e, 0x001ede0e, 0x001eee0e, 0x001efe0e, dd 0x001f0e0e, 0x001f1e0e, 0x001f2e0e, 0x001f3e0e, dd 0x001f4e0e, 0x001f5e0e, 0x001f6e0e, 0x001f7e0e, dd 0x001f8e0e, 0x001f9e0e, 0x001fae0e, 0x001fbe0e, dd 0x001fce0e, 0x001fde0e, 0x001fee0e, 0x001ffe0e, dd 0x00200e0e, 0x00201e0e, 0x00202e0e, 0x00203e0e, dd 0x00204e0e, 0x00205e0e, 0x00206e0e, 0x00207e0e, dd 0x00208e0e, 0x00209e0e, 0x0020ae0e, 0x0020be0e, dd 0x0020ce0e, 0x0020de0e, 0x0020ee0e, 0x0020fe0e, dd 0x00210e0e, 0x00211e0e, 0x00212e0e, 0x00213e0e, dd 0x00214e0e, 0x00215e0e, 0x00216e0e, 0x00217e0e, dd 0x00218e0e, 0x00219e0e, 0x0021ae0e, 0x0021be0e, dd 0x0021ce0e, 0x0021de0e, 0x0021ee0e, 0x0021fe0e, dd 0x00220e0e, 0x00221e0e, 0x00222e0e, 0x00223e0e, dd 0x00224e0e, 0x00225e0e, 0x00226e0e, 0x00227e0e, dd 0x00228e0e, 0x00229e0e, 0x0022ae0e, 0x0022be0e, dd 0x0022ce0e, 0x0022de0e, 0x0022ee0e, 0x0022fe0e, dd 0x00230e0e, 0x00231e0e, 0x00232e0e, 0x00233e0e, dd 0x00234e0e, 0x00235e0e, 0x00236e0e, 0x00237e0e, dd 0x00238e0e, 0x00239e0e, 0x0023ae0e, 0x0023be0e, dd 0x0023ce0e, 0x0023de0e, 0x0023ee0e, 0x0023fe0e, dd 0x00240e0e, 0x00241e0e, 0x00242e0e, 0x00243e0e, dd 0x00244e0e, 0x00245e0e, 0x00246e0e, 0x00247e0e, dd 0x00248e0e, 0x00249e0e, 0x0024ae0e, 0x0024be0e, dd 0x0024ce0e, 0x0024de0e, 0x0024ee0e, 0x0024fe0e, dd 0x00250e0e, 0x00251e0e, 0x00252e0e, 0x00253e0e, dd 0x00254e0e, 0x00255e0e, 0x00256e0e, 0x00257e0e, dd 0x00258e0e, 0x00259e0e, 0x0025ae0e, 0x0025be0e, dd 0x0025ce0e, 0x0025de0e, 0x0025ee0e, 0x0025fe0e, dd 0x00260e0e, 0x00261e0e, 0x00262e0e, 0x00263e0e, dd 0x00264e0e, 0x00265e0e, 0x00266e0e, 0x00267e0e, dd 0x00268e0e, 0x00269e0e, 0x0026ae0e, 0x0026be0e, dd 0x0026ce0e, 0x0026de0e, 0x0026ee0e, 0x0026fe0e, dd 0x00270e0e, 0x00271e0e, 0x00272e0e, 0x00273e0e, dd 0x00274e0e, 0x00275e0e, 0x00276e0e, 0x00277e0e, dd 0x00278e0e, 0x00279e0e, 0x0027ae0e, 0x0027be0e, dd 0x0027ce0e, 0x0027de0e, 0x0027ee0e, 0x0027fe0e, dd 0x00280e0e, 0x00281e0e, 0x00282e0e, 0x00283e0e, dd 0x00284e0e, 0x00285e0e, 0x00286e0e, 0x00287e0e, dd 0x00288e0e, 0x00289e0e, 0x0028ae0e, 0x0028be0e, dd 0x0028ce0e, 0x0028de0e, 0x0028ee0e, 0x0028fe0e, dd 0x00290e0e, 0x00291e0e, 0x00292e0e, 0x00293e0e, dd 0x00294e0e, 0x00295e0e, 0x00296e0e, 0x00297e0e, dd 0x00298e0e, 0x00299e0e, 0x0029ae0e, 0x0029be0e, dd 0x0029ce0e, 0x0029de0e, 0x0029ee0e, 0x0029fe0e, dd 0x002a0e0e, 0x002a1e0e, 0x002a2e0e, 0x002a3e0e, dd 0x002a4e0e, 0x002a5e0e, 0x002a6e0e, 0x002a7e0e, dd 0x002a8e0e, 0x002a9e0e, 0x002aae0e, 0x002abe0e, dd 0x002ace0e, 0x002ade0e, 0x002aee0e, 0x002afe0e, dd 0x002b0e0e, 0x002b1e0e, 0x002b2e0e, 0x002b3e0e, dd 0x002b4e0e, 0x002b5e0e, 0x002b6e0e, 0x002b7e0e, dd 0x002b8e0e, 0x002b9e0e, 0x002bae0e, 0x002bbe0e, dd 0x002bce0e, 0x002bde0e, 0x002bee0e, 0x002bfe0e, dd 0x002c0e0e, 0x002c1e0e, 0x002c2e0e, 0x002c3e0e, dd 0x002c4e0e, 0x002c5e0e, 0x002c6e0e, 0x002c7e0e, dd 0x002c8e0e, 0x002c9e0e, 0x002cae0e, 0x002cbe0e, dd 0x002cce0e, 0x002cde0e, 0x002cee0e, 0x002cfe0e, dd 0x002d0e0e, 0x002d1e0e, 0x002d2e0e, 0x002d3e0e, dd 0x002d4e0e, 0x002d5e0e, 0x002d6e0e, 0x002d7e0e, dd 0x002d8e0e, 0x002d9e0e, 0x002dae0e, 0x002dbe0e, dd 0x002dce0e, 0x002dde0e, 0x002dee0e, 0x002dfe0e, dd 0x002e0e0e, 0x002e1e0e, 0x002e2e0e, 0x002e3e0e, dd 0x002e4e0e, 0x002e5e0e, 0x002e6e0e, 0x002e7e0e, dd 0x002e8e0e, 0x002e9e0e, 0x002eae0e, 0x002ebe0e, dd 0x002ece0e, 0x002ede0e, 0x002eee0e, 0x002efe0e, dd 0x002f0e0e, 0x002f1e0e, 0x002f2e0e, 0x002f3e0e, dd 0x002f4e0e, 0x002f5e0e, 0x002f6e0e, 0x002f7e0e, dd 0x002f8e0e, 0x002f9e0e, 0x002fae0e, 0x002fbe0e, dd 0x002fce0e, 0x002fde0e, 0x002fee0e, 0x002ffe0e, dd 0x00300e0e, 0x00301e0e, 0x00302e0e, 0x00303e0e, dd 0x00304e0e, 0x00305e0e, 0x00306e0e, 0x00307e0e, dd 0x00308e0e, 0x00309e0e, 0x0030ae0e, 0x0030be0e, dd 0x0030ce0e, 0x0030de0e, 0x0030ee0e, 0x0030fe0e, dd 0x00310e0e, 0x00311e0e, 0x00312e0e, 0x00313e0e, dd 0x00314e0e, 0x00315e0e, 0x00316e0e, 0x00317e0e, dd 0x00318e0e, 0x00319e0e, 0x0031ae0e, 0x0031be0e, dd 0x0031ce0e, 0x0031de0e, 0x0031ee0e, 0x0031fe0e, dd 0x00320e0e, 0x00321e0e, 0x00322e0e, 0x00323e0e, dd 0x00324e0e, 0x00325e0e, 0x00326e0e, 0x00327e0e, dd 0x00328e0e, 0x00329e0e, 0x0032ae0e, 0x0032be0e, dd 0x0032ce0e, 0x0032de0e, 0x0032ee0e, 0x0032fe0e, dd 0x00330e0e, 0x00331e0e, 0x00332e0e, 0x00333e0e, dd 0x00334e0e, 0x00335e0e, 0x00336e0e, 0x00337e0e, dd 0x00338e0e, 0x00339e0e, 0x0033ae0e, 0x0033be0e, dd 0x0033ce0e, 0x0033de0e, 0x0033ee0e, 0x0033fe0e, dd 0x00340e0e, 0x00341e0e, 0x00342e0e, 0x00343e0e, dd 0x00344e0e, 0x00345e0e, 0x00346e0e, 0x00347e0e, dd 0x00348e0e, 0x00349e0e, 0x0034ae0e, 0x0034be0e, dd 0x0034ce0e, 0x0034de0e, 0x0034ee0e, 0x0034fe0e, dd 0x00350e0e, 0x00351e0e, 0x00352e0e, 0x00353e0e, dd 0x00354e0e, 0x00355e0e, 0x00356e0e, 0x00357e0e, dd 0x00358e0e, 0x00359e0e, 0x0035ae0e, 0x0035be0e, dd 0x0035ce0e, 0x0035de0e, 0x0035ee0e, 0x0035fe0e, dd 0x00360e0e, 0x00361e0e, 0x00362e0e, 0x00363e0e, dd 0x00364e0e, 0x00365e0e, 0x00366e0e, 0x00367e0e, dd 0x00368e0e, 0x00369e0e, 0x0036ae0e, 0x0036be0e, dd 0x0036ce0e, 0x0036de0e, 0x0036ee0e, 0x0036fe0e, dd 0x00370e0e, 0x00371e0e, 0x00372e0e, 0x00373e0e, dd 0x00374e0e, 0x00375e0e, 0x00376e0e, 0x00377e0e, dd 0x00378e0e, 0x00379e0e, 0x0037ae0e, 0x0037be0e, dd 0x0037ce0e, 0x0037de0e, 0x0037ee0e, 0x0037fe0e, dd 0x00380e0e, 0x00381e0e, 0x00382e0e, 0x00383e0e, dd 0x00384e0e, 0x00385e0e, 0x00386e0e, 0x00387e0e, dd 0x00388e0e, 0x00389e0e, 0x0038ae0e, 0x0038be0e, dd 0x0038ce0e, 0x0038de0e, 0x0038ee0e, 0x0038fe0e, dd 0x00390e0e, 0x00391e0e, 0x00392e0e, 0x00393e0e, dd 0x00394e0e, 0x00395e0e, 0x00396e0e, 0x00397e0e, dd 0x00398e0e, 0x00399e0e, 0x0039ae0e, 0x0039be0e, dd 0x0039ce0e, 0x0039de0e, 0x0039ee0e, 0x0039fe0e, dd 0x003a0e0e, 0x003a1e0e, 0x003a2e0e, 0x003a3e0e, dd 0x003a4e0e, 0x003a5e0e, 0x003a6e0e, 0x003a7e0e, dd 0x003a8e0e, 0x003a9e0e, 0x003aae0e, 0x003abe0e, dd 0x003ace0e, 0x003ade0e, 0x003aee0e, 0x003afe0e, dd 0x003b0e0e, 0x003b1e0e, 0x003b2e0e, 0x003b3e0e, dd 0x003b4e0e, 0x003b5e0e, 0x003b6e0e, 0x003b7e0e, dd 0x003b8e0e, 0x003b9e0e, 0x003bae0e, 0x003bbe0e, dd 0x003bce0e, 0x003bde0e, 0x003bee0e, 0x003bfe0e, dd 0x003c0e0e, 0x003c1e0e, 0x003c2e0e, 0x003c3e0e, dd 0x003c4e0e, 0x003c5e0e, 0x003c6e0e, 0x003c7e0e, dd 0x003c8e0e, 0x003c9e0e, 0x003cae0e, 0x003cbe0e, dd 0x003cce0e, 0x003cde0e, 0x003cee0e, 0x003cfe0e, dd 0x003d0e0e, 0x003d1e0e, 0x003d2e0e, 0x003d3e0e, dd 0x003d4e0e, 0x003d5e0e, 0x003d6e0e, 0x003d7e0e, dd 0x003d8e0e, 0x003d9e0e, 0x003dae0e, 0x003dbe0e, dd 0x003dce0e, 0x003dde0e, 0x003dee0e, 0x003dfe0e, dd 0x003e0e0e, 0x003e1e0e, 0x003e2e0e, 0x003e3e0e, dd 0x003e4e0e, 0x003e5e0e, 0x003e6e0e, 0x003e7e0e, dd 0x003e8e0e, 0x003e9e0e, 0x003eae0e, 0x003ebe0e, dd 0x003ece0e, 0x003ede0e, 0x003eee0e, 0x003efe0e, dd 0x003f0e0e, 0x003f1e0e, 0x003f2e0e, 0x003f3e0e, dd 0x003f4e0e, 0x003f5e0e, 0x003f6e0e, 0x003f7e0e, dd 0x003f8e0e, 0x003f9e0e, 0x003fae0e, 0x003fbe0e, dd 0x003fce0e, 0x003fde0e, 0x003fee0e, 0x003ffe0e, dd 0x00001b0f, 0x00003b0f, 0x00005b0f, 0x00007b0f, dd 0x00009b0f, 0x0000bb0f, 0x0000db0f, 0x0000fb0f, dd 0x00011b0f, 0x00013b0f, 0x00015b0f, 0x00017b0f, dd 0x00019b0f, 0x0001bb0f, 0x0001db0f, 0x0001fb0f, dd 0x00021b0f, 0x00023b0f, 0x00025b0f, 0x00027b0f, dd 0x00029b0f, 0x0002bb0f, 0x0002db0f, 0x0002fb0f, dd 0x00031b0f, 0x00033b0f, 0x00035b0f, 0x00037b0f, dd 0x00039b0f, 0x0003bb0f, 0x0003db0f, 0x0003fb0f, dd 0x00041b0f, 0x00043b0f, 0x00045b0f, 0x00047b0f, dd 0x00049b0f, 0x0004bb0f, 0x0004db0f, 0x0004fb0f, dd 0x00051b0f, 0x00053b0f, 0x00055b0f, 0x00057b0f, dd 0x00059b0f, 0x0005bb0f, 0x0005db0f, 0x0005fb0f, dd 0x00061b0f, 0x00063b0f, 0x00065b0f, 0x00067b0f, dd 0x00069b0f, 0x0006bb0f, 0x0006db0f, 0x0006fb0f, dd 0x00071b0f, 0x00073b0f, 0x00075b0f, 0x00077b0f, dd 0x00079b0f, 0x0007bb0f, 0x0007db0f, 0x0007fb0f, dd 0x00081b0f, 0x00083b0f, 0x00085b0f, 0x00087b0f, dd 0x00089b0f, 0x0008bb0f, 0x0008db0f, 0x0008fb0f, dd 0x00091b0f, 0x00093b0f, 0x00095b0f, 0x00097b0f, dd 0x00099b0f, 0x0009bb0f, 0x0009db0f, 0x0009fb0f, dd 0x000a1b0f, 0x000a3b0f, 0x000a5b0f, 0x000a7b0f, dd 0x000a9b0f, 0x000abb0f, 0x000adb0f, 0x000afb0f, dd 0x000b1b0f, 0x000b3b0f, 0x000b5b0f, 0x000b7b0f, dd 0x000b9b0f, 0x000bbb0f, 0x000bdb0f, 0x000bfb0f, dd 0x000c1b0f, 0x000c3b0f, 0x000c5b0f, 0x000c7b0f, dd 0x000c9b0f, 0x000cbb0f, 0x000cdb0f, 0x000cfb0f, dd 0x000d1b0f, 0x000d3b0f, 0x000d5b0f, 0x000d7b0f, dd 0x000d9b0f, 0x000dbb0f, 0x000ddb0f, 0x000dfb0f, dd 0x000e1b0f, 0x000e3b0f, 0x000e5b0f, 0x000e7b0f, dd 0x000e9b0f, 0x000ebb0f, 0x000edb0f, 0x000efb0f, dd 0x000f1b0f, 0x000f3b0f, 0x000f5b0f, 0x000f7b0f, dd 0x000f9b0f, 0x000fbb0f, 0x000fdb0f, 0x000ffb0f, dd 0x00101b0f, 0x00103b0f, 0x00105b0f, 0x00107b0f, dd 0x00109b0f, 0x0010bb0f, 0x0010db0f, 0x0010fb0f, dd 0x00111b0f, 0x00113b0f, 0x00115b0f, 0x00117b0f, dd 0x00119b0f, 0x0011bb0f, 0x0011db0f, 0x0011fb0f, dd 0x00121b0f, 0x00123b0f, 0x00125b0f, 0x00127b0f, dd 0x00129b0f, 0x0012bb0f, 0x0012db0f, 0x0012fb0f, dd 0x00131b0f, 0x00133b0f, 0x00135b0f, 0x00137b0f, dd 0x00139b0f, 0x0013bb0f, 0x0013db0f, 0x0013fb0f, dd 0x00141b0f, 0x00143b0f, 0x00145b0f, 0x00147b0f, dd 0x00149b0f, 0x0014bb0f, 0x0014db0f, 0x0014fb0f, dd 0x00151b0f, 0x00153b0f, 0x00155b0f, 0x00157b0f, dd 0x00159b0f, 0x0015bb0f, 0x0015db0f, 0x0015fb0f, dd 0x00161b0f, 0x00163b0f, 0x00165b0f, 0x00167b0f, dd 0x00169b0f, 0x0016bb0f, 0x0016db0f, 0x0016fb0f, dd 0x00171b0f, 0x00173b0f, 0x00175b0f, 0x00177b0f, dd 0x00179b0f, 0x0017bb0f, 0x0017db0f, 0x0017fb0f, dd 0x00181b0f, 0x00183b0f, 0x00185b0f, 0x00187b0f, dd 0x00189b0f, 0x0018bb0f, 0x0018db0f, 0x0018fb0f, dd 0x00191b0f, 0x00193b0f, 0x00195b0f, 0x00197b0f, dd 0x00199b0f, 0x0019bb0f, 0x0019db0f, 0x0019fb0f, dd 0x001a1b0f, 0x001a3b0f, 0x001a5b0f, 0x001a7b0f, dd 0x001a9b0f, 0x001abb0f, 0x001adb0f, 0x001afb0f, dd 0x001b1b0f, 0x001b3b0f, 0x001b5b0f, 0x001b7b0f, dd 0x001b9b0f, 0x001bbb0f, 0x001bdb0f, 0x001bfb0f, dd 0x001c1b0f, 0x001c3b0f, 0x001c5b0f, 0x001c7b0f, dd 0x001c9b0f, 0x001cbb0f, 0x001cdb0f, 0x001cfb0f, dd 0x001d1b0f, 0x001d3b0f, 0x001d5b0f, 0x001d7b0f, dd 0x001d9b0f, 0x001dbb0f, 0x001ddb0f, 0x001dfb0f, dd 0x001e1b0f, 0x001e3b0f, 0x001e5b0f, 0x001e7b0f, dd 0x001e9b0f, 0x001ebb0f, 0x001edb0f, 0x001efb0f, dd 0x001f1b0f, 0x001f3b0f, 0x001f5b0f, 0x001f7b0f, dd 0x001f9b0f, 0x001fbb0f, 0x001fdb0f, 0x001ffb0f, dd 0x00201b0f, 0x00203b0f, 0x00205b0f, 0x00207b0f, dd 0x00209b0f, 0x0020bb0f, 0x0020db0f, 0x0020fb0f, dd 0x00211b0f, 0x00213b0f, 0x00215b0f, 0x00217b0f, dd 0x00219b0f, 0x0021bb0f, 0x0021db0f, 0x0021fb0f, dd 0x00221b0f, 0x00223b0f, 0x00225b0f, 0x00227b0f, dd 0x00229b0f, 0x0022bb0f, 0x0022db0f, 0x0022fb0f, dd 0x00231b0f, 0x00233b0f, 0x00235b0f, 0x00237b0f, dd 0x00239b0f, 0x0023bb0f, 0x0023db0f, 0x0023fb0f, dd 0x00241b0f, 0x00243b0f, 0x00245b0f, 0x00247b0f, dd 0x00249b0f, 0x0024bb0f, 0x0024db0f, 0x0024fb0f, dd 0x00251b0f, 0x00253b0f, 0x00255b0f, 0x00257b0f, dd 0x00259b0f, 0x0025bb0f, 0x0025db0f, 0x0025fb0f, dd 0x00261b0f, 0x00263b0f, 0x00265b0f, 0x00267b0f, dd 0x00269b0f, 0x0026bb0f, 0x0026db0f, 0x0026fb0f, dd 0x00271b0f, 0x00273b0f, 0x00275b0f, 0x00277b0f, dd 0x00279b0f, 0x0027bb0f, 0x0027db0f, 0x0027fb0f, dd 0x00281b0f, 0x00283b0f, 0x00285b0f, 0x00287b0f, dd 0x00289b0f, 0x0028bb0f, 0x0028db0f, 0x0028fb0f, dd 0x00291b0f, 0x00293b0f, 0x00295b0f, 0x00297b0f, dd 0x00299b0f, 0x0029bb0f, 0x0029db0f, 0x0029fb0f, dd 0x002a1b0f, 0x002a3b0f, 0x002a5b0f, 0x002a7b0f, dd 0x002a9b0f, 0x002abb0f, 0x002adb0f, 0x002afb0f, dd 0x002b1b0f, 0x002b3b0f, 0x002b5b0f, 0x002b7b0f, dd 0x002b9b0f, 0x002bbb0f, 0x002bdb0f, 0x002bfb0f, dd 0x002c1b0f, 0x002c3b0f, 0x002c5b0f, 0x002c7b0f, dd 0x002c9b0f, 0x002cbb0f, 0x002cdb0f, 0x002cfb0f, dd 0x002d1b0f, 0x002d3b0f, 0x002d5b0f, 0x002d7b0f, dd 0x002d9b0f, 0x002dbb0f, 0x002ddb0f, 0x002dfb0f, dd 0x002e1b0f, 0x002e3b0f, 0x002e5b0f, 0x002e7b0f, dd 0x002e9b0f, 0x002ebb0f, 0x002edb0f, 0x002efb0f, dd 0x002f1b0f, 0x002f3b0f, 0x002f5b0f, 0x002f7b0f, dd 0x002f9b0f, 0x002fbb0f, 0x002fdb0f, 0x002ffb0f, dd 0x00301b0f, 0x00303b0f, 0x00305b0f, 0x00307b0f, dd 0x00309b0f, 0x0030bb0f, 0x0030db0f, 0x0030fb0f, dd 0x00311b0f, 0x00313b0f, 0x00315b0f, 0x00317b0f, dd 0x00319b0f, 0x0031bb0f, 0x0031db0f, 0x0031fb0f, dd 0x00321b0f, 0x00323b0f, 0x00325b0f, 0x00327b0f, dd 0x00329b0f, 0x0032bb0f, 0x0032db0f, 0x0032fb0f, dd 0x00331b0f, 0x00333b0f, 0x00335b0f, 0x00337b0f, dd 0x00339b0f, 0x0033bb0f, 0x0033db0f, 0x0033fb0f, dd 0x00341b0f, 0x00343b0f, 0x00345b0f, 0x00347b0f, dd 0x00349b0f, 0x0034bb0f, 0x0034db0f, 0x0034fb0f, dd 0x00351b0f, 0x00353b0f, 0x00355b0f, 0x00357b0f, dd 0x00359b0f, 0x0035bb0f, 0x0035db0f, 0x0035fb0f, dd 0x00361b0f, 0x00363b0f, 0x00365b0f, 0x00367b0f, dd 0x00369b0f, 0x0036bb0f, 0x0036db0f, 0x0036fb0f, dd 0x00371b0f, 0x00373b0f, 0x00375b0f, 0x00377b0f, dd 0x00379b0f, 0x0037bb0f, 0x0037db0f, 0x0037fb0f, dd 0x00381b0f, 0x00383b0f, 0x00385b0f, 0x00387b0f, dd 0x00389b0f, 0x0038bb0f, 0x0038db0f, 0x0038fb0f, dd 0x00391b0f, 0x00393b0f, 0x00395b0f, 0x00397b0f, dd 0x00399b0f, 0x0039bb0f, 0x0039db0f, 0x0039fb0f, dd 0x003a1b0f, 0x003a3b0f, 0x003a5b0f, 0x003a7b0f, dd 0x003a9b0f, 0x003abb0f, 0x003adb0f, 0x003afb0f, dd 0x003b1b0f, 0x003b3b0f, 0x003b5b0f, 0x003b7b0f, dd 0x003b9b0f, 0x003bbb0f, 0x003bdb0f, 0x003bfb0f, dd 0x003c1b0f, 0x003c3b0f, 0x003c5b0f, 0x003c7b0f, dd 0x003c9b0f, 0x003cbb0f, 0x003cdb0f, 0x003cfb0f, dd 0x003d1b0f, 0x003d3b0f, 0x003d5b0f, 0x003d7b0f, dd 0x003d9b0f, 0x003dbb0f, 0x003ddb0f, 0x003dfb0f, dd 0x003e1b0f, 0x003e3b0f, 0x003e5b0f, 0x003e7b0f, dd 0x003e9b0f, 0x003ebb0f, 0x003edb0f, 0x003efb0f, dd 0x003f1b0f, 0x003f3b0f, 0x003f5b0f, 0x003f7b0f, dd 0x003f9b0f, 0x003fbb0f, 0x003fdb0f, 0x003ffb0f, dd 0x00401b0f, 0x00403b0f, 0x00405b0f, 0x00407b0f, dd 0x00409b0f, 0x0040bb0f, 0x0040db0f, 0x0040fb0f, dd 0x00411b0f, 0x00413b0f, 0x00415b0f, 0x00417b0f, dd 0x00419b0f, 0x0041bb0f, 0x0041db0f, 0x0041fb0f, dd 0x00421b0f, 0x00423b0f, 0x00425b0f, 0x00427b0f, dd 0x00429b0f, 0x0042bb0f, 0x0042db0f, 0x0042fb0f, dd 0x00431b0f, 0x00433b0f, 0x00435b0f, 0x00437b0f, dd 0x00439b0f, 0x0043bb0f, 0x0043db0f, 0x0043fb0f, dd 0x00441b0f, 0x00443b0f, 0x00445b0f, 0x00447b0f, dd 0x00449b0f, 0x0044bb0f, 0x0044db0f, 0x0044fb0f, dd 0x00451b0f, 0x00453b0f, 0x00455b0f, 0x00457b0f, dd 0x00459b0f, 0x0045bb0f, 0x0045db0f, 0x0045fb0f, dd 0x00461b0f, 0x00463b0f, 0x00465b0f, 0x00467b0f, dd 0x00469b0f, 0x0046bb0f, 0x0046db0f, 0x0046fb0f, dd 0x00471b0f, 0x00473b0f, 0x00475b0f, 0x00477b0f, dd 0x00479b0f, 0x0047bb0f, 0x0047db0f, 0x0047fb0f, dd 0x00481b0f, 0x00483b0f, 0x00485b0f, 0x00487b0f, dd 0x00489b0f, 0x0048bb0f, 0x0048db0f, 0x0048fb0f, dd 0x00491b0f, 0x00493b0f, 0x00495b0f, 0x00497b0f, dd 0x00499b0f, 0x0049bb0f, 0x0049db0f, 0x0049fb0f, dd 0x004a1b0f, 0x004a3b0f, 0x004a5b0f, 0x004a7b0f, dd 0x004a9b0f, 0x004abb0f, 0x004adb0f, 0x004afb0f, dd 0x004b1b0f, 0x004b3b0f, 0x004b5b0f, 0x004b7b0f, dd 0x004b9b0f, 0x004bbb0f, 0x004bdb0f, 0x004bfb0f, dd 0x004c1b0f, 0x004c3b0f, 0x004c5b0f, 0x004c7b0f, dd 0x004c9b0f, 0x004cbb0f, 0x004cdb0f, 0x004cfb0f, dd 0x004d1b0f, 0x004d3b0f, 0x004d5b0f, 0x004d7b0f, dd 0x004d9b0f, 0x004dbb0f, 0x004ddb0f, 0x004dfb0f, dd 0x004e1b0f, 0x004e3b0f, 0x004e5b0f, 0x004e7b0f, dd 0x004e9b0f, 0x004ebb0f, 0x004edb0f, 0x004efb0f, dd 0x004f1b0f, 0x004f3b0f, 0x004f5b0f, 0x004f7b0f, dd 0x004f9b0f, 0x004fbb0f, 0x004fdb0f, 0x004ffb0f, dd 0x00501b0f, 0x00503b0f, 0x00505b0f, 0x00507b0f, dd 0x00509b0f, 0x0050bb0f, 0x0050db0f, 0x0050fb0f, dd 0x00511b0f, 0x00513b0f, 0x00515b0f, 0x00517b0f, dd 0x00519b0f, 0x0051bb0f, 0x0051db0f, 0x0051fb0f, dd 0x00521b0f, 0x00523b0f, 0x00525b0f, 0x00527b0f, dd 0x00529b0f, 0x0052bb0f, 0x0052db0f, 0x0052fb0f, dd 0x00531b0f, 0x00533b0f, 0x00535b0f, 0x00537b0f, dd 0x00539b0f, 0x0053bb0f, 0x0053db0f, 0x0053fb0f, dd 0x00541b0f, 0x00543b0f, 0x00545b0f, 0x00547b0f, dd 0x00549b0f, 0x0054bb0f, 0x0054db0f, 0x0054fb0f, dd 0x00551b0f, 0x00553b0f, 0x00555b0f, 0x00557b0f, dd 0x00559b0f, 0x0055bb0f, 0x0055db0f, 0x0055fb0f, dd 0x00561b0f, 0x00563b0f, 0x00565b0f, 0x00567b0f, dd 0x00569b0f, 0x0056bb0f, 0x0056db0f, 0x0056fb0f, dd 0x00571b0f, 0x00573b0f, 0x00575b0f, 0x00577b0f, dd 0x00579b0f, 0x0057bb0f, 0x0057db0f, 0x0057fb0f, dd 0x00581b0f, 0x00583b0f, 0x00585b0f, 0x00587b0f, dd 0x00589b0f, 0x0058bb0f, 0x0058db0f, 0x0058fb0f, dd 0x00591b0f, 0x00593b0f, 0x00595b0f, 0x00597b0f, dd 0x00599b0f, 0x0059bb0f, 0x0059db0f, 0x0059fb0f, dd 0x005a1b0f, 0x005a3b0f, 0x005a5b0f, 0x005a7b0f, dd 0x005a9b0f, 0x005abb0f, 0x005adb0f, 0x005afb0f, dd 0x005b1b0f, 0x005b3b0f, 0x005b5b0f, 0x005b7b0f, dd 0x005b9b0f, 0x005bbb0f, 0x005bdb0f, 0x005bfb0f, dd 0x005c1b0f, 0x005c3b0f, 0x005c5b0f, 0x005c7b0f, dd 0x005c9b0f, 0x005cbb0f, 0x005cdb0f, 0x005cfb0f, dd 0x005d1b0f, 0x005d3b0f, 0x005d5b0f, 0x005d7b0f, dd 0x005d9b0f, 0x005dbb0f, 0x005ddb0f, 0x005dfb0f, dd 0x005e1b0f, 0x005e3b0f, 0x005e5b0f, 0x005e7b0f, dd 0x005e9b0f, 0x005ebb0f, 0x005edb0f, 0x005efb0f, dd 0x005f1b0f, 0x005f3b0f, 0x005f5b0f, 0x005f7b0f, dd 0x005f9b0f, 0x005fbb0f, 0x005fdb0f, 0x005ffb0f, dd 0x00601b0f, 0x00603b0f, 0x00605b0f, 0x00607b0f, dd 0x00609b0f, 0x0060bb0f, 0x0060db0f, 0x0060fb0f, dd 0x00611b0f, 0x00613b0f, 0x00615b0f, 0x00617b0f, dd 0x00619b0f, 0x0061bb0f, 0x0061db0f, 0x0061fb0f, dd 0x00621b0f, 0x00623b0f, 0x00625b0f, 0x00627b0f, dd 0x00629b0f, 0x0062bb0f, 0x0062db0f, 0x0062fb0f, dd 0x00631b0f, 0x00633b0f, 0x00635b0f, 0x00637b0f, dd 0x00639b0f, 0x0063bb0f, 0x0063db0f, 0x0063fb0f, dd 0x00641b0f, 0x00643b0f, 0x00645b0f, 0x00647b0f, dd 0x00649b0f, 0x0064bb0f, 0x0064db0f, 0x0064fb0f, dd 0x00651b0f, 0x00653b0f, 0x00655b0f, 0x00657b0f, dd 0x00659b0f, 0x0065bb0f, 0x0065db0f, 0x0065fb0f, dd 0x00661b0f, 0x00663b0f, 0x00665b0f, 0x00667b0f, dd 0x00669b0f, 0x0066bb0f, 0x0066db0f, 0x0066fb0f, dd 0x00671b0f, 0x00673b0f, 0x00675b0f, 0x00677b0f, dd 0x00679b0f, 0x0067bb0f, 0x0067db0f, 0x0067fb0f, dd 0x00681b0f, 0x00683b0f, 0x00685b0f, 0x00687b0f, dd 0x00689b0f, 0x0068bb0f, 0x0068db0f, 0x0068fb0f, dd 0x00691b0f, 0x00693b0f, 0x00695b0f, 0x00697b0f, dd 0x00699b0f, 0x0069bb0f, 0x0069db0f, 0x0069fb0f, dd 0x006a1b0f, 0x006a3b0f, 0x006a5b0f, 0x006a7b0f, dd 0x006a9b0f, 0x006abb0f, 0x006adb0f, 0x006afb0f, dd 0x006b1b0f, 0x006b3b0f, 0x006b5b0f, 0x006b7b0f, dd 0x006b9b0f, 0x006bbb0f, 0x006bdb0f, 0x006bfb0f, dd 0x006c1b0f, 0x006c3b0f, 0x006c5b0f, 0x006c7b0f, dd 0x006c9b0f, 0x006cbb0f, 0x006cdb0f, 0x006cfb0f, dd 0x006d1b0f, 0x006d3b0f, 0x006d5b0f, 0x006d7b0f, dd 0x006d9b0f, 0x006dbb0f, 0x006ddb0f, 0x006dfb0f, dd 0x006e1b0f, 0x006e3b0f, 0x006e5b0f, 0x006e7b0f, dd 0x006e9b0f, 0x006ebb0f, 0x006edb0f, 0x006efb0f, dd 0x006f1b0f, 0x006f3b0f, 0x006f5b0f, 0x006f7b0f, dd 0x006f9b0f, 0x006fbb0f, 0x006fdb0f, 0x006ffb0f, dd 0x00701b0f, 0x00703b0f, 0x00705b0f, 0x00707b0f, dd 0x00709b0f, 0x0070bb0f, 0x0070db0f, 0x0070fb0f, dd 0x00711b0f, 0x00713b0f, 0x00715b0f, 0x00717b0f, dd 0x00719b0f, 0x0071bb0f, 0x0071db0f, 0x0071fb0f, dd 0x00721b0f, 0x00723b0f, 0x00725b0f, 0x00727b0f, dd 0x00729b0f, 0x0072bb0f, 0x0072db0f, 0x0072fb0f, dd 0x00731b0f, 0x00733b0f, 0x00735b0f, 0x00737b0f, dd 0x00739b0f, 0x0073bb0f, 0x0073db0f, 0x0073fb0f, dd 0x00741b0f, 0x00743b0f, 0x00745b0f, 0x00747b0f, dd 0x00749b0f, 0x0074bb0f, 0x0074db0f, 0x0074fb0f, dd 0x00751b0f, 0x00753b0f, 0x00755b0f, 0x00757b0f, dd 0x00759b0f, 0x0075bb0f, 0x0075db0f, 0x0075fb0f, dd 0x00761b0f, 0x00763b0f, 0x00765b0f, 0x00767b0f, dd 0x00769b0f, 0x0076bb0f, 0x0076db0f, 0x0076fb0f, dd 0x00771b0f, 0x00773b0f, 0x00775b0f, 0x00777b0f, dd 0x00779b0f, 0x0077bb0f, 0x0077db0f, 0x0077fb0f, dd 0x00781b0f, 0x00783b0f, 0x00785b0f, 0x00787b0f, dd 0x00789b0f, 0x0078bb0f, 0x0078db0f, 0x0078fb0f, dd 0x00791b0f, 0x00793b0f, 0x00795b0f, 0x00797b0f, dd 0x00799b0f, 0x0079bb0f, 0x0079db0f, 0x0079fb0f, dd 0x007a1b0f, 0x007a3b0f, 0x007a5b0f, 0x007a7b0f, dd 0x007a9b0f, 0x007abb0f, 0x007adb0f, 0x007afb0f, dd 0x007b1b0f, 0x007b3b0f, 0x007b5b0f, 0x007b7b0f, dd 0x007b9b0f, 0x007bbb0f, 0x007bdb0f, 0x007bfb0f, dd 0x007c1b0f, 0x007c3b0f, 0x007c5b0f, 0x007c7b0f, dd 0x007c9b0f, 0x007cbb0f, 0x007cdb0f, 0x007cfb0f, dd 0x007d1b0f, 0x007d3b0f, 0x007d5b0f, 0x007d7b0f, dd 0x007d9b0f, 0x007dbb0f, 0x007ddb0f, 0x007dfb0f, dd 0x007e1b0f, 0x007e3b0f, 0x007e5b0f, 0x007e7b0f, dd 0x007e9b0f, 0x007ebb0f, 0x007edb0f, 0x007efb0f, dd 0x007f1b0f, 0x007f3b0f, 0x007f5b0f, 0x007f7b0f, dd 0x007f9b0f, 0x007fbb0f, 0x007fdb0f, 0x007ffb0f, dd 0x0000010f, 0x0000110f, 0x0000210f, 0x0000310f, dd 0x0000410f, 0x0000510f, 0x0000610f, 0x0000710f, dd 0x0000810f, 0x0000910f, 0x0000a10f, 0x0000b10f, dd 0x0000c10f, 0x0000d10f, 0x0000e10f, 0x0000f10f, dd 0x0001010f, 0x0001110f, 0x0001210f, 0x0001310f, dd 0x0001410f, 0x0001510f, 0x0001610f, 0x0001710f, dd 0x0001810f, 0x0001910f, 0x0001a10f, 0x0001b10f, dd 0x0001c10f, 0x0001d10f, 0x0001e10f, 0x0001f10f, dd 0x0002010f, 0x0002110f, 0x0002210f, 0x0002310f, dd 0x0002410f, 0x0002510f, 0x0002610f, 0x0002710f, dd 0x0002810f, 0x0002910f, 0x0002a10f, 0x0002b10f, dd 0x0002c10f, 0x0002d10f, 0x0002e10f, 0x0002f10f, dd 0x0003010f, 0x0003110f, 0x0003210f, 0x0003310f, dd 0x0003410f, 0x0003510f, 0x0003610f, 0x0003710f, dd 0x0003810f, 0x0003910f, 0x0003a10f, 0x0003b10f, dd 0x0003c10f, 0x0003d10f, 0x0003e10f, 0x0003f10f, dd 0x0004010f, 0x0004110f, 0x0004210f, 0x0004310f, dd 0x0004410f, 0x0004510f, 0x0004610f, 0x0004710f, dd 0x0004810f, 0x0004910f, 0x0004a10f, 0x0004b10f, dd 0x0004c10f, 0x0004d10f, 0x0004e10f, 0x0004f10f, dd 0x0005010f, 0x0005110f, 0x0005210f, 0x0005310f, dd 0x0005410f, 0x0005510f, 0x0005610f, 0x0005710f, dd 0x0005810f, 0x0005910f, 0x0005a10f, 0x0005b10f, dd 0x0005c10f, 0x0005d10f, 0x0005e10f, 0x0005f10f, dd 0x0006010f, 0x0006110f, 0x0006210f, 0x0006310f, dd 0x0006410f, 0x0006510f, 0x0006610f, 0x0006710f, dd 0x0006810f, 0x0006910f, 0x0006a10f, 0x0006b10f, dd 0x0006c10f, 0x0006d10f, 0x0006e10f, 0x0006f10f, dd 0x0007010f, 0x0007110f, 0x0007210f, 0x0007310f, dd 0x0007410f, 0x0007510f, 0x0007610f, 0x0007710f, dd 0x0007810f, 0x0007910f, 0x0007a10f, 0x0007b10f, dd 0x0007c10f, 0x0007d10f, 0x0007e10f, 0x0007f10f, dd 0x0008010f, 0x0008110f, 0x0008210f, 0x0008310f, dd 0x0008410f, 0x0008510f, 0x0008610f, 0x0008710f, dd 0x0008810f, 0x0008910f, 0x0008a10f, 0x0008b10f, dd 0x0008c10f, 0x0008d10f, 0x0008e10f, 0x0008f10f, dd 0x0009010f, 0x0009110f, 0x0009210f, 0x0009310f, dd 0x0009410f, 0x0009510f, 0x0009610f, 0x0009710f, dd 0x0009810f, 0x0009910f, 0x0009a10f, 0x0009b10f, dd 0x0009c10f, 0x0009d10f, 0x0009e10f, 0x0009f10f, dd 0x000a010f, 0x000a110f, 0x000a210f, 0x000a310f, dd 0x000a410f, 0x000a510f, 0x000a610f, 0x000a710f, dd 0x000a810f, 0x000a910f, 0x000aa10f, 0x000ab10f, dd 0x000ac10f, 0x000ad10f, 0x000ae10f, 0x000af10f, dd 0x000b010f, 0x000b110f, 0x000b210f, 0x000b310f, dd 0x000b410f, 0x000b510f, 0x000b610f, 0x000b710f, dd 0x000b810f, 0x000b910f, 0x000ba10f, 0x000bb10f, dd 0x000bc10f, 0x000bd10f, 0x000be10f, 0x000bf10f, dd 0x000c010f, 0x000c110f, 0x000c210f, 0x000c310f, dd 0x000c410f, 0x000c510f, 0x000c610f, 0x000c710f, dd 0x000c810f, 0x000c910f, 0x000ca10f, 0x000cb10f, dd 0x000cc10f, 0x000cd10f, 0x000ce10f, 0x000cf10f, dd 0x000d010f, 0x000d110f, 0x000d210f, 0x000d310f, dd 0x000d410f, 0x000d510f, 0x000d610f, 0x000d710f, dd 0x000d810f, 0x000d910f, 0x000da10f, 0x000db10f, dd 0x000dc10f, 0x000dd10f, 0x000de10f, 0x000df10f, dd 0x000e010f, 0x000e110f, 0x000e210f, 0x000e310f, dd 0x000e410f, 0x000e510f, 0x000e610f, 0x000e710f, dd 0x000e810f, 0x000e910f, 0x000ea10f, 0x000eb10f, dd 0x000ec10f, 0x000ed10f, 0x000ee10f, 0x000ef10f, dd 0x000f010f, 0x000f110f, 0x000f210f, 0x000f310f, dd 0x000f410f, 0x000f510f, 0x000f610f, 0x000f710f, dd 0x000f810f, 0x000f910f, 0x000fa10f, 0x000fb10f, dd 0x000fc10f, 0x000fd10f, 0x000fe10f, 0x000ff10f, dd 0x0010010f, 0x0010110f, 0x0010210f, 0x0010310f, dd 0x0010410f, 0x0010510f, 0x0010610f, 0x0010710f, dd 0x0010810f, 0x0010910f, 0x0010a10f, 0x0010b10f, dd 0x0010c10f, 0x0010d10f, 0x0010e10f, 0x0010f10f, dd 0x0011010f, 0x0011110f, 0x0011210f, 0x0011310f, dd 0x0011410f, 0x0011510f, 0x0011610f, 0x0011710f, dd 0x0011810f, 0x0011910f, 0x0011a10f, 0x0011b10f, dd 0x0011c10f, 0x0011d10f, 0x0011e10f, 0x0011f10f, dd 0x0012010f, 0x0012110f, 0x0012210f, 0x0012310f, dd 0x0012410f, 0x0012510f, 0x0012610f, 0x0012710f, dd 0x0012810f, 0x0012910f, 0x0012a10f, 0x0012b10f, dd 0x0012c10f, 0x0012d10f, 0x0012e10f, 0x0012f10f, dd 0x0013010f, 0x0013110f, 0x0013210f, 0x0013310f, dd 0x0013410f, 0x0013510f, 0x0013610f, 0x0013710f, dd 0x0013810f, 0x0013910f, 0x0013a10f, 0x0013b10f, dd 0x0013c10f, 0x0013d10f, 0x0013e10f, 0x0013f10f, dd 0x0014010f, 0x0014110f, 0x0014210f, 0x0014310f, dd 0x0014410f, 0x0014510f, 0x0014610f, 0x0014710f, dd 0x0014810f, 0x0014910f, 0x0014a10f, 0x0014b10f, dd 0x0014c10f, 0x0014d10f, 0x0014e10f, 0x0014f10f, dd 0x0015010f, 0x0015110f, 0x0015210f, 0x0015310f, dd 0x0015410f, 0x0015510f, 0x0015610f, 0x0015710f, dd 0x0015810f, 0x0015910f, 0x0015a10f, 0x0015b10f, dd 0x0015c10f, 0x0015d10f, 0x0015e10f, 0x0015f10f, dd 0x0016010f, 0x0016110f, 0x0016210f, 0x0016310f, dd 0x0016410f, 0x0016510f, 0x0016610f, 0x0016710f, dd 0x0016810f, 0x0016910f, 0x0016a10f, 0x0016b10f, dd 0x0016c10f, 0x0016d10f, 0x0016e10f, 0x0016f10f, dd 0x0017010f, 0x0017110f, 0x0017210f, 0x0017310f, dd 0x0017410f, 0x0017510f, 0x0017610f, 0x0017710f, dd 0x0017810f, 0x0017910f, 0x0017a10f, 0x0017b10f, dd 0x0017c10f, 0x0017d10f, 0x0017e10f, 0x0017f10f, dd 0x0018010f, 0x0018110f, 0x0018210f, 0x0018310f, dd 0x0018410f, 0x0018510f, 0x0018610f, 0x0018710f, dd 0x0018810f, 0x0018910f, 0x0018a10f, 0x0018b10f, dd 0x0018c10f, 0x0018d10f, 0x0018e10f, 0x0018f10f, dd 0x0019010f, 0x0019110f, 0x0019210f, 0x0019310f, dd 0x0019410f, 0x0019510f, 0x0019610f, 0x0019710f, dd 0x0019810f, 0x0019910f, 0x0019a10f, 0x0019b10f, dd 0x0019c10f, 0x0019d10f, 0x0019e10f, 0x0019f10f, dd 0x001a010f, 0x001a110f, 0x001a210f, 0x001a310f, dd 0x001a410f, 0x001a510f, 0x001a610f, 0x001a710f, dd 0x001a810f, 0x001a910f, 0x001aa10f, 0x001ab10f, dd 0x001ac10f, 0x001ad10f, 0x001ae10f, 0x001af10f, dd 0x001b010f, 0x001b110f, 0x001b210f, 0x001b310f, dd 0x001b410f, 0x001b510f, 0x001b610f, 0x001b710f, dd 0x001b810f, 0x001b910f, 0x001ba10f, 0x001bb10f, dd 0x001bc10f, 0x001bd10f, 0x001be10f, 0x001bf10f, dd 0x001c010f, 0x001c110f, 0x001c210f, 0x001c310f, dd 0x001c410f, 0x001c510f, 0x001c610f, 0x001c710f, dd 0x001c810f, 0x001c910f, 0x001ca10f, 0x001cb10f, dd 0x001cc10f, 0x001cd10f, 0x001ce10f, 0x001cf10f, dd 0x001d010f, 0x001d110f, 0x001d210f, 0x001d310f, dd 0x001d410f, 0x001d510f, 0x001d610f, 0x001d710f, dd 0x001d810f, 0x001d910f, 0x001da10f, 0x001db10f, dd 0x001dc10f, 0x001dd10f, 0x001de10f, 0x001df10f, dd 0x001e010f, 0x001e110f, 0x001e210f, 0x001e310f, dd 0x001e410f, 0x001e510f, 0x001e610f, 0x001e710f, dd 0x001e810f, 0x001e910f, 0x001ea10f, 0x001eb10f, dd 0x001ec10f, 0x001ed10f, 0x001ee10f, 0x001ef10f, dd 0x001f010f, 0x001f110f, 0x001f210f, 0x001f310f, dd 0x001f410f, 0x001f510f, 0x001f610f, 0x001f710f, dd 0x001f810f, 0x001f910f, 0x001fa10f, 0x001fb10f, dd 0x001fc10f, 0x001fd10f, 0x001fe10f, 0x001ff10f, dd 0x0020010f, 0x0020110f, 0x0020210f, 0x0020310f, dd 0x0020410f, 0x0020510f, 0x0020610f, 0x0020710f, dd 0x0020810f, 0x0020910f, 0x0020a10f, 0x0020b10f, dd 0x0020c10f, 0x0020d10f, 0x0020e10f, 0x0020f10f, dd 0x0021010f, 0x0021110f, 0x0021210f, 0x0021310f, dd 0x0021410f, 0x0021510f, 0x0021610f, 0x0021710f, dd 0x0021810f, 0x0021910f, 0x0021a10f, 0x0021b10f, dd 0x0021c10f, 0x0021d10f, 0x0021e10f, 0x0021f10f, dd 0x0022010f, 0x0022110f, 0x0022210f, 0x0022310f, dd 0x0022410f, 0x0022510f, 0x0022610f, 0x0022710f, dd 0x0022810f, 0x0022910f, 0x0022a10f, 0x0022b10f, dd 0x0022c10f, 0x0022d10f, 0x0022e10f, 0x0022f10f, dd 0x0023010f, 0x0023110f, 0x0023210f, 0x0023310f, dd 0x0023410f, 0x0023510f, 0x0023610f, 0x0023710f, dd 0x0023810f, 0x0023910f, 0x0023a10f, 0x0023b10f, dd 0x0023c10f, 0x0023d10f, 0x0023e10f, 0x0023f10f, dd 0x0024010f, 0x0024110f, 0x0024210f, 0x0024310f, dd 0x0024410f, 0x0024510f, 0x0024610f, 0x0024710f, dd 0x0024810f, 0x0024910f, 0x0024a10f, 0x0024b10f, dd 0x0024c10f, 0x0024d10f, 0x0024e10f, 0x0024f10f, dd 0x0025010f, 0x0025110f, 0x0025210f, 0x0025310f, dd 0x0025410f, 0x0025510f, 0x0025610f, 0x0025710f, dd 0x0025810f, 0x0025910f, 0x0025a10f, 0x0025b10f, dd 0x0025c10f, 0x0025d10f, 0x0025e10f, 0x0025f10f, dd 0x0026010f, 0x0026110f, 0x0026210f, 0x0026310f, dd 0x0026410f, 0x0026510f, 0x0026610f, 0x0026710f, dd 0x0026810f, 0x0026910f, 0x0026a10f, 0x0026b10f, dd 0x0026c10f, 0x0026d10f, 0x0026e10f, 0x0026f10f, dd 0x0027010f, 0x0027110f, 0x0027210f, 0x0027310f, dd 0x0027410f, 0x0027510f, 0x0027610f, 0x0027710f, dd 0x0027810f, 0x0027910f, 0x0027a10f, 0x0027b10f, dd 0x0027c10f, 0x0027d10f, 0x0027e10f, 0x0027f10f, dd 0x0028010f, 0x0028110f, 0x0028210f, 0x0028310f, dd 0x0028410f, 0x0028510f, 0x0028610f, 0x0028710f, dd 0x0028810f, 0x0028910f, 0x0028a10f, 0x0028b10f, dd 0x0028c10f, 0x0028d10f, 0x0028e10f, 0x0028f10f, dd 0x0029010f, 0x0029110f, 0x0029210f, 0x0029310f, dd 0x0029410f, 0x0029510f, 0x0029610f, 0x0029710f, dd 0x0029810f, 0x0029910f, 0x0029a10f, 0x0029b10f, dd 0x0029c10f, 0x0029d10f, 0x0029e10f, 0x0029f10f, dd 0x002a010f, 0x002a110f, 0x002a210f, 0x002a310f, dd 0x002a410f, 0x002a510f, 0x002a610f, 0x002a710f, dd 0x002a810f, 0x002a910f, 0x002aa10f, 0x002ab10f, dd 0x002ac10f, 0x002ad10f, 0x002ae10f, 0x002af10f, dd 0x002b010f, 0x002b110f, 0x002b210f, 0x002b310f, dd 0x002b410f, 0x002b510f, 0x002b610f, 0x002b710f, dd 0x002b810f, 0x002b910f, 0x002ba10f, 0x002bb10f, dd 0x002bc10f, 0x002bd10f, 0x002be10f, 0x002bf10f, dd 0x002c010f, 0x002c110f, 0x002c210f, 0x002c310f, dd 0x002c410f, 0x002c510f, 0x002c610f, 0x002c710f, dd 0x002c810f, 0x002c910f, 0x002ca10f, 0x002cb10f, dd 0x002cc10f, 0x002cd10f, 0x002ce10f, 0x002cf10f, dd 0x002d010f, 0x002d110f, 0x002d210f, 0x002d310f, dd 0x002d410f, 0x002d510f, 0x002d610f, 0x002d710f, dd 0x002d810f, 0x002d910f, 0x002da10f, 0x002db10f, dd 0x002dc10f, 0x002dd10f, 0x002de10f, 0x002df10f, dd 0x002e010f, 0x002e110f, 0x002e210f, 0x002e310f, dd 0x002e410f, 0x002e510f, 0x002e610f, 0x002e710f, dd 0x002e810f, 0x002e910f, 0x002ea10f, 0x002eb10f, dd 0x002ec10f, 0x002ed10f, 0x002ee10f, 0x002ef10f, dd 0x002f010f, 0x002f110f, 0x002f210f, 0x002f310f, dd 0x002f410f, 0x002f510f, 0x002f610f, 0x002f710f, dd 0x002f810f, 0x002f910f, 0x002fa10f, 0x002fb10f, dd 0x002fc10f, 0x002fd10f, 0x002fe10f, 0x002ff10f, dd 0x0030010f, 0x0030110f, 0x0030210f, 0x0030310f, dd 0x0030410f, 0x0030510f, 0x0030610f, 0x0030710f, dd 0x0030810f, 0x0030910f, 0x0030a10f, 0x0030b10f, dd 0x0030c10f, 0x0030d10f, 0x0030e10f, 0x0030f10f, dd 0x0031010f, 0x0031110f, 0x0031210f, 0x0031310f, dd 0x0031410f, 0x0031510f, 0x0031610f, 0x0031710f, dd 0x0031810f, 0x0031910f, 0x0031a10f, 0x0031b10f, dd 0x0031c10f, 0x0031d10f, 0x0031e10f, 0x0031f10f, dd 0x0032010f, 0x0032110f, 0x0032210f, 0x0032310f, dd 0x0032410f, 0x0032510f, 0x0032610f, 0x0032710f, dd 0x0032810f, 0x0032910f, 0x0032a10f, 0x0032b10f, dd 0x0032c10f, 0x0032d10f, 0x0032e10f, 0x0032f10f, dd 0x0033010f, 0x0033110f, 0x0033210f, 0x0033310f, dd 0x0033410f, 0x0033510f, 0x0033610f, 0x0033710f, dd 0x0033810f, 0x0033910f, 0x0033a10f, 0x0033b10f, dd 0x0033c10f, 0x0033d10f, 0x0033e10f, 0x0033f10f, dd 0x0034010f, 0x0034110f, 0x0034210f, 0x0034310f, dd 0x0034410f, 0x0034510f, 0x0034610f, 0x0034710f, dd 0x0034810f, 0x0034910f, 0x0034a10f, 0x0034b10f, dd 0x0034c10f, 0x0034d10f, 0x0034e10f, 0x0034f10f, dd 0x0035010f, 0x0035110f, 0x0035210f, 0x0035310f, dd 0x0035410f, 0x0035510f, 0x0035610f, 0x0035710f, dd 0x0035810f, 0x0035910f, 0x0035a10f, 0x0035b10f, dd 0x0035c10f, 0x0035d10f, 0x0035e10f, 0x0035f10f, dd 0x0036010f, 0x0036110f, 0x0036210f, 0x0036310f, dd 0x0036410f, 0x0036510f, 0x0036610f, 0x0036710f, dd 0x0036810f, 0x0036910f, 0x0036a10f, 0x0036b10f, dd 0x0036c10f, 0x0036d10f, 0x0036e10f, 0x0036f10f, dd 0x0037010f, 0x0037110f, 0x0037210f, 0x0037310f, dd 0x0037410f, 0x0037510f, 0x0037610f, 0x0037710f, dd 0x0037810f, 0x0037910f, 0x0037a10f, 0x0037b10f, dd 0x0037c10f, 0x0037d10f, 0x0037e10f, 0x0037f10f, dd 0x0038010f, 0x0038110f, 0x0038210f, 0x0038310f, dd 0x0038410f, 0x0038510f, 0x0038610f, 0x0038710f, dd 0x0038810f, 0x0038910f, 0x0038a10f, 0x0038b10f, dd 0x0038c10f, 0x0038d10f, 0x0038e10f, 0x0038f10f, dd 0x0039010f, 0x0039110f, 0x0039210f, 0x0039310f, dd 0x0039410f, 0x0039510f, 0x0039610f, 0x0039710f, dd 0x0039810f, 0x0039910f, 0x0039a10f, 0x0039b10f, dd 0x0039c10f, 0x0039d10f, 0x0039e10f, 0x0039f10f, dd 0x003a010f, 0x003a110f, 0x003a210f, 0x003a310f, dd 0x003a410f, 0x003a510f, 0x003a610f, 0x003a710f, dd 0x003a810f, 0x003a910f, 0x003aa10f, 0x003ab10f, dd 0x003ac10f, 0x003ad10f, 0x003ae10f, 0x003af10f, dd 0x003b010f, 0x003b110f, 0x003b210f, 0x003b310f, dd 0x003b410f, 0x003b510f, 0x003b610f, 0x003b710f, dd 0x003b810f, 0x003b910f, 0x003ba10f, 0x003bb10f, dd 0x003bc10f, 0x003bd10f, 0x003be10f, 0x003bf10f, dd 0x003c010f, 0x003c110f, 0x003c210f, 0x003c310f, dd 0x003c410f, 0x003c510f, 0x003c610f, 0x003c710f, dd 0x003c810f, 0x003c910f, 0x003ca10f, 0x003cb10f, dd 0x003cc10f, 0x003cd10f, 0x003ce10f, 0x003cf10f, dd 0x003d010f, 0x003d110f, 0x003d210f, 0x003d310f, dd 0x003d410f, 0x003d510f, 0x003d610f, 0x003d710f, dd 0x003d810f, 0x003d910f, 0x003da10f, 0x003db10f, dd 0x003dc10f, 0x003dd10f, 0x003de10f, 0x003df10f, dd 0x003e010f, 0x003e110f, 0x003e210f, 0x003e310f, dd 0x003e410f, 0x003e510f, 0x003e610f, 0x003e710f, dd 0x003e810f, 0x003e910f, 0x003ea10f, 0x003eb10f, dd 0x003ec10f, 0x003ed10f, 0x003ee10f, 0x003ef10f, dd 0x003f010f, 0x003f110f, 0x003f210f, 0x003f310f, dd 0x003f410f, 0x003f510f, 0x003f610f, 0x003f710f, dd 0x003f810f, 0x003f910f, 0x003fa10f, 0x003fb10f, dd 0x003fc10f, 0x003fd10f, 0x003fe10f, 0x003ff10f, dd 0x0040010f, 0x0040110f, 0x0040210f, 0x0040310f, dd 0x0040410f, 0x0040510f, 0x0040610f, 0x0040710f, dd 0x0040810f, 0x0040910f, 0x0040a10f, 0x0040b10f, dd 0x0040c10f, 0x0040d10f, 0x0040e10f, 0x0040f10f, dd 0x0041010f, 0x0041110f, 0x0041210f, 0x0041310f, dd 0x0041410f, 0x0041510f, 0x0041610f, 0x0041710f, dd 0x0041810f, 0x0041910f, 0x0041a10f, 0x0041b10f, dd 0x0041c10f, 0x0041d10f, 0x0041e10f, 0x0041f10f, dd 0x0042010f, 0x0042110f, 0x0042210f, 0x0042310f, dd 0x0042410f, 0x0042510f, 0x0042610f, 0x0042710f, dd 0x0042810f, 0x0042910f, 0x0042a10f, 0x0042b10f, dd 0x0042c10f, 0x0042d10f, 0x0042e10f, 0x0042f10f, dd 0x0043010f, 0x0043110f, 0x0043210f, 0x0043310f, dd 0x0043410f, 0x0043510f, 0x0043610f, 0x0043710f, dd 0x0043810f, 0x0043910f, 0x0043a10f, 0x0043b10f, dd 0x0043c10f, 0x0043d10f, 0x0043e10f, 0x0043f10f, dd 0x0044010f, 0x0044110f, 0x0044210f, 0x0044310f, dd 0x0044410f, 0x0044510f, 0x0044610f, 0x0044710f, dd 0x0044810f, 0x0044910f, 0x0044a10f, 0x0044b10f, dd 0x0044c10f, 0x0044d10f, 0x0044e10f, 0x0044f10f, dd 0x0045010f, 0x0045110f, 0x0045210f, 0x0045310f, dd 0x0045410f, 0x0045510f, 0x0045610f, 0x0045710f, dd 0x0045810f, 0x0045910f, 0x0045a10f, 0x0045b10f, dd 0x0045c10f, 0x0045d10f, 0x0045e10f, 0x0045f10f, dd 0x0046010f, 0x0046110f, 0x0046210f, 0x0046310f, dd 0x0046410f, 0x0046510f, 0x0046610f, 0x0046710f, dd 0x0046810f, 0x0046910f, 0x0046a10f, 0x0046b10f, dd 0x0046c10f, 0x0046d10f, 0x0046e10f, 0x0046f10f, dd 0x0047010f, 0x0047110f, 0x0047210f, 0x0047310f, dd 0x0047410f, 0x0047510f, 0x0047610f, 0x0047710f, dd 0x0047810f, 0x0047910f, 0x0047a10f, 0x0047b10f, dd 0x0047c10f, 0x0047d10f, 0x0047e10f, 0x0047f10f, dd 0x0048010f, 0x0048110f, 0x0048210f, 0x0048310f, dd 0x0048410f, 0x0048510f, 0x0048610f, 0x0048710f, dd 0x0048810f, 0x0048910f, 0x0048a10f, 0x0048b10f, dd 0x0048c10f, 0x0048d10f, 0x0048e10f, 0x0048f10f, dd 0x0049010f, 0x0049110f, 0x0049210f, 0x0049310f, dd 0x0049410f, 0x0049510f, 0x0049610f, 0x0049710f, dd 0x0049810f, 0x0049910f, 0x0049a10f, 0x0049b10f, dd 0x0049c10f, 0x0049d10f, 0x0049e10f, 0x0049f10f, dd 0x004a010f, 0x004a110f, 0x004a210f, 0x004a310f, dd 0x004a410f, 0x004a510f, 0x004a610f, 0x004a710f, dd 0x004a810f, 0x004a910f, 0x004aa10f, 0x004ab10f, dd 0x004ac10f, 0x004ad10f, 0x004ae10f, 0x004af10f, dd 0x004b010f, 0x004b110f, 0x004b210f, 0x004b310f, dd 0x004b410f, 0x004b510f, 0x004b610f, 0x004b710f, dd 0x004b810f, 0x004b910f, 0x004ba10f, 0x004bb10f, dd 0x004bc10f, 0x004bd10f, 0x004be10f, 0x004bf10f, dd 0x004c010f, 0x004c110f, 0x004c210f, 0x004c310f, dd 0x004c410f, 0x004c510f, 0x004c610f, 0x004c710f, dd 0x004c810f, 0x004c910f, 0x004ca10f, 0x004cb10f, dd 0x004cc10f, 0x004cd10f, 0x004ce10f, 0x004cf10f, dd 0x004d010f, 0x004d110f, 0x004d210f, 0x004d310f, dd 0x004d410f, 0x004d510f, 0x004d610f, 0x004d710f, dd 0x004d810f, 0x004d910f, 0x004da10f, 0x004db10f, dd 0x004dc10f, 0x004dd10f, 0x004de10f, 0x004df10f, dd 0x004e010f, 0x004e110f, 0x004e210f, 0x004e310f, dd 0x004e410f, 0x004e510f, 0x004e610f, 0x004e710f, dd 0x004e810f, 0x004e910f, 0x004ea10f, 0x004eb10f, dd 0x004ec10f, 0x004ed10f, 0x004ee10f, 0x004ef10f, dd 0x004f010f, 0x004f110f, 0x004f210f, 0x004f310f, dd 0x004f410f, 0x004f510f, 0x004f610f, 0x004f710f, dd 0x004f810f, 0x004f910f, 0x004fa10f, 0x004fb10f, dd 0x004fc10f, 0x004fd10f, 0x004fe10f, 0x004ff10f, dd 0x0050010f, 0x0050110f, 0x0050210f, 0x0050310f, dd 0x0050410f, 0x0050510f, 0x0050610f, 0x0050710f, dd 0x0050810f, 0x0050910f, 0x0050a10f, 0x0050b10f, dd 0x0050c10f, 0x0050d10f, 0x0050e10f, 0x0050f10f, dd 0x0051010f, 0x0051110f, 0x0051210f, 0x0051310f, dd 0x0051410f, 0x0051510f, 0x0051610f, 0x0051710f, dd 0x0051810f, 0x0051910f, 0x0051a10f, 0x0051b10f, dd 0x0051c10f, 0x0051d10f, 0x0051e10f, 0x0051f10f, dd 0x0052010f, 0x0052110f, 0x0052210f, 0x0052310f, dd 0x0052410f, 0x0052510f, 0x0052610f, 0x0052710f, dd 0x0052810f, 0x0052910f, 0x0052a10f, 0x0052b10f, dd 0x0052c10f, 0x0052d10f, 0x0052e10f, 0x0052f10f, dd 0x0053010f, 0x0053110f, 0x0053210f, 0x0053310f, dd 0x0053410f, 0x0053510f, 0x0053610f, 0x0053710f, dd 0x0053810f, 0x0053910f, 0x0053a10f, 0x0053b10f, dd 0x0053c10f, 0x0053d10f, 0x0053e10f, 0x0053f10f, dd 0x0054010f, 0x0054110f, 0x0054210f, 0x0054310f, dd 0x0054410f, 0x0054510f, 0x0054610f, 0x0054710f, dd 0x0054810f, 0x0054910f, 0x0054a10f, 0x0054b10f, dd 0x0054c10f, 0x0054d10f, 0x0054e10f, 0x0054f10f, dd 0x0055010f, 0x0055110f, 0x0055210f, 0x0055310f, dd 0x0055410f, 0x0055510f, 0x0055610f, 0x0055710f, dd 0x0055810f, 0x0055910f, 0x0055a10f, 0x0055b10f, dd 0x0055c10f, 0x0055d10f, 0x0055e10f, 0x0055f10f, dd 0x0056010f, 0x0056110f, 0x0056210f, 0x0056310f, dd 0x0056410f, 0x0056510f, 0x0056610f, 0x0056710f, dd 0x0056810f, 0x0056910f, 0x0056a10f, 0x0056b10f, dd 0x0056c10f, 0x0056d10f, 0x0056e10f, 0x0056f10f, dd 0x0057010f, 0x0057110f, 0x0057210f, 0x0057310f, dd 0x0057410f, 0x0057510f, 0x0057610f, 0x0057710f, dd 0x0057810f, 0x0057910f, 0x0057a10f, 0x0057b10f, dd 0x0057c10f, 0x0057d10f, 0x0057e10f, 0x0057f10f, dd 0x0058010f, 0x0058110f, 0x0058210f, 0x0058310f, dd 0x0058410f, 0x0058510f, 0x0058610f, 0x0058710f, dd 0x0058810f, 0x0058910f, 0x0058a10f, 0x0058b10f, dd 0x0058c10f, 0x0058d10f, 0x0058e10f, 0x0058f10f, dd 0x0059010f, 0x0059110f, 0x0059210f, 0x0059310f, dd 0x0059410f, 0x0059510f, 0x0059610f, 0x0059710f, dd 0x0059810f, 0x0059910f, 0x0059a10f, 0x0059b10f, dd 0x0059c10f, 0x0059d10f, 0x0059e10f, 0x0059f10f, dd 0x005a010f, 0x005a110f, 0x005a210f, 0x005a310f, dd 0x005a410f, 0x005a510f, 0x005a610f, 0x005a710f, dd 0x005a810f, 0x005a910f, 0x005aa10f, 0x005ab10f, dd 0x005ac10f, 0x005ad10f, 0x005ae10f, 0x005af10f, dd 0x005b010f, 0x005b110f, 0x005b210f, 0x005b310f, dd 0x005b410f, 0x005b510f, 0x005b610f, 0x005b710f, dd 0x005b810f, 0x005b910f, 0x005ba10f, 0x005bb10f, dd 0x005bc10f, 0x005bd10f, 0x005be10f, 0x005bf10f, dd 0x005c010f, 0x005c110f, 0x005c210f, 0x005c310f, dd 0x005c410f, 0x005c510f, 0x005c610f, 0x005c710f, dd 0x005c810f, 0x005c910f, 0x005ca10f, 0x005cb10f, dd 0x005cc10f, 0x005cd10f, 0x005ce10f, 0x005cf10f, dd 0x005d010f, 0x005d110f, 0x005d210f, 0x005d310f, dd 0x005d410f, 0x005d510f, 0x005d610f, 0x005d710f, dd 0x005d810f, 0x005d910f, 0x005da10f, 0x005db10f, dd 0x005dc10f, 0x005dd10f, 0x005de10f, 0x005df10f, dd 0x005e010f, 0x005e110f, 0x005e210f, 0x005e310f, dd 0x005e410f, 0x005e510f, 0x005e610f, 0x005e710f, dd 0x005e810f, 0x005e910f, 0x005ea10f, 0x005eb10f, dd 0x005ec10f, 0x005ed10f, 0x005ee10f, 0x005ef10f, dd 0x005f010f, 0x005f110f, 0x005f210f, 0x005f310f, dd 0x005f410f, 0x005f510f, 0x005f610f, 0x005f710f, dd 0x005f810f, 0x005f910f, 0x005fa10f, 0x005fb10f, dd 0x005fc10f, 0x005fd10f, 0x005fe10f, 0x005ff10f, dd 0x0060010f, 0x0060110f, 0x0060210f, 0x0060310f, dd 0x0060410f, 0x0060510f, 0x0060610f, 0x0060710f, dd 0x0060810f, 0x0060910f, 0x0060a10f, 0x0060b10f, dd 0x0060c10f, 0x0060d10f, 0x0060e10f, 0x0060f10f, dd 0x0061010f, 0x0061110f, 0x0061210f, 0x0061310f, dd 0x0061410f, 0x0061510f, 0x0061610f, 0x0061710f, dd 0x0061810f, 0x0061910f, 0x0061a10f, 0x0061b10f, dd 0x0061c10f, 0x0061d10f, 0x0061e10f, 0x0061f10f, dd 0x0062010f, 0x0062110f, 0x0062210f, 0x0062310f, dd 0x0062410f, 0x0062510f, 0x0062610f, 0x0062710f, dd 0x0062810f, 0x0062910f, 0x0062a10f, 0x0062b10f, dd 0x0062c10f, 0x0062d10f, 0x0062e10f, 0x0062f10f, dd 0x0063010f, 0x0063110f, 0x0063210f, 0x0063310f, dd 0x0063410f, 0x0063510f, 0x0063610f, 0x0063710f, dd 0x0063810f, 0x0063910f, 0x0063a10f, 0x0063b10f, dd 0x0063c10f, 0x0063d10f, 0x0063e10f, 0x0063f10f, dd 0x0064010f, 0x0064110f, 0x0064210f, 0x0064310f, dd 0x0064410f, 0x0064510f, 0x0064610f, 0x0064710f, dd 0x0064810f, 0x0064910f, 0x0064a10f, 0x0064b10f, dd 0x0064c10f, 0x0064d10f, 0x0064e10f, 0x0064f10f, dd 0x0065010f, 0x0065110f, 0x0065210f, 0x0065310f, dd 0x0065410f, 0x0065510f, 0x0065610f, 0x0065710f, dd 0x0065810f, 0x0065910f, 0x0065a10f, 0x0065b10f, dd 0x0065c10f, 0x0065d10f, 0x0065e10f, 0x0065f10f, dd 0x0066010f, 0x0066110f, 0x0066210f, 0x0066310f, dd 0x0066410f, 0x0066510f, 0x0066610f, 0x0066710f, dd 0x0066810f, 0x0066910f, 0x0066a10f, 0x0066b10f, dd 0x0066c10f, 0x0066d10f, 0x0066e10f, 0x0066f10f, dd 0x0067010f, 0x0067110f, 0x0067210f, 0x0067310f, dd 0x0067410f, 0x0067510f, 0x0067610f, 0x0067710f, dd 0x0067810f, 0x0067910f, 0x0067a10f, 0x0067b10f, dd 0x0067c10f, 0x0067d10f, 0x0067e10f, 0x0067f10f, dd 0x0068010f, 0x0068110f, 0x0068210f, 0x0068310f, dd 0x0068410f, 0x0068510f, 0x0068610f, 0x0068710f, dd 0x0068810f, 0x0068910f, 0x0068a10f, 0x0068b10f, dd 0x0068c10f, 0x0068d10f, 0x0068e10f, 0x0068f10f, dd 0x0069010f, 0x0069110f, 0x0069210f, 0x0069310f, dd 0x0069410f, 0x0069510f, 0x0069610f, 0x0069710f, dd 0x0069810f, 0x0069910f, 0x0069a10f, 0x0069b10f, dd 0x0069c10f, 0x0069d10f, 0x0069e10f, 0x0069f10f, dd 0x006a010f, 0x006a110f, 0x006a210f, 0x006a310f, dd 0x006a410f, 0x006a510f, 0x006a610f, 0x006a710f, dd 0x006a810f, 0x006a910f, 0x006aa10f, 0x006ab10f, dd 0x006ac10f, 0x006ad10f, 0x006ae10f, 0x006af10f, dd 0x006b010f, 0x006b110f, 0x006b210f, 0x006b310f, dd 0x006b410f, 0x006b510f, 0x006b610f, 0x006b710f, dd 0x006b810f, 0x006b910f, 0x006ba10f, 0x006bb10f, dd 0x006bc10f, 0x006bd10f, 0x006be10f, 0x006bf10f, dd 0x006c010f, 0x006c110f, 0x006c210f, 0x006c310f, dd 0x006c410f, 0x006c510f, 0x006c610f, 0x006c710f, dd 0x006c810f, 0x006c910f, 0x006ca10f, 0x006cb10f, dd 0x006cc10f, 0x006cd10f, 0x006ce10f, 0x006cf10f, dd 0x006d010f, 0x006d110f, 0x006d210f, 0x006d310f, dd 0x006d410f, 0x006d510f, 0x006d610f, 0x006d710f, dd 0x006d810f, 0x006d910f, 0x006da10f, 0x006db10f, dd 0x006dc10f, 0x006dd10f, 0x006de10f, 0x006df10f, dd 0x006e010f, 0x006e110f, 0x006e210f, 0x006e310f, dd 0x006e410f, 0x006e510f, 0x006e610f, 0x006e710f, dd 0x006e810f, 0x006e910f, 0x006ea10f, 0x006eb10f, dd 0x006ec10f, 0x006ed10f, 0x006ee10f, 0x006ef10f, dd 0x006f010f, 0x006f110f, 0x006f210f, 0x006f310f, dd 0x006f410f, 0x006f510f, 0x006f610f, 0x006f710f, dd 0x006f810f, 0x006f910f, 0x006fa10f, 0x006fb10f, dd 0x006fc10f, 0x006fd10f, 0x006fe10f, 0x006ff10f, dd 0x0070010f, 0x0070110f, 0x0070210f, 0x0070310f, dd 0x0070410f, 0x0070510f, 0x0070610f, 0x0070710f, dd 0x0070810f, 0x0070910f, 0x0070a10f, 0x0070b10f, dd 0x0070c10f, 0x0070d10f, 0x0070e10f, 0x0070f10f, dd 0x0071010f, 0x0071110f, 0x0071210f, 0x0071310f, dd 0x0071410f, 0x0071510f, 0x0071610f, 0x0071710f, dd 0x0071810f, 0x0071910f, 0x0071a10f, 0x0071b10f, dd 0x0071c10f, 0x0071d10f, 0x0071e10f, 0x0071f10f, dd 0x0072010f, 0x0072110f, 0x0072210f, 0x0072310f, dd 0x0072410f, 0x0072510f, 0x0072610f, 0x0072710f, dd 0x0072810f, 0x0072910f, 0x0072a10f, 0x0072b10f, dd 0x0072c10f, 0x0072d10f, 0x0072e10f, 0x0072f10f, dd 0x0073010f, 0x0073110f, 0x0073210f, 0x0073310f, dd 0x0073410f, 0x0073510f, 0x0073610f, 0x0073710f, dd 0x0073810f, 0x0073910f, 0x0073a10f, 0x0073b10f, dd 0x0073c10f, 0x0073d10f, 0x0073e10f, 0x0073f10f, dd 0x0074010f, 0x0074110f, 0x0074210f, 0x0074310f, dd 0x0074410f, 0x0074510f, 0x0074610f, 0x0074710f, dd 0x0074810f, 0x0074910f, 0x0074a10f, 0x0074b10f, dd 0x0074c10f, 0x0074d10f, 0x0074e10f, 0x0074f10f, dd 0x0075010f, 0x0075110f, 0x0075210f, 0x0075310f, dd 0x0075410f, 0x0075510f, 0x0075610f, 0x0075710f, dd 0x0075810f, 0x0075910f, 0x0075a10f, 0x0075b10f, dd 0x0075c10f, 0x0075d10f, 0x0075e10f, 0x0075f10f, dd 0x0076010f, 0x0076110f, 0x0076210f, 0x0076310f, dd 0x0076410f, 0x0076510f, 0x0076610f, 0x0076710f, dd 0x0076810f, 0x0076910f, 0x0076a10f, 0x0076b10f, dd 0x0076c10f, 0x0076d10f, 0x0076e10f, 0x0076f10f, dd 0x0077010f, 0x0077110f, 0x0077210f, 0x0077310f, dd 0x0077410f, 0x0077510f, 0x0077610f, 0x0077710f, dd 0x0077810f, 0x0077910f, 0x0077a10f, 0x0077b10f, dd 0x0077c10f, 0x0077d10f, 0x0077e10f, 0x0077f10f, dd 0x0078010f, 0x0078110f, 0x0078210f, 0x0078310f, dd 0x0078410f, 0x0078510f, 0x0078610f, 0x0078710f, dd 0x0078810f, 0x0078910f, 0x0078a10f, 0x0078b10f, dd 0x0078c10f, 0x0078d10f, 0x0078e10f, 0x0078f10f, dd 0x0079010f, 0x0079110f, 0x0079210f, 0x0079310f, dd 0x0079410f, 0x0079510f, 0x0079610f, 0x0079710f, dd 0x0079810f, 0x0079910f, 0x0079a10f, 0x0079b10f, dd 0x0079c10f, 0x0079d10f, 0x0079e10f, 0x0079f10f, dd 0x007a010f, 0x007a110f, 0x007a210f, 0x007a310f, dd 0x007a410f, 0x007a510f, 0x007a610f, 0x007a710f, dd 0x007a810f, 0x007a910f, 0x007aa10f, 0x007ab10f, dd 0x007ac10f, 0x007ad10f, 0x007ae10f, 0x007af10f, dd 0x007b010f, 0x007b110f, 0x007b210f, 0x007b310f, dd 0x007b410f, 0x007b510f, 0x007b610f, 0x007b710f, dd 0x007b810f, 0x007b910f, 0x007ba10f, 0x007bb10f, dd 0x007bc10f, 0x007bd10f, 0x007be10f, 0x007bf10f, dd 0x007c010f, 0x007c110f, 0x007c210f, 0x007c310f, dd 0x007c410f, 0x007c510f, 0x007c610f, 0x007c710f, dd 0x007c810f, 0x007c910f, 0x007ca10f, 0x007cb10f, dd 0x007cc10f, 0x007cd10f, 0x007ce10f, 0x007cf10f, dd 0x007d010f, 0x007d110f, 0x007d210f, 0x007d310f, dd 0x007d410f, 0x007d510f, 0x007d610f, 0x007d710f, dd 0x007d810f, 0x007d910f, 0x007da10f, 0x007db10f, dd 0x007dc10f, 0x007dd10f, 0x007de10f, 0x007df10f, dd 0x007e010f, 0x007e110f, 0x007e210f, 0x007e310f, dd 0x007e410f, 0x007e510f, 0x007e610f, 0x007e710f, dd 0x007e810f, 0x007e910f, 0x007ea10f, 0x007eb10f, dd 0x007ec10f, 0x007ed10f, 0x007ee10f, 0x007ef10f, dd 0x007f010f, 0x007f110f, 0x007f210f, 0x007f310f, dd 0x007f410f, 0x007f510f, 0x007f610f, 0x007f710f, dd 0x007f810f, 0x007f910f, 0x007fa10f, 0x007fb10f, dd 0x007fc10f, 0x007fd10f, 0x007fe10f, 0x007ff10f, dd 0x00000710, 0x00002710, 0x00004710, 0x00006710, dd 0x00008710, 0x0000a710, 0x0000c710, 0x0000e710, dd 0x00010710, 0x00012710, 0x00014710, 0x00016710, dd 0x00018710, 0x0001a710, 0x0001c710, 0x0001e710, dd 0x00020710, 0x00022710, 0x00024710, 0x00026710, dd 0x00028710, 0x0002a710, 0x0002c710, 0x0002e710, dd 0x00030710, 0x00032710, 0x00034710, 0x00036710, dd 0x00038710, 0x0003a710, 0x0003c710, 0x0003e710, dd 0x00040710, 0x00042710, 0x00044710, 0x00046710, dd 0x00048710, 0x0004a710, 0x0004c710, 0x0004e710, dd 0x00050710, 0x00052710, 0x00054710, 0x00056710, dd 0x00058710, 0x0005a710, 0x0005c710, 0x0005e710, dd 0x00060710, 0x00062710, 0x00064710, 0x00066710, dd 0x00068710, 0x0006a710, 0x0006c710, 0x0006e710, dd 0x00070710, 0x00072710, 0x00074710, 0x00076710, dd 0x00078710, 0x0007a710, 0x0007c710, 0x0007e710, dd 0x00080710, 0x00082710, 0x00084710, 0x00086710, dd 0x00088710, 0x0008a710, 0x0008c710, 0x0008e710, dd 0x00090710, 0x00092710, 0x00094710, 0x00096710, dd 0x00098710, 0x0009a710, 0x0009c710, 0x0009e710, dd 0x000a0710, 0x000a2710, 0x000a4710, 0x000a6710, dd 0x000a8710, 0x000aa710, 0x000ac710, 0x000ae710, dd 0x000b0710, 0x000b2710, 0x000b4710, 0x000b6710, dd 0x000b8710, 0x000ba710, 0x000bc710, 0x000be710, dd 0x000c0710, 0x000c2710, 0x000c4710, 0x000c6710, dd 0x000c8710, 0x000ca710, 0x000cc710, 0x000ce710, dd 0x000d0710, 0x000d2710, 0x000d4710, 0x000d6710, dd 0x000d8710, 0x000da710, 0x000dc710, 0x000de710, dd 0x000e0710, 0x000e2710, 0x000e4710, 0x000e6710, dd 0x000e8710, 0x000ea710, 0x000ec710, 0x000ee710, dd 0x000f0710, 0x000f2710, 0x000f4710, 0x000f6710, dd 0x000f8710, 0x000fa710, 0x000fc710, 0x000fe710, dd 0x00100710, 0x00102710, 0x00104710, 0x00106710, dd 0x00108710, 0x0010a710, 0x0010c710, 0x0010e710, dd 0x00110710, 0x00112710, 0x00114710, 0x00116710, dd 0x00118710, 0x0011a710, 0x0011c710, 0x0011e710, dd 0x00120710, 0x00122710, 0x00124710, 0x00126710, dd 0x00128710, 0x0012a710, 0x0012c710, 0x0012e710, dd 0x00130710, 0x00132710, 0x00134710, 0x00136710, dd 0x00138710, 0x0013a710, 0x0013c710, 0x0013e710, dd 0x00140710, 0x00142710, 0x00144710, 0x00146710, dd 0x00148710, 0x0014a710, 0x0014c710, 0x0014e710, dd 0x00150710, 0x00152710, 0x00154710, 0x00156710, dd 0x00158710, 0x0015a710, 0x0015c710, 0x0015e710, dd 0x00160710, 0x00162710, 0x00164710, 0x00166710, dd 0x00168710, 0x0016a710, 0x0016c710, 0x0016e710, dd 0x00170710, 0x00172710, 0x00174710, 0x00176710, dd 0x00178710, 0x0017a710, 0x0017c710, 0x0017e710, dd 0x00180710, 0x00182710, 0x00184710, 0x00186710, dd 0x00188710, 0x0018a710, 0x0018c710, 0x0018e710, dd 0x00190710, 0x00192710, 0x00194710, 0x00196710, dd 0x00198710, 0x0019a710, 0x0019c710, 0x0019e710, dd 0x001a0710, 0x001a2710, 0x001a4710, 0x001a6710, dd 0x001a8710, 0x001aa710, 0x001ac710, 0x001ae710, dd 0x001b0710, 0x001b2710, 0x001b4710, 0x001b6710, dd 0x001b8710, 0x001ba710, 0x001bc710, 0x001be710, dd 0x001c0710, 0x001c2710, 0x001c4710, 0x001c6710, dd 0x001c8710, 0x001ca710, 0x001cc710, 0x001ce710, dd 0x001d0710, 0x001d2710, 0x001d4710, 0x001d6710, dd 0x001d8710, 0x001da710, 0x001dc710, 0x001de710, dd 0x001e0710, 0x001e2710, 0x001e4710, 0x001e6710, dd 0x001e8710, 0x001ea710, 0x001ec710, 0x001ee710, dd 0x001f0710, 0x001f2710, 0x001f4710, 0x001f6710, dd 0x001f8710, 0x001fa710, 0x001fc710, 0x001fe710, dd 0x00200710, 0x00202710, 0x00204710, 0x00206710, dd 0x00208710, 0x0020a710, 0x0020c710, 0x0020e710, dd 0x00210710, 0x00212710, 0x00214710, 0x00216710, dd 0x00218710, 0x0021a710, 0x0021c710, 0x0021e710, dd 0x00220710, 0x00222710, 0x00224710, 0x00226710, dd 0x00228710, 0x0022a710, 0x0022c710, 0x0022e710, dd 0x00230710, 0x00232710, 0x00234710, 0x00236710, dd 0x00238710, 0x0023a710, 0x0023c710, 0x0023e710, dd 0x00240710, 0x00242710, 0x00244710, 0x00246710, dd 0x00248710, 0x0024a710, 0x0024c710, 0x0024e710, dd 0x00250710, 0x00252710, 0x00254710, 0x00256710, dd 0x00258710, 0x0025a710, 0x0025c710, 0x0025e710, dd 0x00260710, 0x00262710, 0x00264710, 0x00266710, dd 0x00268710, 0x0026a710, 0x0026c710, 0x0026e710, dd 0x00270710, 0x00272710, 0x00274710, 0x00276710, dd 0x00278710, 0x0027a710, 0x0027c710, 0x0027e710, dd 0x00280710, 0x00282710, 0x00284710, 0x00286710, dd 0x00288710, 0x0028a710, 0x0028c710, 0x0028e710, dd 0x00290710, 0x00292710, 0x00294710, 0x00296710, dd 0x00298710, 0x0029a710, 0x0029c710, 0x0029e710, dd 0x002a0710, 0x002a2710, 0x002a4710, 0x002a6710, dd 0x002a8710, 0x002aa710, 0x002ac710, 0x002ae710, dd 0x002b0710, 0x002b2710, 0x002b4710, 0x002b6710, dd 0x002b8710, 0x002ba710, 0x002bc710, 0x002be710, dd 0x002c0710, 0x002c2710, 0x002c4710, 0x002c6710, dd 0x002c8710, 0x002ca710, 0x002cc710, 0x002ce710, dd 0x002d0710, 0x002d2710, 0x002d4710, 0x002d6710, dd 0x002d8710, 0x002da710, 0x002dc710, 0x002de710, dd 0x002e0710, 0x002e2710, 0x002e4710, 0x002e6710, dd 0x002e8710, 0x002ea710, 0x002ec710, 0x002ee710, dd 0x002f0710, 0x002f2710, 0x002f4710, 0x002f6710, dd 0x002f8710, 0x002fa710, 0x002fc710, 0x002fe710, dd 0x00300710, 0x00302710, 0x00304710, 0x00306710, dd 0x00308710, 0x0030a710, 0x0030c710, 0x0030e710, dd 0x00310710, 0x00312710, 0x00314710, 0x00316710, dd 0x00318710, 0x0031a710, 0x0031c710, 0x0031e710, dd 0x00320710, 0x00322710, 0x00324710, 0x00326710, dd 0x00328710, 0x0032a710, 0x0032c710, 0x0032e710, dd 0x00330710, 0x00332710, 0x00334710, 0x00336710, dd 0x00338710, 0x0033a710, 0x0033c710, 0x0033e710, dd 0x00340710, 0x00342710, 0x00344710, 0x00346710, dd 0x00348710, 0x0034a710, 0x0034c710, 0x0034e710, dd 0x00350710, 0x00352710, 0x00354710, 0x00356710, dd 0x00358710, 0x0035a710, 0x0035c710, 0x0035e710, dd 0x00360710, 0x00362710, 0x00364710, 0x00366710, dd 0x00368710, 0x0036a710, 0x0036c710, 0x0036e710, dd 0x00370710, 0x00372710, 0x00374710, 0x00376710, dd 0x00378710, 0x0037a710, 0x0037c710, 0x0037e710, dd 0x00380710, 0x00382710, 0x00384710, 0x00386710, dd 0x00388710, 0x0038a710, 0x0038c710, 0x0038e710, dd 0x00390710, 0x00392710, 0x00394710, 0x00396710, dd 0x00398710, 0x0039a710, 0x0039c710, 0x0039e710, dd 0x003a0710, 0x003a2710, 0x003a4710, 0x003a6710, dd 0x003a8710, 0x003aa710, 0x003ac710, 0x003ae710, dd 0x003b0710, 0x003b2710, 0x003b4710, 0x003b6710, dd 0x003b8710, 0x003ba710, 0x003bc710, 0x003be710, dd 0x003c0710, 0x003c2710, 0x003c4710, 0x003c6710, dd 0x003c8710, 0x003ca710, 0x003cc710, 0x003ce710, dd 0x003d0710, 0x003d2710, 0x003d4710, 0x003d6710, dd 0x003d8710, 0x003da710, 0x003dc710, 0x003de710, dd 0x003e0710, 0x003e2710, 0x003e4710, 0x003e6710, dd 0x003e8710, 0x003ea710, 0x003ec710, 0x003ee710, dd 0x003f0710, 0x003f2710, 0x003f4710, 0x003f6710, dd 0x003f8710, 0x003fa710, 0x003fc710, 0x003fe710, dd 0x00400710, 0x00402710, 0x00404710, 0x00406710, dd 0x00408710, 0x0040a710, 0x0040c710, 0x0040e710, dd 0x00410710, 0x00412710, 0x00414710, 0x00416710, dd 0x00418710, 0x0041a710, 0x0041c710, 0x0041e710, dd 0x00420710, 0x00422710, 0x00424710, 0x00426710, dd 0x00428710, 0x0042a710, 0x0042c710, 0x0042e710, dd 0x00430710, 0x00432710, 0x00434710, 0x00436710, dd 0x00438710, 0x0043a710, 0x0043c710, 0x0043e710, dd 0x00440710, 0x00442710, 0x00444710, 0x00446710, dd 0x00448710, 0x0044a710, 0x0044c710, 0x0044e710, dd 0x00450710, 0x00452710, 0x00454710, 0x00456710, dd 0x00458710, 0x0045a710, 0x0045c710, 0x0045e710, dd 0x00460710, 0x00462710, 0x00464710, 0x00466710, dd 0x00468710, 0x0046a710, 0x0046c710, 0x0046e710, dd 0x00470710, 0x00472710, 0x00474710, 0x00476710, dd 0x00478710, 0x0047a710, 0x0047c710, 0x0047e710, dd 0x00480710, 0x00482710, 0x00484710, 0x00486710, dd 0x00488710, 0x0048a710, 0x0048c710, 0x0048e710, dd 0x00490710, 0x00492710, 0x00494710, 0x00496710, dd 0x00498710, 0x0049a710, 0x0049c710, 0x0049e710, dd 0x004a0710, 0x004a2710, 0x004a4710, 0x004a6710, dd 0x004a8710, 0x004aa710, 0x004ac710, 0x004ae710, dd 0x004b0710, 0x004b2710, 0x004b4710, 0x004b6710, dd 0x004b8710, 0x004ba710, 0x004bc710, 0x004be710, dd 0x004c0710, 0x004c2710, 0x004c4710, 0x004c6710, dd 0x004c8710, 0x004ca710, 0x004cc710, 0x004ce710, dd 0x004d0710, 0x004d2710, 0x004d4710, 0x004d6710, dd 0x004d8710, 0x004da710, 0x004dc710, 0x004de710, dd 0x004e0710, 0x004e2710, 0x004e4710, 0x004e6710, dd 0x004e8710, 0x004ea710, 0x004ec710, 0x004ee710, dd 0x004f0710, 0x004f2710, 0x004f4710, 0x004f6710, dd 0x004f8710, 0x004fa710, 0x004fc710, 0x004fe710, dd 0x00500710, 0x00502710, 0x00504710, 0x00506710, dd 0x00508710, 0x0050a710, 0x0050c710, 0x0050e710, dd 0x00510710, 0x00512710, 0x00514710, 0x00516710, dd 0x00518710, 0x0051a710, 0x0051c710, 0x0051e710, dd 0x00520710, 0x00522710, 0x00524710, 0x00526710, dd 0x00528710, 0x0052a710, 0x0052c710, 0x0052e710, dd 0x00530710, 0x00532710, 0x00534710, 0x00536710, dd 0x00538710, 0x0053a710, 0x0053c710, 0x0053e710, dd 0x00540710, 0x00542710, 0x00544710, 0x00546710, dd 0x00548710, 0x0054a710, 0x0054c710, 0x0054e710, dd 0x00550710, 0x00552710, 0x00554710, 0x00556710, dd 0x00558710, 0x0055a710, 0x0055c710, 0x0055e710, dd 0x00560710, 0x00562710, 0x00564710, 0x00566710, dd 0x00568710, 0x0056a710, 0x0056c710, 0x0056e710, dd 0x00570710, 0x00572710, 0x00574710, 0x00576710, dd 0x00578710, 0x0057a710, 0x0057c710, 0x0057e710, dd 0x00580710, 0x00582710, 0x00584710, 0x00586710, dd 0x00588710, 0x0058a710, 0x0058c710, 0x0058e710, dd 0x00590710, 0x00592710, 0x00594710, 0x00596710, dd 0x00598710, 0x0059a710, 0x0059c710, 0x0059e710, dd 0x005a0710, 0x005a2710, 0x005a4710, 0x005a6710, dd 0x005a8710, 0x005aa710, 0x005ac710, 0x005ae710, dd 0x005b0710, 0x005b2710, 0x005b4710, 0x005b6710, dd 0x005b8710, 0x005ba710, 0x005bc710, 0x005be710, dd 0x005c0710, 0x005c2710, 0x005c4710, 0x005c6710, dd 0x005c8710, 0x005ca710, 0x005cc710, 0x005ce710, dd 0x005d0710, 0x005d2710, 0x005d4710, 0x005d6710, dd 0x005d8710, 0x005da710, 0x005dc710, 0x005de710, dd 0x005e0710, 0x005e2710, 0x005e4710, 0x005e6710, dd 0x005e8710, 0x005ea710, 0x005ec710, 0x005ee710, dd 0x005f0710, 0x005f2710, 0x005f4710, 0x005f6710, dd 0x005f8710, 0x005fa710, 0x005fc710, 0x005fe710, dd 0x00600710, 0x00602710, 0x00604710, 0x00606710, dd 0x00608710, 0x0060a710, 0x0060c710, 0x0060e710, dd 0x00610710, 0x00612710, 0x00614710, 0x00616710, dd 0x00618710, 0x0061a710, 0x0061c710, 0x0061e710, dd 0x00620710, 0x00622710, 0x00624710, 0x00626710, dd 0x00628710, 0x0062a710, 0x0062c710, 0x0062e710, dd 0x00630710, 0x00632710, 0x00634710, 0x00636710, dd 0x00638710, 0x0063a710, 0x0063c710, 0x0063e710, dd 0x00640710, 0x00642710, 0x00644710, 0x00646710, dd 0x00648710, 0x0064a710, 0x0064c710, 0x0064e710, dd 0x00650710, 0x00652710, 0x00654710, 0x00656710, dd 0x00658710, 0x0065a710, 0x0065c710, 0x0065e710, dd 0x00660710, 0x00662710, 0x00664710, 0x00666710, dd 0x00668710, 0x0066a710, 0x0066c710, 0x0066e710, dd 0x00670710, 0x00672710, 0x00674710, 0x00676710, dd 0x00678710, 0x0067a710, 0x0067c710, 0x0067e710, dd 0x00680710, 0x00682710, 0x00684710, 0x00686710, dd 0x00688710, 0x0068a710, 0x0068c710, 0x0068e710, dd 0x00690710, 0x00692710, 0x00694710, 0x00696710, dd 0x00698710, 0x0069a710, 0x0069c710, 0x0069e710, dd 0x006a0710, 0x006a2710, 0x006a4710, 0x006a6710, dd 0x006a8710, 0x006aa710, 0x006ac710, 0x006ae710, dd 0x006b0710, 0x006b2710, 0x006b4710, 0x006b6710, dd 0x006b8710, 0x006ba710, 0x006bc710, 0x006be710, dd 0x006c0710, 0x006c2710, 0x006c4710, 0x006c6710, dd 0x006c8710, 0x006ca710, 0x006cc710, 0x006ce710, dd 0x006d0710, 0x006d2710, 0x006d4710, 0x006d6710, dd 0x006d8710, 0x006da710, 0x006dc710, 0x006de710, dd 0x006e0710, 0x006e2710, 0x006e4710, 0x006e6710, dd 0x006e8710, 0x006ea710, 0x006ec710, 0x006ee710, dd 0x006f0710, 0x006f2710, 0x006f4710, 0x006f6710, dd 0x006f8710, 0x006fa710, 0x006fc710, 0x006fe710, dd 0x00700710, 0x00702710, 0x00704710, 0x00706710, dd 0x00708710, 0x0070a710, 0x0070c710, 0x0070e710, dd 0x00710710, 0x00712710, 0x00714710, 0x00716710, dd 0x00718710, 0x0071a710, 0x0071c710, 0x0071e710, dd 0x00720710, 0x00722710, 0x00724710, 0x00726710, dd 0x00728710, 0x0072a710, 0x0072c710, 0x0072e710, dd 0x00730710, 0x00732710, 0x00734710, 0x00736710, dd 0x00738710, 0x0073a710, 0x0073c710, 0x0073e710, dd 0x00740710, 0x00742710, 0x00744710, 0x00746710, dd 0x00748710, 0x0074a710, 0x0074c710, 0x0074e710, dd 0x00750710, 0x00752710, 0x00754710, 0x00756710, dd 0x00758710, 0x0075a710, 0x0075c710, 0x0075e710, dd 0x00760710, 0x00762710, 0x00764710, 0x00766710, dd 0x00768710, 0x0076a710, 0x0076c710, 0x0076e710, dd 0x00770710, 0x00772710, 0x00774710, 0x00776710, dd 0x00778710, 0x0077a710, 0x0077c710, 0x0077e710, dd 0x00780710, 0x00782710, 0x00784710, 0x00786710, dd 0x00788710, 0x0078a710, 0x0078c710, 0x0078e710, dd 0x00790710, 0x00792710, 0x00794710, 0x00796710, dd 0x00798710, 0x0079a710, 0x0079c710, 0x0079e710, dd 0x007a0710, 0x007a2710, 0x007a4710, 0x007a6710, dd 0x007a8710, 0x007aa710, 0x007ac710, 0x007ae710, dd 0x007b0710, 0x007b2710, 0x007b4710, 0x007b6710, dd 0x007b8710, 0x007ba710, 0x007bc710, 0x007be710, dd 0x007c0710, 0x007c2710, 0x007c4710, 0x007c6710, dd 0x007c8710, 0x007ca710, 0x007cc710, 0x007ce710, dd 0x007d0710, 0x007d2710, 0x007d4710, 0x007d6710, dd 0x007d8710, 0x007da710, 0x007dc710, 0x007de710, dd 0x007e0710, 0x007e2710, 0x007e4710, 0x007e6710, dd 0x007e8710, 0x007ea710, 0x007ec710, 0x007ee710, dd 0x007f0710, 0x007f2710, 0x007f4710, 0x007f6710, dd 0x007f8710, 0x007fa710, 0x007fc710, 0x007fe710, dd 0x00800710, 0x00802710, 0x00804710, 0x00806710, dd 0x00808710, 0x0080a710, 0x0080c710, 0x0080e710, dd 0x00810710, 0x00812710, 0x00814710, 0x00816710, dd 0x00818710, 0x0081a710, 0x0081c710, 0x0081e710, dd 0x00820710, 0x00822710, 0x00824710, 0x00826710, dd 0x00828710, 0x0082a710, 0x0082c710, 0x0082e710, dd 0x00830710, 0x00832710, 0x00834710, 0x00836710, dd 0x00838710, 0x0083a710, 0x0083c710, 0x0083e710, dd 0x00840710, 0x00842710, 0x00844710, 0x00846710, dd 0x00848710, 0x0084a710, 0x0084c710, 0x0084e710, dd 0x00850710, 0x00852710, 0x00854710, 0x00856710, dd 0x00858710, 0x0085a710, 0x0085c710, 0x0085e710, dd 0x00860710, 0x00862710, 0x00864710, 0x00866710, dd 0x00868710, 0x0086a710, 0x0086c710, 0x0086e710, dd 0x00870710, 0x00872710, 0x00874710, 0x00876710, dd 0x00878710, 0x0087a710, 0x0087c710, 0x0087e710, dd 0x00880710, 0x00882710, 0x00884710, 0x00886710, dd 0x00888710, 0x0088a710, 0x0088c710, 0x0088e710, dd 0x00890710, 0x00892710, 0x00894710, 0x00896710, dd 0x00898710, 0x0089a710, 0x0089c710, 0x0089e710, dd 0x008a0710, 0x008a2710, 0x008a4710, 0x008a6710, dd 0x008a8710, 0x008aa710, 0x008ac710, 0x008ae710, dd 0x008b0710, 0x008b2710, 0x008b4710, 0x008b6710, dd 0x008b8710, 0x008ba710, 0x008bc710, 0x008be710, dd 0x008c0710, 0x008c2710, 0x008c4710, 0x008c6710, dd 0x008c8710, 0x008ca710, 0x008cc710, 0x008ce710, dd 0x008d0710, 0x008d2710, 0x008d4710, 0x008d6710, dd 0x008d8710, 0x008da710, 0x008dc710, 0x008de710, dd 0x008e0710, 0x008e2710, 0x008e4710, 0x008e6710, dd 0x008e8710, 0x008ea710, 0x008ec710, 0x008ee710, dd 0x008f0710, 0x008f2710, 0x008f4710, 0x008f6710, dd 0x008f8710, 0x008fa710, 0x008fc710, 0x008fe710, dd 0x00900710, 0x00902710, 0x00904710, 0x00906710, dd 0x00908710, 0x0090a710, 0x0090c710, 0x0090e710, dd 0x00910710, 0x00912710, 0x00914710, 0x00916710, dd 0x00918710, 0x0091a710, 0x0091c710, 0x0091e710, dd 0x00920710, 0x00922710, 0x00924710, 0x00926710, dd 0x00928710, 0x0092a710, 0x0092c710, 0x0092e710, dd 0x00930710, 0x00932710, 0x00934710, 0x00936710, dd 0x00938710, 0x0093a710, 0x0093c710, 0x0093e710, dd 0x00940710, 0x00942710, 0x00944710, 0x00946710, dd 0x00948710, 0x0094a710, 0x0094c710, 0x0094e710, dd 0x00950710, 0x00952710, 0x00954710, 0x00956710, dd 0x00958710, 0x0095a710, 0x0095c710, 0x0095e710, dd 0x00960710, 0x00962710, 0x00964710, 0x00966710, dd 0x00968710, 0x0096a710, 0x0096c710, 0x0096e710, dd 0x00970710, 0x00972710, 0x00974710, 0x00976710, dd 0x00978710, 0x0097a710, 0x0097c710, 0x0097e710, dd 0x00980710, 0x00982710, 0x00984710, 0x00986710, dd 0x00988710, 0x0098a710, 0x0098c710, 0x0098e710, dd 0x00990710, 0x00992710, 0x00994710, 0x00996710, dd 0x00998710, 0x0099a710, 0x0099c710, 0x0099e710, dd 0x009a0710, 0x009a2710, 0x009a4710, 0x009a6710, dd 0x009a8710, 0x009aa710, 0x009ac710, 0x009ae710, dd 0x009b0710, 0x009b2710, 0x009b4710, 0x009b6710, dd 0x009b8710, 0x009ba710, 0x009bc710, 0x009be710, dd 0x009c0710, 0x009c2710, 0x009c4710, 0x009c6710, dd 0x009c8710, 0x009ca710, 0x009cc710, 0x009ce710, dd 0x009d0710, 0x009d2710, 0x009d4710, 0x009d6710, dd 0x009d8710, 0x009da710, 0x009dc710, 0x009de710, dd 0x009e0710, 0x009e2710, 0x009e4710, 0x009e6710, dd 0x009e8710, 0x009ea710, 0x009ec710, 0x009ee710, dd 0x009f0710, 0x009f2710, 0x009f4710, 0x009f6710, dd 0x009f8710, 0x009fa710, 0x009fc710, 0x009fe710, dd 0x00a00710, 0x00a02710, 0x00a04710, 0x00a06710, dd 0x00a08710, 0x00a0a710, 0x00a0c710, 0x00a0e710, dd 0x00a10710, 0x00a12710, 0x00a14710, 0x00a16710, dd 0x00a18710, 0x00a1a710, 0x00a1c710, 0x00a1e710, dd 0x00a20710, 0x00a22710, 0x00a24710, 0x00a26710, dd 0x00a28710, 0x00a2a710, 0x00a2c710, 0x00a2e710, dd 0x00a30710, 0x00a32710, 0x00a34710, 0x00a36710, dd 0x00a38710, 0x00a3a710, 0x00a3c710, 0x00a3e710, dd 0x00a40710, 0x00a42710, 0x00a44710, 0x00a46710, dd 0x00a48710, 0x00a4a710, 0x00a4c710, 0x00a4e710, dd 0x00a50710, 0x00a52710, 0x00a54710, 0x00a56710, dd 0x00a58710, 0x00a5a710, 0x00a5c710, 0x00a5e710, dd 0x00a60710, 0x00a62710, 0x00a64710, 0x00a66710, dd 0x00a68710, 0x00a6a710, 0x00a6c710, 0x00a6e710, dd 0x00a70710, 0x00a72710, 0x00a74710, 0x00a76710, dd 0x00a78710, 0x00a7a710, 0x00a7c710, 0x00a7e710, dd 0x00a80710, 0x00a82710, 0x00a84710, 0x00a86710, dd 0x00a88710, 0x00a8a710, 0x00a8c710, 0x00a8e710, dd 0x00a90710, 0x00a92710, 0x00a94710, 0x00a96710, dd 0x00a98710, 0x00a9a710, 0x00a9c710, 0x00a9e710, dd 0x00aa0710, 0x00aa2710, 0x00aa4710, 0x00aa6710, dd 0x00aa8710, 0x00aaa710, 0x00aac710, 0x00aae710, dd 0x00ab0710, 0x00ab2710, 0x00ab4710, 0x00ab6710, dd 0x00ab8710, 0x00aba710, 0x00abc710, 0x00abe710, dd 0x00ac0710, 0x00ac2710, 0x00ac4710, 0x00ac6710, dd 0x00ac8710, 0x00aca710, 0x00acc710, 0x00ace710, dd 0x00ad0710, 0x00ad2710, 0x00ad4710, 0x00ad6710, dd 0x00ad8710, 0x00ada710, 0x00adc710, 0x00ade710, dd 0x00ae0710, 0x00ae2710, 0x00ae4710, 0x00ae6710, dd 0x00ae8710, 0x00aea710, 0x00aec710, 0x00aee710, dd 0x00af0710, 0x00af2710, 0x00af4710, 0x00af6710, dd 0x00af8710, 0x00afa710, 0x00afc710, 0x00afe710, dd 0x00b00710, 0x00b02710, 0x00b04710, 0x00b06710, dd 0x00b08710, 0x00b0a710, 0x00b0c710, 0x00b0e710, dd 0x00b10710, 0x00b12710, 0x00b14710, 0x00b16710, dd 0x00b18710, 0x00b1a710, 0x00b1c710, 0x00b1e710, dd 0x00b20710, 0x00b22710, 0x00b24710, 0x00b26710, dd 0x00b28710, 0x00b2a710, 0x00b2c710, 0x00b2e710, dd 0x00b30710, 0x00b32710, 0x00b34710, 0x00b36710, dd 0x00b38710, 0x00b3a710, 0x00b3c710, 0x00b3e710, dd 0x00b40710, 0x00b42710, 0x00b44710, 0x00b46710, dd 0x00b48710, 0x00b4a710, 0x00b4c710, 0x00b4e710, dd 0x00b50710, 0x00b52710, 0x00b54710, 0x00b56710, dd 0x00b58710, 0x00b5a710, 0x00b5c710, 0x00b5e710, dd 0x00b60710, 0x00b62710, 0x00b64710, 0x00b66710, dd 0x00b68710, 0x00b6a710, 0x00b6c710, 0x00b6e710, dd 0x00b70710, 0x00b72710, 0x00b74710, 0x00b76710, dd 0x00b78710, 0x00b7a710, 0x00b7c710, 0x00b7e710, dd 0x00b80710, 0x00b82710, 0x00b84710, 0x00b86710, dd 0x00b88710, 0x00b8a710, 0x00b8c710, 0x00b8e710, dd 0x00b90710, 0x00b92710, 0x00b94710, 0x00b96710, dd 0x00b98710, 0x00b9a710, 0x00b9c710, 0x00b9e710, dd 0x00ba0710, 0x00ba2710, 0x00ba4710, 0x00ba6710, dd 0x00ba8710, 0x00baa710, 0x00bac710, 0x00bae710, dd 0x00bb0710, 0x00bb2710, 0x00bb4710, 0x00bb6710, dd 0x00bb8710, 0x00bba710, 0x00bbc710, 0x00bbe710, dd 0x00bc0710, 0x00bc2710, 0x00bc4710, 0x00bc6710, dd 0x00bc8710, 0x00bca710, 0x00bcc710, 0x00bce710, dd 0x00bd0710, 0x00bd2710, 0x00bd4710, 0x00bd6710, dd 0x00bd8710, 0x00bda710, 0x00bdc710, 0x00bde710, dd 0x00be0710, 0x00be2710, 0x00be4710, 0x00be6710, dd 0x00be8710, 0x00bea710, 0x00bec710, 0x00bee710, dd 0x00bf0710, 0x00bf2710, 0x00bf4710, 0x00bf6710, dd 0x00bf8710, 0x00bfa710, 0x00bfc710, 0x00bfe710, dd 0x00c00710, 0x00c02710, 0x00c04710, 0x00c06710, dd 0x00c08710, 0x00c0a710, 0x00c0c710, 0x00c0e710, dd 0x00c10710, 0x00c12710, 0x00c14710, 0x00c16710, dd 0x00c18710, 0x00c1a710, 0x00c1c710, 0x00c1e710, dd 0x00c20710, 0x00c22710, 0x00c24710, 0x00c26710, dd 0x00c28710, 0x00c2a710, 0x00c2c710, 0x00c2e710, dd 0x00c30710, 0x00c32710, 0x00c34710, 0x00c36710, dd 0x00c38710, 0x00c3a710, 0x00c3c710, 0x00c3e710, dd 0x00c40710, 0x00c42710, 0x00c44710, 0x00c46710, dd 0x00c48710, 0x00c4a710, 0x00c4c710, 0x00c4e710, dd 0x00c50710, 0x00c52710, 0x00c54710, 0x00c56710, dd 0x00c58710, 0x00c5a710, 0x00c5c710, 0x00c5e710, dd 0x00c60710, 0x00c62710, 0x00c64710, 0x00c66710, dd 0x00c68710, 0x00c6a710, 0x00c6c710, 0x00c6e710, dd 0x00c70710, 0x00c72710, 0x00c74710, 0x00c76710, dd 0x00c78710, 0x00c7a710, 0x00c7c710, 0x00c7e710, dd 0x00c80710, 0x00c82710, 0x00c84710, 0x00c86710, dd 0x00c88710, 0x00c8a710, 0x00c8c710, 0x00c8e710, dd 0x00c90710, 0x00c92710, 0x00c94710, 0x00c96710, dd 0x00c98710, 0x00c9a710, 0x00c9c710, 0x00c9e710, dd 0x00ca0710, 0x00ca2710, 0x00ca4710, 0x00ca6710, dd 0x00ca8710, 0x00caa710, 0x00cac710, 0x00cae710, dd 0x00cb0710, 0x00cb2710, 0x00cb4710, 0x00cb6710, dd 0x00cb8710, 0x00cba710, 0x00cbc710, 0x00cbe710, dd 0x00cc0710, 0x00cc2710, 0x00cc4710, 0x00cc6710, dd 0x00cc8710, 0x00cca710, 0x00ccc710, 0x00cce710, dd 0x00cd0710, 0x00cd2710, 0x00cd4710, 0x00cd6710, dd 0x00cd8710, 0x00cda710, 0x00cdc710, 0x00cde710, dd 0x00ce0710, 0x00ce2710, 0x00ce4710, 0x00ce6710, dd 0x00ce8710, 0x00cea710, 0x00cec710, 0x00cee710, dd 0x00cf0710, 0x00cf2710, 0x00cf4710, 0x00cf6710, dd 0x00cf8710, 0x00cfa710, 0x00cfc710, 0x00cfe710, dd 0x00d00710, 0x00d02710, 0x00d04710, 0x00d06710, dd 0x00d08710, 0x00d0a710, 0x00d0c710, 0x00d0e710, dd 0x00d10710, 0x00d12710, 0x00d14710, 0x00d16710, dd 0x00d18710, 0x00d1a710, 0x00d1c710, 0x00d1e710, dd 0x00d20710, 0x00d22710, 0x00d24710, 0x00d26710, dd 0x00d28710, 0x00d2a710, 0x00d2c710, 0x00d2e710, dd 0x00d30710, 0x00d32710, 0x00d34710, 0x00d36710, dd 0x00d38710, 0x00d3a710, 0x00d3c710, 0x00d3e710, dd 0x00d40710, 0x00d42710, 0x00d44710, 0x00d46710, dd 0x00d48710, 0x00d4a710, 0x00d4c710, 0x00d4e710, dd 0x00d50710, 0x00d52710, 0x00d54710, 0x00d56710, dd 0x00d58710, 0x00d5a710, 0x00d5c710, 0x00d5e710, dd 0x00d60710, 0x00d62710, 0x00d64710, 0x00d66710, dd 0x00d68710, 0x00d6a710, 0x00d6c710, 0x00d6e710, dd 0x00d70710, 0x00d72710, 0x00d74710, 0x00d76710, dd 0x00d78710, 0x00d7a710, 0x00d7c710, 0x00d7e710, dd 0x00d80710, 0x00d82710, 0x00d84710, 0x00d86710, dd 0x00d88710, 0x00d8a710, 0x00d8c710, 0x00d8e710, dd 0x00d90710, 0x00d92710, 0x00d94710, 0x00d96710, dd 0x00d98710, 0x00d9a710, 0x00d9c710, 0x00d9e710, dd 0x00da0710, 0x00da2710, 0x00da4710, 0x00da6710, dd 0x00da8710, 0x00daa710, 0x00dac710, 0x00dae710, dd 0x00db0710, 0x00db2710, 0x00db4710, 0x00db6710, dd 0x00db8710, 0x00dba710, 0x00dbc710, 0x00dbe710, dd 0x00dc0710, 0x00dc2710, 0x00dc4710, 0x00dc6710, dd 0x00dc8710, 0x00dca710, 0x00dcc710, 0x00dce710, dd 0x00dd0710, 0x00dd2710, 0x00dd4710, 0x00dd6710, dd 0x00dd8710, 0x00dda710, 0x00ddc710, 0x00dde710, dd 0x00de0710, 0x00de2710, 0x00de4710, 0x00de6710, dd 0x00de8710, 0x00dea710, 0x00dec710, 0x00dee710, dd 0x00df0710, 0x00df2710, 0x00df4710, 0x00df6710, dd 0x00df8710, 0x00dfa710, 0x00dfc710, 0x00dfe710, dd 0x00e00710, 0x00e02710, 0x00e04710, 0x00e06710, dd 0x00e08710, 0x00e0a710, 0x00e0c710, 0x00e0e710, dd 0x00e10710, 0x00e12710, 0x00e14710, 0x00e16710, dd 0x00e18710, 0x00e1a710, 0x00e1c710, 0x00e1e710, dd 0x00e20710, 0x00e22710, 0x00e24710, 0x00e26710, dd 0x00e28710, 0x00e2a710, 0x00e2c710, 0x00e2e710, dd 0x00e30710, 0x00e32710, 0x00e34710, 0x00e36710, dd 0x00e38710, 0x00e3a710, 0x00e3c710, 0x00e3e710, dd 0x00e40710, 0x00e42710, 0x00e44710, 0x00e46710, dd 0x00e48710, 0x00e4a710, 0x00e4c710, 0x00e4e710, dd 0x00e50710, 0x00e52710, 0x00e54710, 0x00e56710, dd 0x00e58710, 0x00e5a710, 0x00e5c710, 0x00e5e710, dd 0x00e60710, 0x00e62710, 0x00e64710, 0x00e66710, dd 0x00e68710, 0x00e6a710, 0x00e6c710, 0x00e6e710, dd 0x00e70710, 0x00e72710, 0x00e74710, 0x00e76710, dd 0x00e78710, 0x00e7a710, 0x00e7c710, 0x00e7e710, dd 0x00e80710, 0x00e82710, 0x00e84710, 0x00e86710, dd 0x00e88710, 0x00e8a710, 0x00e8c710, 0x00e8e710, dd 0x00e90710, 0x00e92710, 0x00e94710, 0x00e96710, dd 0x00e98710, 0x00e9a710, 0x00e9c710, 0x00e9e710, dd 0x00ea0710, 0x00ea2710, 0x00ea4710, 0x00ea6710, dd 0x00ea8710, 0x00eaa710, 0x00eac710, 0x00eae710, dd 0x00eb0710, 0x00eb2710, 0x00eb4710, 0x00eb6710, dd 0x00eb8710, 0x00eba710, 0x00ebc710, 0x00ebe710, dd 0x00ec0710, 0x00ec2710, 0x00ec4710, 0x00ec6710, dd 0x00ec8710, 0x00eca710, 0x00ecc710, 0x00ece710, dd 0x00ed0710, 0x00ed2710, 0x00ed4710, 0x00ed6710, dd 0x00ed8710, 0x00eda710, 0x00edc710, 0x00ede710, dd 0x00ee0710, 0x00ee2710, 0x00ee4710, 0x00ee6710, dd 0x00ee8710, 0x00eea710, 0x00eec710, 0x00eee710, dd 0x00ef0710, 0x00ef2710, 0x00ef4710, 0x00ef6710, dd 0x00ef8710, 0x00efa710, 0x00efc710, 0x00efe710, dd 0x00f00710, 0x00f02710, 0x00f04710, 0x00f06710, dd 0x00f08710, 0x00f0a710, 0x00f0c710, 0x00f0e710, dd 0x00f10710, 0x00f12710, 0x00f14710, 0x00f16710, dd 0x00f18710, 0x00f1a710, 0x00f1c710, 0x00f1e710, dd 0x00f20710, 0x00f22710, 0x00f24710, 0x00f26710, dd 0x00f28710, 0x00f2a710, 0x00f2c710, 0x00f2e710, dd 0x00f30710, 0x00f32710, 0x00f34710, 0x00f36710, dd 0x00f38710, 0x00f3a710, 0x00f3c710, 0x00f3e710, dd 0x00f40710, 0x00f42710, 0x00f44710, 0x00f46710, dd 0x00f48710, 0x00f4a710, 0x00f4c710, 0x00f4e710, dd 0x00f50710, 0x00f52710, 0x00f54710, 0x00f56710, dd 0x00f58710, 0x00f5a710, 0x00f5c710, 0x00f5e710, dd 0x00f60710, 0x00f62710, 0x00f64710, 0x00f66710, dd 0x00f68710, 0x00f6a710, 0x00f6c710, 0x00f6e710, dd 0x00f70710, 0x00f72710, 0x00f74710, 0x00f76710, dd 0x00f78710, 0x00f7a710, 0x00f7c710, 0x00f7e710, dd 0x00f80710, 0x00f82710, 0x00f84710, 0x00f86710, dd 0x00f88710, 0x00f8a710, 0x00f8c710, 0x00f8e710, dd 0x00f90710, 0x00f92710, 0x00f94710, 0x00f96710, dd 0x00f98710, 0x00f9a710, 0x00f9c710, 0x00f9e710, dd 0x00fa0710, 0x00fa2710, 0x00fa4710, 0x00fa6710, dd 0x00fa8710, 0x00faa710, 0x00fac710, 0x00fae710, dd 0x00fb0710, 0x00fb2710, 0x00fb4710, 0x00fb6710, dd 0x00fb8710, 0x00fba710, 0x00fbc710, 0x00fbe710, dd 0x00fc0710, 0x00fc2710, 0x00fc4710, 0x00fc6710, dd 0x00fc8710, 0x00fca710, 0x00fcc710, 0x00fce710, dd 0x00fd0710, 0x00fd2710, 0x00fd4710, 0x00fd6710, dd 0x00fd8710, 0x00fda710, 0x00fdc710, 0x00fde710, dd 0x00fe0710, 0x00fe2710, 0x00fe4710, 0x00fe6710, dd 0x00fe8710, 0x00fea710, 0x00fec710, 0x00fee710, dd 0x00ff0710, 0x00ff2710, 0x00ff4710, 0x00ff6710, dd 0x00ff8710, 0x00ffa710, 0x00ffc710, 0x00ffe710, %endif len_table: dd 0x00000001, 0x00000103, 0x00000504, 0x00000d05, dd 0x00006707, 0x0000d708, 0x00003708, 0x00006f09, dd 0x0000b709, 0x0001b709, 0x00007709, 0x00017709, dd 0x00016f0a, 0x00036f0a, 0x0000ef0a, 0x0002ef0a, dd 0x0001ef0b, 0x0003ef0b, 0x0005ef0b, 0x0007ef0b, dd 0x0007df0d, 0x000fdf0d, 0x0017df0d, 0x001fdf0d, dd 0x0000f70a, 0x0001f70a, 0x0002f70a, 0x0003f70a, dd 0x00000f0a, 0x00010f0a, 0x00020f0a, 0x00030f0a, dd 0x00001f0c, 0x00021f0c, 0x00041f0c, 0x00061f0c, dd 0x00081f0c, 0x000a1f0c, 0x000c1f0c, 0x000e1f0c, dd 0x00043f0f, 0x00143f0f, 0x00243f0f, 0x00343f0f, dd 0x00443f0f, 0x00543f0f, 0x00643f0f, 0x00743f0f, dd 0x00011f0c, 0x00031f0c, 0x00051f0c, 0x00071f0c, dd 0x00091f0c, 0x000b1f0c, 0x000d1f0c, 0x000f1f0c, dd 0x00035f0d, 0x00075f0d, 0x000b5f0d, 0x000f5f0d, dd 0x00135f0d, 0x00175f0d, 0x001b5f0d, 0x001f5f0d, dd 0x00009f0d, 0x00029f0d, 0x00049f0d, 0x00069f0d, dd 0x00089f0d, 0x000a9f0d, 0x000c9f0d, 0x000e9f0d, dd 0x00109f0d, 0x00129f0d, 0x00149f0d, 0x00169f0d, dd 0x00189f0d, 0x001a9f0d, 0x001c9f0d, 0x001e9f0d, dd 0x0000df0e, 0x0004df0e, 0x0008df0e, 0x000cdf0e, dd 0x0010df0e, 0x0014df0e, 0x0018df0e, 0x001cdf0e, dd 0x0020df0e, 0x0024df0e, 0x0028df0e, 0x002cdf0e, dd 0x0030df0e, 0x0034df0e, 0x0038df0e, 0x003cdf0e, dd 0x00008f0c, 0x00018f0c, 0x00028f0c, 0x00038f0c, dd 0x00048f0c, 0x00058f0c, 0x00068f0c, 0x00078f0c, dd 0x00088f0c, 0x00098f0c, 0x000a8f0c, 0x000b8f0c, dd 0x000c8f0c, 0x000d8f0c, 0x000e8f0c, 0x000f8f0c, dd 0x00137f11, 0x00337f11, 0x00537f11, 0x00737f11, dd 0x00937f11, 0x00b37f11, 0x00d37f11, 0x00f37f11, dd 0x01137f11, 0x01337f11, 0x01537f11, 0x01737f11, dd 0x01937f11, 0x01b37f11, 0x01d37f11, 0x01f37f11, dd 0x000b7f12, 0x002b7f12, 0x004b7f12, 0x006b7f12, dd 0x008b7f12, 0x00ab7f12, 0x00cb7f12, 0x00eb7f12, dd 0x010b7f12, 0x012b7f12, 0x014b7f12, 0x016b7f12, dd 0x018b7f12, 0x01ab7f12, 0x01cb7f12, 0x01eb7f12, dd 0x020b7f12, 0x022b7f12, 0x024b7f12, 0x026b7f12, dd 0x028b7f12, 0x02ab7f12, 0x02cb7f12, 0x02eb7f12, dd 0x030b7f12, 0x032b7f12, 0x034b7f12, 0x036b7f12, dd 0x038b7f12, 0x03ab7f12, 0x03cb7f12, 0x03eb7f12, dd 0x001b7f12, 0x003b7f12, 0x005b7f12, 0x007b7f12, dd 0x009b7f12, 0x00bb7f12, 0x00db7f12, 0x00fb7f12, dd 0x011b7f12, 0x013b7f12, 0x015b7f12, 0x017b7f12, dd 0x019b7f12, 0x01bb7f12, 0x01db7f12, 0x01fb7f12, dd 0x021b7f12, 0x023b7f12, 0x025b7f12, 0x027b7f12, dd 0x029b7f12, 0x02bb7f12, 0x02db7f12, 0x02fb7f12, dd 0x031b7f12, 0x033b7f12, 0x035b7f12, 0x037b7f12, dd 0x039b7f12, 0x03bb7f12, 0x03db7f12, 0x03fb7f12, dd 0x00077f12, 0x00277f12, 0x00477f12, 0x00677f12, dd 0x00877f12, 0x00a77f12, 0x00c77f12, 0x00e77f12, dd 0x01077f12, 0x01277f12, 0x01477f12, 0x01677f12, dd 0x01877f12, 0x01a77f12, 0x01c77f12, 0x01e77f12, dd 0x02077f12, 0x02277f12, 0x02477f12, 0x02677f12, dd 0x02877f12, 0x02a77f12, 0x02c77f12, 0x02e77f12, dd 0x03077f12, 0x03277f12, 0x03477f12, 0x03677f12, dd 0x03877f12, 0x03a77f12, 0x03c77f12, 0x03e77f12, dd 0x00177f12, 0x00377f12, 0x00577f12, 0x00777f12, dd 0x00977f12, 0x00b77f12, 0x00d77f12, 0x00f77f12, dd 0x01177f12, 0x01377f12, 0x01577f12, 0x01777f12, dd 0x01977f12, 0x01b77f12, 0x01d77f12, 0x01f77f12, dd 0x02177f12, 0x02377f12, 0x02577f12, 0x02777f12, dd 0x02977f12, 0x02b77f12, 0x02d77f12, 0x02f77f12, dd 0x03177f12, 0x03377f12, 0x03577f12, 0x03777f12, dd 0x03977f12, 0x03b77f12, 0x03d77f12, 0x000f7f0d, lit_table: dd 0xc3fd, 0x1c3fd, 0x23fd, 0x123fd, 0xa3fd, 0x1a3fd, 0x63fd, 0x163fd, dd 0xe3fd, 0x03d7, 0x03fc, 0x1e3fd, 0x13fd, 0x113fd, 0x93fd, 0x193fd, dd 0x53fd, 0x153fd, 0xd3fd, 0x1d3fd, 0x33fd, 0x133fd, 0xb3fd, 0x1b3fd, dd 0x73fd, 0x173fd, 0xf3fd, 0x1f3fd, 0x0bfd, 0x10bfd, 0x8bfd, 0x18bfd, dd 0x4bfd, 0x14bfd, 0x19fa, 0x04f9, 0x2dfb, 0x6dfb, 0x1dfb, 0x5dfb, dd 0x39fa, 0x14f9, 0x0cf9, 0x1cf9, 0x0178, 0x0978, 0x02f9, 0x05fa, dd 0x07d7, 0x0037, 0x0437, 0x0237, 0x0637, 0x0137, 0x0537, 0x0337, dd 0x0737, 0x00b7, 0x04b7, 0x02b7, 0x06b7, 0x01b7, 0x05b7, 0x03b7, dd 0x07b7, 0x01d6, 0x0077, 0x0477, 0x0277, 0x12f9, 0xcbfd, 0x0af9, dd 0x1cbfd, 0x2bfd, 0x12bfd, 0xabfd, 0x1abfd, 0x1af9, 0x25fa, 0x6bfd, dd 0x16bfd, 0xebfd, 0x1ebfd, 0x15fa, 0x0578, 0x1bfd, 0x11bfd, 0x9bfd, dd 0x3dfb, 0x19bfd, 0x83fc, 0x5bfd, 0x15bfd, 0xdbfd, 0x1dbfd, 0x3bfd, dd 0x13bfd, 0xbbfd, 0x1bbfd, 0x7bfd, 0x17bfd, 0xfbfd, 0x1fbfd, 0x07fd, dd 0x107fd, 0x87fd, 0x187fd, 0x47fd, 0x147fd, 0xc7fd, 0x1c7fd, 0x27fd, dd 0x127fd, 0xa7fd, 0x1a7fd, 0x67fd, 0x167fd, 0xe7fd, 0x1e7fd, 0x17fd, dd 0x117fd, 0x97fd, 0x197fd, 0x57fd, 0x157fd, 0xd7fd, 0x1d7fd, 0x37fd, dd 0x20fff, 0x60fff, 0x10fff, 0x50fff, 0x30fff, 0x70fff, 0x1f7fe, 0x3f7fe, dd 0x8fff, 0x48fff, 0x28fff, 0x68fff, 0x18fff, 0x58fff, 0x38fff, 0x78fff, dd 0x4fff, 0x44fff, 0x24fff, 0x64fff, 0x14fff, 0x54fff, 0x34fff, 0x74fff, dd 0xcfff, 0x4cfff, 0x2cfff, 0x6cfff, 0x1cfff, 0x5cfff, 0x3cfff, 0x7cfff, dd 0x2fff, 0x42fff, 0x22fff, 0x62fff, 0x12fff, 0x52fff, 0x32fff, 0x72fff, dd 0xafff, 0x4afff, 0x2afff, 0x6afff, 0x1afff, 0x5afff, 0x3afff, 0x7afff, dd 0x6fff, 0x46fff, 0x26fff, 0x66fff, 0x16fff, 0x56fff, 0x36fff, 0x76fff, dd 0xefff, 0x4efff, 0x2efff, 0x6efff, 0x1efff, 0x5efff, 0x3efff, 0x7efff, dd 0x1fff, 0x41fff, 0x21fff, 0x61fff, 0x11fff, 0x51fff, 0x31fff, 0x71fff, dd 0x9fff, 0x49fff, 0x29fff, 0x69fff, 0x19fff, 0x59fff, 0x39fff, 0x79fff, dd 0x5fff, 0x45fff, 0x25fff, 0x65fff, 0x15fff, 0x55fff, 0x35fff, 0x75fff, dd 0xdfff, 0x4dfff, 0x2dfff, 0x6dfff, 0x1dfff, 0x5dfff, 0x3dfff, 0x7dfff, dd 0x3fff, 0x43fff, 0x23fff, 0x63fff, 0x13fff, 0x53fff, 0x33fff, 0x73fff, dd 0xbfff, 0x4bfff, 0x2bfff, 0x6bfff, 0x1bfff, 0x5bfff, 0x3bfff, 0x7bfff, dd 0x7fff, 0x47fff, 0x27fff, 0x67fff, 0x17fff, 0x57fff, 0x37fff, 0x77fff, dd 0xffff, 0x4ffff, 0x2ffff, 0x6ffff, 0x1ffff, 0x5ffff, 0x3ffff, 0x7ffff, dd 0x0ffe, %ifndef LONGER_HUFFTABLE dcodes: dw 0x0064, 0x00b5, 0x00e4, 0x01b5, 0x0014, 0x0075, 0x1ffb, 0x5ffb, dw 0x3ffb, 0x7ffb, %endif
alarm.applescript
roberthuttinger/Apple-TV-Alarm-Clock
1
3349
set AppleTVName to "Bedroom Apple TV" set PlaylistName to "Alarm" activate application "iTunes" delay 0.2 tell application "System Events" tell application "iTunes" set visible of front browser window to true set the view of the front browser window to playlist PlaylistName end tell delay 0.2 tell window "iTunes" of application process "iTunes" click (every button whose description is "AirPlay") of window "iTunes" of application process "iTunes" of application "System Events" key code 125 using {command down} delay 0.2 keystroke return delay 0.2 tell window "Multiple Speakers" of application process "iTunes" of application "System Events" activate click button 2 tell table 1 of scroll area 1 activate repeat with i from 1 to (count of every row) set rowcount to count of rows if rowcount > 1 then tell group 1 of row i activate if description of checkbox 1 as string = AppleTVName and value of checkbox 1 = 0 then set value of checkbox 1 to 1 delay 0.5 end if end tell end if end repeat repeat with i from 1 to (count of every row) set rowcount to count of rows if rowcount > 1 then tell group 1 of row i activate if description of checkbox 1 as string is not equal to AppleTVName and value of checkbox 1 = 1 then set value of checkbox 1 to 0 delay 0.2 end if end tell end if end repeat end tell end tell end tell tell window "Multiple Speakers" of application process "iTunes" of application "System Events" activate click button 3 end tell end tell tell application "iTunes" #set shuffle of playlist PlaylistName to 1 play playlist PlaylistName set volume 80 end tell
antlr/MasciiParser.g4
arikast/mascii-source
4
7209
// the mascii 2.0 grammar parser grammar MasciiParser; options { tokenVocab=MasciiLexer; } music: (SPACE|NEWLINE)* bars (SPACE|newline)* EOF; metainfo: (SPACE|NEWLINE)* OPEN_META M_NEWLINE* headers M_NEWLINE* CLOSE_META (SPACE|NEWLINE)* ; headers: header (M_NEWLINE+ header)* ; header: header_name HEADER_SEP header_values; header_name: HEADER_ENTITY; header_values: HEADER_ENTITY? (HEADER_VAL_SEP HEADER_ENTITY?)* ; bars: concurrent_block (newline newline+ concurrent_block)*; //a collection of blocks which together form the piece concurrent_block: metainfo? staves_n_lyricsrow (newline staves_n_lyricsrow)* ; //a block of several vertically stacked musical parts to be played simultaneously staves_n_lyricsrow: stavesrow (newline lyrics_row)* ; stavesrow: stavesrow_first_notempty | stavesrow_first_empty; //a single horizontal musical part consisting of 1 or more (staff) measures stavesrow_first_notempty: staff (STAFF_SEPARATOR (staff | empty_staff) )* ; stavesrow_first_empty: empty_staff (STAFF_SEPARATOR (staff | empty_staff))+ ; staff: timed_elements ; //ie a single measure of music empty_staff: SPACE? ; timed_elements: SPACE? timed_element (SPACE timed_element)* SPACE?; timed_element: inverse_dot=(DBL_DOTTED | DOTTED)? ((notes | group)+ | REST) duration_doubled? normal_dot=(DBL_DOTTED | DOTTED)?; duration_doubled: TIE TIE+ ; group: unscoped_group | scoped_group ; scoped_group: OPEN_SCOPED timed_elements CLOSE_SCOPED; unscoped_group: OPEN_UNSCOPED timed_elements CLOSE_UNSCOPED; notes: (notes_end notes_start) | (notes_end) | (notes_start) ; notes_start: note_start+ ; note_start: PITCH note_tie? ; note_tie: TIE ; notes_end: note_end_all | note_end_one+ ; note_end_one: TIE PITCH ; note_end_all: TIE NOTE_END_ALL; newline: NEWLINE | IMPLICIT_CLOSE_LYRICS ; lyrics_row: OPEN_LYRICS LYRICS CLOSE_LYRICS?; //a single horizontal musical part consisting of 1 or more (staff) measures
customschedule.scpt
siliconninja/customschedule
0
3000
<gh_stars>0 -- Copyright (c) 2017 siliconninja -- This repository and its files are licensed under the the MIT License. -- READ THIS: This only works if your school has a calendar (that you can subscribe to via iCal or Google Calendars which you can download as an iCal file) -- **You must run this script FIRST before running locations.scpt to input the class events in the empty calendar. locations.scpt adds classroom numbers as locations to the calendar events with each class.** -- and it has the days (4, 3, 2, 1...) and you have a Mac. If you don't have a Mac, try one of the following. -- Run this via a VM (virtual machine) or Hackintosh -- Get someone else's Mac (with their permission) and change the class names. -- TODO: -- Quarterly classes (e.g. Gym, Health) -- School events e.g. snow days, pep rallies, etc. -- Any Mac AppleScript developers here? Please contribute your code to GitHub. It would be greatly appreciated :) -- (repo is called customschedule, fork and use this code all you like under the MIT license) https://github.com/siliconninja/customschedule -- * Only for non-developers or users of this app. -- DO NOT CHANGE THIS* -- on newEvent(sclasstime, eclasstime, the_day, the_month, the_year, class_name, pdno) set sd to (the_month & " " & the_day & ", " & the_year & " " & sclasstime) as string set ed to (the_month & " " & the_day & ", " & the_year & " " & eclasstime) as string set theStartDate to date sd set theEndDate to date ed --set ed to date{year: the_year, day: the_day, month: the_month, -- Set "Classes" to the calendar you want your classes to go into. -- CHANGE NEXT LINE SO IT WORKS* tell application "Calendar" to tell calendar "[Your Classes Calendar Here]" if class_name is ("Lunch" or "Free Period") then make new event with properties {start date:theStartDate, end date:theEndDate, summary:class_name} else make new event with properties {start date:theStartDate, end date:theEndDate, summary:"Period " & pdno & ": " & class_name} end if end tell end newEvent -- END DO NOT CHANGE THIS* -- -- lists -- This is optimized for a 8-period schedule (1, 2, 3, lunch, 4, 5, 6, period 9) -- CHANGE THIS SO IT WORKS*. -- Set your school's start and end times here for classes. If there is no period 9, remove the entry! set DayStartTimes to {"7:47 AM", "8:53 AM", "9:59 AM", "11:00 AM", "11:45 AM", "12:51 PM", "1:57 PM", "3:00 PM"} set DayEndTimes to {"8:48 AM", "9:54 AM", "11:00 AM", "11:40 AM", "12:46 PM", "1:52 PM", "2:58 PM", "3:15 PM"} -- sleep in day times, 8 class periods set SIDayStartTimes to {"8:47 AM", "9:43 AM", "10:39 AM", "11:30 AM", "12:15 PM", "1:11 PM", "2:07 PM", "3:00 PM"} set SIDayEndTimes to {"9:38 AM", "10:34 AM", "11:30 AM", "12:10 PM", "1:06 PM", "2:02 PM", "2:58 PM", "3:15 PM"} -- Minimum day times. i.e. Your school has a minimum day for 4 classes and one for 8 classes. -- 4 classes set MDStartTimes to {"7:47 AM", "8:53 AM", "9:59 AM", "11:05 AM"} set MDEndTimes to {"8:48 AM", "9:54 AM", "11:00 AM", "12:06 PM"} -- 8 classes set MD2StartTimes to {"7:47 AM", "8:23 AM", "8:59 AM", "9:35 AM", "10:11 AM", "10:47 AM", "11:23 AM", "11:59 AM"} set MD2EndTimes to {"8:18 AM", "8:54 AM", "9:30 AM", "10:06 AM", "10:42 AM", "11:18 AM", "11:54 AM", "12:30 PM"} -- Class names i.e. Math, Science, English set classNames to {"Class 1", "Class 2", "Class 3", "Class 4", "Class 5", "Class 6", "Class 7", "Class 8", "Period 9", "Lunch", "Free Period"} -- period orders, 10 is for lunch, and 11 is for a free period. set pd4O to {4, 1, 2, 10, 8, 5, 6, 9} set pd3O to {3, 4, 1, 10, 7, 8, 5, 9} set pd2O to {2, 3, 4, 10, 6, 7, 8, 9} set pd1O to {1, 2, 3, 10, 5, 6, 7, 9} -- 4 classes set minDay1O to {1, 2, 3, 4} set minDay2O to {5, 6, 7, 8} -- 8 classes set minDay3O to {1, 2, 3, 4, 5, 6, 7, 8} tell application "Calendar" -- Subscribe to your school's calendar via iCal (calendars) and input the calendar name here. -- CHANGE THIS SO IT WORKS*. tell calendar "[Your Calendar Here]" -- Day 4, 3, 2, and 1 events, i.e. your school says "4 Day" for Day 4, change "Day 4" to "4 Day". -- CHANGE THIS SO IT WORKS*. set Day4List to every event whose summary contains "Day 4" set Day3List to every event whose summary contains "Day 3" set Day2List to every event whose summary contains "Day 2" set Day1List to every event whose summary contains "Day 1" set SIDay4List to every event whose summary contains ("Enrichment Day" and "Day 4") set SIDay3List to every event whose summary contains ("Enrichment Day" and "Day 3") set SIDay2List to every event whose summary contains ("Enrichment Day" and "Day 2") set SIDay1List to every event whose summary contains ("Enrichment Day" and "Day 1") -- Same thing for Early Dismissal. set MinDayList to every event whose summary contains "Early Dismissal" --end repeat end tell -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING* -- -- Repeats all events in the list that are "Day 4" repeat with i from 1 to the count of Day4List set theEvent to item i of Day4List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd4O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd4O as string) end repeat --newEvent(" AM", "8:48 AM", dday, mmonth, yyear, "Class 1", "1") --set sd to date (the_day & "/" & the_month & "/" & y & " 5:00 PM") --set ed to date (d & "/" & y & " 11:00 PM") --set dateString to the_month as string --return dateEvent as string end repeat repeat with i from 1 to the count of Day3List set theEvent to item i of Day3List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd3O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd3O as string) end repeat end repeat repeat with i from 1 to the count of Day2List set theEvent to item i of Day2List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd2O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd2O as string) end repeat end repeat repeat with i from 1 to the count of Day1List set theEvent to item i of Day1List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd1O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd1O as string) end repeat end repeat -- Sleep ins... repeat with i from 1 to the count of SIDay4List set theEvent to item i of SIDay4List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd4O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd1O as string) end repeat end repeat repeat with i from 1 to the count of SIDay3List set theEvent to item i of SIDay3List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd3O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd1O as string) end repeat end repeat repeat with i from 1 to the count of SIDay2List set theEvent to item i of SIDay2List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd2O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd1O as string) end repeat end repeat repeat with i from 1 to the count of SIDay1List set theEvent to item i of SIDay1List set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent repeat with i from 1 to the count of pd4O set theNumber to item i in pd1O my newEvent(item i in DayStartTimes, item i in DayEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in pd1O as string) end repeat end repeat -- and minimum days. repeat with i from 1 to the count of MinDayList set theEvent to item i of MinDayList set dateEvent to start date of theEvent set yyear to year of dateEvent set mmonth to month of dateEvent set dday to day of dateEvent if dday is 4 then repeat with i from 1 to the count of minDay1O set theNumber to item i in minDay1O my newEvent(item i in MDStartTimes, item i in MDEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in minDay1O as string) end repeat else if dday is 5 then repeat with i from 1 to the count of minDay2O set theNumber to item i in minDay2O my newEvent(item i in MDStartTimes, item i in MDEndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in minDay2O as string) end repeat else repeat with i from 1 to the count of minDay3O set theNumber to item i in minDay3O my newEvent(item i in MD2StartTimes, item i in MD2EndTimes, dday, mmonth, yyear, item theNumber in classNames, item i in minDay3O as string) end repeat end if end repeat -- END DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING* -- --set theEvent to first item of theEventList --return summary of theEvent end tell
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_347.asm
ljhsiun2/medusa
9
13358
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3acb, %rcx nop nop nop nop sub $14999, %rbx movl $0x61626364, (%rcx) sub $12299, %r10 lea addresses_A_ht+0x92c7, %r8 nop nop nop nop dec %rax vmovups (%r8), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %r11 nop nop nop nop nop inc %r10 lea addresses_WT_ht+0xd2cb, %r11 nop nop nop cmp $2106, %rcx movb (%r11), %r8b nop nop nop nop nop dec %r11 lea addresses_A_ht+0xee39, %rbx nop nop xor %r11, %r11 mov $0x6162636465666768, %r10 movq %r10, %xmm4 vmovups %ymm4, (%rbx) nop nop nop nop nop add $32938, %rbx lea addresses_UC_ht+0x120a3, %rcx nop cmp $6185, %r10 mov (%rcx), %r11d nop nop nop add %rcx, %rcx lea addresses_normal_ht+0x74bf, %rsi lea addresses_UC_ht+0x10367, %rdi nop add %r11, %r11 mov $27, %rcx rep movsl nop nop nop nop xor $37197, %rdi lea addresses_normal_ht+0x3eeb, %rsi lea addresses_WT_ht+0x1dceb, %rdi nop nop xor %r10, %r10 mov $125, %rcx rep movsw dec %rcx lea addresses_UC_ht+0x1c8cb, %r10 nop nop nop nop nop xor $11402, %r13 mov $0x6162636465666768, %rcx movq %rcx, %xmm7 vmovups %ymm7, (%r10) nop nop nop nop cmp $35677, %rax lea addresses_normal_ht+0x9fdf, %rdi nop nop dec %r10 vmovups (%rdi), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rcx nop sub %r10, %r10 lea addresses_WC_ht+0x13d27, %r13 sub %r11, %r11 mov (%r13), %bx nop nop nop and $34159, %rsi lea addresses_D_ht+0x18ccb, %r8 nop nop nop nop nop sub $38452, %r11 mov $0x6162636465666768, %rsi movq %rsi, (%r8) nop nop nop nop and $52961, %rax lea addresses_D_ht+0x57cb, %r10 nop nop nop sub %rdi, %rdi mov (%r10), %rsi nop nop add %r10, %r10 pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r15 push %r9 push %rbx push %rsi // Load lea addresses_normal+0x17b, %rbx clflush (%rbx) nop nop nop add $52876, %r15 vmovups (%rbx), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %r13 nop add %r15, %r15 // Faulty Load lea addresses_A+0x34cb, %r9 clflush (%r9) nop nop nop add %rsi, %rsi movntdqa (%r9), %xmm6 vpextrq $0, %xmm6, %r15 lea oracles, %rbx and $0xff, %r15 shlq $12, %r15 mov (%rbx,%r15,1), %r15 pop %rsi pop %rbx pop %r9 pop %r15 pop %r13 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_A', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_A', 'same': True, 'size': 16, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 1, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 2, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 7, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
programs/oeis/167/A167371.asm
karttu/loda
0
160293
; A167371: Triangle, read by rows, given by [0,1,-1,0,0,0,0,0,0,0,0,...] DELTA [1,0,-1,1,0,0,0,0,0,0,0,...] where DELTA is the operator defined in A084938. ; 1,0,1,0,1,1,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1 mov $2,$0 add $2,2 mov $3,1 lpb $2,1 add $4,$2 trn $4,3 lpb $4,1 add $3,1 trn $2,$3 trn $4,$3 lpe mov $1,$2 mov $4,$2 sub $2,1 lpe
polynomial/clenshaw/chebychev_tst_1.adb
jscparker/math_packages
30
11203
with Clenshaw; with Chebychev; with gauss_quadrature_61; with chebychev_quadrature; with Text_IO; use Text_IO; with Ada.Numerics.Generic_Elementary_Functions; -- Use data structure in Chebychev to instantiate Clenshaw, and make -- Chebychev polynomials of the 2nd kind. -- Chebychev polynomials should be normalized respect a weight W(x). -- In other words, Integral (Poly(x)*Poly(x)*W(x)) = 1.0 -- Test should show that Chebychev Quadrature works flawlessly on -- Chebychev polynomials; Gaussian Quadrature less so; Summing -- rectangles is worst of all. procedure Chebychev_Tst_1 is type Real is digits 15; package Maths is new Ada.Numerics.Generic_Elementary_Functions (Real); use Maths; package Chebychev_Polys is new Chebychev (Real, Exp, Log); use Chebychev_Polys; Poly_Limit : constant Poly_ID_Integer := 200; package Cheby is new Clenshaw (Real, Poly_ID_Integer, Poly_Limit, Alpha, Beta, Q_0); use Cheby; package realio is new Float_IO(Real); use Realio; package Gaussian_Quad is new gauss_quadrature_61 (Real); use Gaussian_Quad; package Cheby_Quad is new Chebychev_Quadrature (Real, 2**6, Cos, Sin); -- Divide [-1,1] on X axis into 2**n parts: No_of_Intervals : constant := 2**0; -- power of 2 best type X_axis is range 1 .. No_of_Intervals; DeltaX : constant Real := (X_Upper_Bound - X_Lower_Bound) / Real (No_of_Intervals); W, X, Y : Real; Q : Poly_Values; d_Area, Area, Error : Real; X_Start, X_Final : Real; X_gauss : Gauss_Values; F_val : Function_Values; -- gaussian quadrature over segments of (-1, 1). X_gauss_Cheby : Cheby_Quad.Gauss_Values; F_val_Cheby : Cheby_Quad.Function_Values; begin -- Sum rectangles for area: new_line(2); put ("Check normalization. Sum rectangles for area:"); new_line(2); Sum_Rectangles: declare No_of_Subdivisions : constant Positive := 256; dX : constant Real := DeltaX / Real (No_of_Subdivisions); begin for k in Poly_Id_Type range Poly_Id_Type'First .. Poly_Id_Type'First+20 loop Area := 0.0; X := X_Lower_Bound + 0.5 * dX; for m in 1 .. No_of_Subdivisions loop for i in X_Axis loop Evaluate_Qs (X, Q, k); Y := Q(k); W := Poly_Weight (X); Area := Area + W*Y*Y; X := X + dX; end loop; end loop; new_line; put ("k = "); put (Poly_Id_Type'Image(k)); put(" Norm = "); put (Area * dX / Norm (k)); end loop; end Sum_Rectangles; new_line(2); put ("Check normalization. Use gaussian quadrature for area: "); new_line(1); for k in Poly_Id_Type range Poly_Id_Type'First .. Poly_Id_Type'First+30 loop Area := 0.0; for i in X_Axis loop X_start := X_Lower_Bound + DeltaX * (Real (i) - Real (X_Axis'First)); X_Final := X_Start + DeltaX; -- Interval of Gaussian quadrature. Find_Gauss_Nodes (X_Start, X_Final, X_gauss); for N in Gauss_Index_61 loop Evaluate_Qs (X_gauss(N), Q, k); Y := Q(k); W := Poly_Weight (X_gauss(N)); F_val (N) := W*Y*Y; end loop; Get_Integral (F_val, X_Start, X_Final, d_Area, Error); Area := Area + d_Area; end loop; new_line; put ("k = "); put (Poly_Id_Type'Image(k)); put(" Norm = "); put (Area / Norm (k)); end loop; new_line(2); put ("Check normalization. Use chebychev quadrature for area: "); new_line(1); for k in Poly_Id_Type range Poly_Id_Type'First .. Poly_Id_Type'First+32 loop Area := 0.0; for i in X_Axis loop X_start := X_Lower_Bound + DeltaX * (Real (i) - Real (X_Axis'First)); X_Final := X_Start + DeltaX; -- Interval of Gaussian quadrature. Cheby_Quad.Find_Gauss_Nodes (X_Start, X_Final, X_gauss_Cheby); for N in Cheby_Quad.Gauss_Index loop Evaluate_Qs (X_gauss_Cheby(N), Q, k); Y := Q(k); W := Poly_Weight (X_gauss_Cheby(N)); F_val_Cheby (N) := W*Y*Y; end loop; Cheby_Quad.Get_Integral (F_val_Cheby, X_Start, X_Final, d_Area); Area := Area + d_Area; end loop; new_line; put ("k = "); put (Poly_Id_Type'Image(k)); put(" Norm = "); put (Area / Norm (k)); end loop; end Chebychev_Tst_1;
src/shaders/h264/ildb/load_Cur_UV_Right_Most_2x8.asm
tizenorg/platform.upstream.libva-intel-driver
0
105181
/* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module Name: Load_Cur_UV_Right_Most_2X8.Asm #if defined(_DEBUG) mov (1) EntrySignatureC:w 0xDDD0:w #endif #if defined(_PROGRESSIVE) // Read U+V, (UV MB size = 16x8) add (1) MSGSRC.0:ud ORIX_CUR:w 12:w { NoDDClr } // Block origin asr (1) MSGSRC.1:ud ORIY_CUR:w 1:w { NoDDClr, NoDDChk } // NV12 U+V block origin y = half of Y comp mov (1) MSGSRC.2:ud 0x00070003:ud { NoDDChk } // NV12 U+V block width and height (4x8) send (8) LEFT_TEMP_D(0)<1> MSGHDRU MSGSRC<8;8,1>:ud DAPREAD RESP_LEN(1)+DWBRMSGDSC_RC+BI_DEST_UV #endif #if defined(_FIELD) || defined(_MBAFF) // FieldModeCurrentMbFlag determines how to access left MB and.z.f0.0 (1) null:w r[ECM_AddrReg, BitFlags]:ub FieldModeCurrentMbFlag:w and.nz.f0.1 (1) NULLREGW BitFields:w BotFieldFlag:w // Get bottom field flag // Read U+V add (1) MSGSRC.0:ud ORIX_CUR:w 12:w { NoDDClr } // Block origin asr (1) MSGSRC.1:ud ORIY_CUR:w 1:w { NoDDClr, NoDDChk } // NV12 U+V block origin y = half of Y comp mov (1) MSGSRC.2:ud 0x00070003:ud { NoDDChk } // NV12 U+V block width and height (4x8) // Load NV12 U+V // Set message descriptor (f0.0) if (1) ILDB_LABEL(ELSE_Y_2x8T) // Frame picture mov (1) MSGDSC RESP_LEN(1)+DWBRMSGDSC_RC+BI_DEST_UV:ud // Read 1 GRF from SRC_UV (f0.1) add (1) MSGSRC.1:d MSGSRC.1:d 8:w // Add vertical offset 8 for bot MB in MBAFF mode ILDB_LABEL(ELSE_Y_2x8T): else (1) ILDB_LABEL(ENDIF_Y_2x8T) // Field picture (f0.1) mov (1) MSGDSC RESP_LEN(1)+DWBRMSGDSC_RC_BF+BI_DEST_UV:ud // Read 1 GRF from SRC_Y bottom field (-f0.1) mov (1) MSGDSC RESP_LEN(1)+DWBRMSGDSC_RC_TF+BI_DEST_UV:ud // Read 1 GRF from SRC_Y top field endif ILDB_LABEL(ENDIF_Y_2x8T): // Read 1 GRF from DEST surface as the above MB has been deblocked. // send (8) BUF_D(0)<1> MSGHDRU MSGSRC<8;8,1>:ud MSGDSC send (8) LEFT_TEMP_D(0)<1> MSGHDRU MSGSRC<8;8,1>:ud DAPREAD MSGDSC #endif
alloy4fun_models/trashltl/models/15/aE6bcGs845Yw552Tv.als
Kaixi26/org.alloytools.alloy
0
1041
<reponame>Kaixi26/org.alloytools.alloy open main pred idaE6bcGs845Yw552Tv_prop16 { always Protected'= Protected } pred __repair { idaE6bcGs845Yw552Tv_prop16 } check __repair { idaE6bcGs845Yw552Tv_prop16 <=> prop16o }
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/atan.asm
Frodevan/z88dk
640
241093
<filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/atan.asm SECTION code_fp_math32 PUBLIC _atan EXTERN cm32_sdcc_atan defc _atan = cm32_sdcc_atan
libsrc/gfx/narrow/c_respixel.asm
Frodevan/z88dk
38
10056
<filename>libsrc/gfx/narrow/c_respixel.asm ; ; Generic pseudo graphics routines for text-only platforms ; ; Reset pixel at (x,y) coordinate. SECTION code_graphics PUBLIC c_respixel defc NEEDunplot = 1 .c_respixel INCLUDE "c_pixel.inc"
List.g4
talisonfc/dsl-list
0
349
grammar List; programa : comando+ EOF; comando : NOME '=' exp # expresion | 'print' exp # show ; exp : exp '.' exp # expNested | exp '+' exp # expSum | NOME # name | lista # collection | INT # int | 'false' # false | 'true' # true ; lista : '[' exp (',' exp) * ']' ; NOME : [a-zA-Z]+ ; INT : [0-9]+ ; WS : [ \t\r\n]+ -> skip ;
src/main/antlr/GaiaSdk.g4
leftshiftone/gaia-sdk
0
5654
/* * Lexer Rules */ grammar GaiaSdk; COLON : ':'; CURLY_LEFT : '{'; CURLY_RIGHT : '}'; ROUND_LEFT : '('; ROUND_RIGHT : ')'; SQUARE_LEFT : '['; SQUARE_RIGHT : ']'; QUESTION_MARK : '?'; COMMA : ','; AT : '@'; DEPRECATED : 'deprecated'; EQUALS : '='; TRUE : 'true'; FALSE : 'false'; TYPE : 'type'; ENUM : 'enum'; INTERFACE : 'interface'; SCALAR : 'scalar'; IMPLEMENTS : 'implements'; INPUT : 'input'; MANDATORY : '!'; SCALAR_TYPE : 'String' | 'Int' | 'Float' | 'Boolean'; IDENTIFIER : Letter LetterOrDigit*; CHAR_SEQUENCE : '"' StringCharacter* '"' | '"""' StringCharacter* '"""'; NUMBER : Digit+; fragment Digit : '-'?[0-9]; fragment Letter : [a-zA-Z]; fragment LetterOrDigit : [a-zA-Z0-9_]; fragment StringCharacter : ~'"'; // Whitespace and comments WHITESPACE : [ \t\r\n\u000C]+ -> skip; LINE_COMMENT : '#' ~[\r\n]* -> skip; /* * Parser Rules */ compilation : (type | interface_ | scalar | input | enum_)+; type : description? TYPE identifier (IMPLEMENTS identifier)? CURLY_LEFT field+ CURLY_RIGHT; identifier : IDENTIFIER | TYPE; description : CHAR_SEQUENCE; field : description? identifier (ROUND_LEFT argument (COMMA argument)* ROUND_RIGHT)? COLON datatype MANDATORY? (EQUALS value)? annotation*; argument : identifier COLON datatype MANDATORY? (EQUALS value)?; datatype : (scalarType | simpleType | listType); scalarType : SCALAR_TYPE; simpleType : identifier QUESTION_MARK?; listType : SQUARE_LEFT datatype SQUARE_RIGHT; annotation : deprecated; deprecated : AT DEPRECATED ROUND_LEFT CHAR_SEQUENCE ROUND_RIGHT; interface_ : description? INTERFACE identifier CURLY_LEFT field+ CURLY_RIGHT; enum_ : ENUM identifier CURLY_LEFT identifier+ CURLY_RIGHT; input : description? INPUT identifier CURLY_LEFT field+ CURLY_RIGHT; scalar : SCALAR identifier; // value booleanValue : (TRUE | FALSE); stringValue : CHAR_SEQUENCE; intValue : NUMBER; floatValue : NUMBER; longValue : NUMBER; value : (booleanValue | stringValue | intValue | floatValue | longValue);
lang/src/main/antlr4/org/kaazing/k3po/lang/regex/Regex.g4
jfallows/k3po
0
2
<reponame>jfallows/k3po<gh_stars>0 grammar Regex; literal : regex=pattern ; pattern : expression ; expression : sequence ( '|' sequence )* ; sequence : '^'? group+ '$'? ; group : PatternNonGroup | group0 ; group0 : LeftParen groupN RightParenWithOptionalPatternQuantifiers ; groupN : expression | PatternNonCapturing expression | capture=PatternCapturing expression ; RightParenWithOptionalPatternQuantifiers : RightParen PatternQuantifiers? ; LeftParen: '('; fragment RightParen: ')'; PatternNonGroup : PatternCharacterClasses PatternQuantifiers? | PatternCharacters | PatternFlags ; PatternNonCapturing : '?:' | '?=' | '?!' | '?<=' | '?<!' | '?>' | '?i:' | '?d:' | '?m:' | '?s:' | '?u:' | '?x:' | '?-i:' | '?-d:' | '?-m:' | '?-s:' | '?-u:' | '?-x:' ; PatternCapturing : '?<' Letter (Letter | Digit)* '>' ; fragment PatternFlags : '?i' | '?d' | '?m' | '?s' | '?u' | '?x' | '?-i' | '?-d' | '?-m' | '?-s' | '?-u' | '?-x' ; fragment PatternCharacters : PatternCharacter+ ; fragment PatternCharacter : Letter | Digit | '^' | '$' | ':' | ';' | '-' | ' ' | '+' | '*' | '/' | '=' | '\\0' Digit ( Digit ( Digit )? )? | '\\x' HexDigit HexDigit | '\\u' HexDigit HexDigit HexDigit HexDigit | '\\t' | '\\n' | '\\r' | '\\f' | '\\a' | '\\e' | '\\c' Letter | '\\^' | '\\$' | '\\:' | '\\-' | '\\.' | '\\*' | '\\+' | '\\/' | '\\=' | '\\[' | '\\(' | '\\|' ; fragment PatternCharacterClasses : ('[' | '[^') PatternCharacterClass+ ( PatternCharacterClassIntersection )? PatternCharacterClasses? ']' | '.' | '\\d' | '\\D' | '\\s' | '\\S' | '\\w' | '\\W' | PatternPosixCharacterClass | PatternJavaCharacterClass ; fragment PatternCharacterClassIntersection : '&&' ; fragment PatternPosixCharacterClass : '\\p{Lower}' | '\\p{Upper}' | '\\p{ASCII}' | '\\p{Alpha}' | '\\p{Digit}' | '\\p{Alnum}' | '\\p{Punct}' | '\\p{Graph}' | '\\p{Print}' | '\\p{Blank}' | '\\p{Cntrl}' | '\\p{XDigit}' | '\\p{Space}' ; fragment PatternJavaCharacterClass : '\\p{javaLowerCase}' | '\\p{javaUpperCase}' | '\\p{javaWhitespace}' | '\\p{javaMirrored}' ; fragment PatternUnicodCharacterClass : '\\p{InBasicLatin}' // TODO: more unicode block names | '\\p{InGreek}' | '\\p{C}' | '\\p{Cc}' | '\\p{Cf}' | '\\p{Cn}' | '\\p{Co}' | '\\p{Cs}' | '\\p{L}' | '\\p{LC}' | '\\p{Ll}' | '\\p{Lm}' | '\\p{Lo}' | '\\p{Lt}' | '\\p{Lu}' | '\\p{M}' | '\\p{Mc}' | '\\p{Me}' | '\\p{Mn}' | '\\p{N}' | '\\p{Nd}' | '\\p{Nl}' | '\\p{No}' | '\\p{P}' | '\\p{Pd}' | '\\p{Pe}' | '\\p{Pf}' | '\\p{Pi}' | '\\p{Po}' | '\\p{Ps}' | '\\p{S}' | '\\p{Sc}' | '\\p{Sk}' | '\\p{Sm}' | '\\p{So}' | '\\p{Z}' | '\\p{Zl}' | '\\p{Zp}' | '\\p{Zs}' ; fragment PatternCharacterClass : PatternCharacter ( '-' PatternCharacter | PatternCharacter* ) ; fragment PatternQuantifiers : '?' | '??' | '?+' | '*' | '*?' | '*+' | '+' | '+?' | '++' | '{' Digit+ ( ',' Digit* )? ( '}' | '}?' | '}+' ) ; fragment Letter : '\u0041'..'\u005a' | '\u005f' | '\u0061'..'\u007a' | '\u00d8'..'\u00f6' ; fragment Digit: '0'..'9'; fragment HexDigit: Digit | 'a'..'f' | 'A'..'F'; fragment CR: '\r'; fragment LF: '\n'; fragment FF: '\u000C'; fragment TAB: '\t'; WS: (' ' | CR | LF | TAB | FF)+ -> skip;
programs/oeis/066/A066587.asm
karttu/loda
1
27383
<filename>programs/oeis/066/A066587.asm ; A066587: Duplicate of A047621. ; 3,5,11,13,19,21,27,29,35,37,43,45,51,53,59,61,67,69,75,77,83,85,91,93 mov $1,$0 mod $0,2 mul $1,2 sub $1,$0 mul $1,2 add $1,3
oeis/048/A048580.asm
neoneye/loda-programs
11
17605
<gh_stars>10-100 ; A048580: Pisot sequence L(3,10). ; 3,10,34,116,396,1352,4616,15760,53808,183712,627232,2141504,7311552,24963200,85229696,290992384,993510144,3392055808,11581202944,39540700160,135000394752,460920178688,1573679925248,5372879343616,18344157523968,62630871408640,213835170586624,730078939529216,2492645416943616,8510423788716032,29056404320976896,99204769706475520,338706270183948288,1156415541322842112,3948249624923471872,13480167417048203264,46024170418345869312,157136346839287070720,536497046520456544256,1831715492403252035584 add $0,1 mov $1,1 lpb $0 sub $0,1 add $2,$1 mul $1,2 add $1,$2 lpe mov $0,$1
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb
Lucretia/old_nehe_ada95
0
28656
<reponame>Lucretia/old_nehe_ada95<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb pragma Warnings (Off); with SDL; with SDL.RWops; with SDL.Types; with SDL.Mutex; with SDL.Video; with SDL.Active; with SDL.Keysym; with SDL.Keyboard; with SDL.Mouse; with SDL.Joystick; with SDL.Events; with SDL.Error; with SDL.Byteorder; with SDL.Byteorder.Extra; with SDL.Audio; with SDL.Audio.Extra; with SDL.Quit; with SDL.Version; with SDL.Timer; with SDL.Thread; with SDL.Cdrom; with Lib_C; procedure Make is begin null; end Make;
data/mapHeaders/celadonmart4.asm
adhi-thirumala/EvoYellow
16
26781
<filename>data/mapHeaders/celadonmart4.asm<gh_stars>10-100 CeladonMart4_h: db LOBBY ; tileset db CELADON_MART_4_HEIGHT, CELADON_MART_4_WIDTH ; dimensions (y, x) dw CeladonMart4Blocks, CeladonMart4TextPointers, CeladonMart4Script ; blocks, texts, scripts db $00 ; connections dw CeladonMart4Object ; objects
src/fot/PA/Axiomatic/Mendelson/PropertiesATP.agda
asr/fotc
11
9281
<reponame>asr/fotc ------------------------------------------------------------------------------ -- PA properties ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} module PA.Axiomatic.Mendelson.PropertiesATP where open import PA.Axiomatic.Mendelson.Base ------------------------------------------------------------------------------ +-leftIdentity : ∀ n → zero + n ≈ n +-leftIdentity = S₅ -- See Issue https://github.com/asr/apia/issues/81 . +-rightIdentityA : ℕ → Set +-rightIdentityA i = i + zero ≈ i {-# ATP definition +-rightIdentityA #-} +-rightIdentity : ∀ n → n + zero ≈ n +-rightIdentity = S₉ +-rightIdentityA A0 is where A0 : +-rightIdentityA zero A0 = +-leftIdentity zero postulate is : ∀ i → +-rightIdentityA i → +-rightIdentityA (succ i) {-# ATP prove is #-} -- See Issue https://github.com/asr/apia/issues/81 . x+Sy≈S[x+y]A : ℕ → ℕ → Set x+Sy≈S[x+y]A n i = i + succ n ≈ succ (i + n) {-# ATP definition x+Sy≈S[x+y]A #-} x+Sy≈S[x+y] : ∀ m n → m + succ n ≈ succ (m + n) x+Sy≈S[x+y] m n = S₉ (x+Sy≈S[x+y]A n) A0 is m where postulate A0 : x+Sy≈S[x+y]A n zero {-# ATP prove A0 #-} postulate is : ∀ i → x+Sy≈S[x+y]A n i → x+Sy≈S[x+y]A n (succ i) {-# ATP prove is #-} -- See Issue https://github.com/asr/apia/issues/81 . +-leftCongA : ℕ → ℕ → ℕ → Set +-leftCongA m n i = m + i ≈ n + i {-# ATP definition +-leftCongA #-} +-leftCong : ∀ {m n o} → m ≈ n → m + o ≈ n + o +-leftCong {m} {n} {o} h = S₉ (+-leftCongA m n) A0 is o where postulate A0 : +-leftCongA m n zero {-# ATP prove A0 +-rightIdentity #-} postulate is : ∀ i → +-leftCongA m n i → +-leftCongA m n (succ i) {-# ATP prove is x+Sy≈S[x+y] #-} -- See Issue https://github.com/asr/apia/issues/81 . +-commA : ℕ → ℕ → Set +-commA n i = i + n ≈ n + i {-# ATP definition +-commA #-} +-comm : ∀ m n → m + n ≈ n + m +-comm m n = S₉ (+-commA n) A0 is m where postulate A0 : +-commA n zero {-# ATP prove A0 +-rightIdentity #-} postulate is : ∀ i → +-commA n i → +-commA n (succ i) {-# ATP prove is x+Sy≈S[x+y] #-} +-asocc : ∀ m n o → m + n + o ≈ m + (n + o) +-asocc m n o = S₉ A A0 is m where A : ℕ → Set A i = i + n + o ≈ i + (n + o) {-# ATP definition A #-} postulate A0 : A zero {-# ATP prove A0 +-leftCong #-} postulate is : ∀ i → A i → A (succ i) {-# ATP prove is +-leftCong #-}
programs/oeis/090/A090570.asm
neoneye/loda
22
173815
<filename>programs/oeis/090/A090570.asm ; A090570: Numbers that are congruent to {0, 1} mod 9. ; 0,1,9,10,18,19,27,28,36,37,45,46,54,55,63,64,72,73,81,82,90,91,99,100,108,109,117,118,126,127,135,136,144,145,153,154,162,163,171,172,180,181,189,190,198,199,207,208,216,217,225,226 mov $1,$0 div $1,2 mul $1,7 add $0,$1
oeis/180/A180145.asm
neoneye/loda-programs
11
81201
; A180145: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: (1 - 3*x^2)/(1 - 4*x - 3*x^2 + 6*x^3). ; Submitted by <NAME> ; 1,4,16,70,304,1330,5812,25414,111112,485818,2124124,9287278,40606576,177543394,776269636,3394069270,14839825624,64883892490,283690631212,1240375248574,5423269532992,23712060090418,103675797469204 lpb $0 sub $0,1 mul $2,2 mov $3,$2 mul $4,3 add $4,1 mov $2,$4 add $4,$3 lpe add $2,$4 mov $0,$2 div $0,2 mul $0,3 add $0,1
out/euler40.adb
Melyodas/metalang
22
26290
<gh_stars>10-100 with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure euler40 is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams.Stream (Current_Output), To_Ada(s.all)); end; procedure PInt(i : in Integer) is begin String'Write (Text_Streams.Stream (Current_Output), Trim(Integer'Image(i), Left)); end; function exp0(a : in Integer; e : in Integer) return Integer is o : Integer; begin o := 1; for i in integer range 1..e loop o := o * a; end loop; return o; end; type c is Array (Integer range <>) of Integer; type c_PTR is access c; function e(t : in c_PTR; b : in Integer) return Integer is nombre : Integer; n : Integer; chiffre : Integer; begin n := b; for i in integer range 1..8 loop if n >= t(i) * i then n := n - t(i) * i; else nombre := exp0(10, i - 1) + n / i; chiffre := i - 1 - n rem i; return nombre / exp0(10, chiffre) rem 10; end if; end loop; return (-1); end; v : Integer; t : c_PTR; puiss : Integer; out0 : Integer; begin t := new c (0..8); for i in integer range 0..8 loop t(i) := exp0(10, i) - exp0(10, i - 1); end loop; for i2 in integer range 1..8 loop PInt(i2); PString(new char_array'( To_C(" => "))); PInt(t(i2)); PString(new char_array'( To_C("" & Character'Val(10)))); end loop; for j in integer range 0..80 loop PInt(e(t, j)); end loop; PString(new char_array'( To_C("" & Character'Val(10)))); for k in integer range 1..50 loop PInt(k); end loop; PString(new char_array'( To_C("" & Character'Val(10)))); for j2 in integer range 169..220 loop PInt(e(t, j2)); end loop; PString(new char_array'( To_C("" & Character'Val(10)))); for k2 in integer range 90..110 loop PInt(k2); end loop; PString(new char_array'( To_C("" & Character'Val(10)))); out0 := 1; for l in integer range 0..6 loop puiss := exp0(10, l); v := e(t, puiss - 1); out0 := out0 * v; PString(new char_array'( To_C("10^"))); PInt(l); PString(new char_array'( To_C("="))); PInt(puiss); PString(new char_array'( To_C(" v="))); PInt(v); PString(new char_array'( To_C("" & Character'Val(10)))); end loop; PInt(out0); PString(new char_array'( To_C("" & Character'Val(10)))); end;
Applescript/Music_Toggle.applescript
dustindmiller/QTableTop
1
1565
<filename>Applescript/Music_Toggle.applescript tell application id "com.figure53.QLab.4" to tell front workspace set musicList to (q number of cues of cue "Music Playlists") set activePlaylist to (q name of cue "Music Toggle") set newTarg to (choose from list musicList with title "Music Playlist" with prompt "Select Playlist..." default items activePlaylist OK button name {"Toggle"} cancel button name {"Cancel"}) as string if newTarg is "false" then return else if cue ("Start " & newTarg) is running then start cue ("Stop " & newTarg) delay 0.1 set q color of cue "Music Toggle" to "Orange" set q name of cue "Music Toggle" to "Deactivating " & newTarg delay 5 set q color of cue "Music Toggle" to "mauve" set q name of cue "Music Toggle" to "No Active Playlist" else if cue ("Start " & newTarg) is not running and newTarg is not equal to activePlaylist then start cue newTarg if (cue ("Start " & activePlaylist) exists) and (cue ("Start " & activePlaylist) is running) then start cue ("Stop " & activePlaylist) end if delay 0.1 set q color of cue "Music Toggle" to "green" set q name of cue "Music Toggle" to newTarg else if cue ("Start " & newTarg) is not running and newTarg is equal to activePlaylist then start cue newTarg delay 0.1 set q color of cue "Music Toggle" to "green" set q name of cue "Music Toggle" to newTarg end if end tell
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt23.ads
best08618/asylo
7
3232
<reponame>best08618/asylo with Opt23_Pkg; use Opt23_Pkg; package Opt23 is procedure Proc (Driver : Rec); end Opt23;
src/careers.adb
thindil/steamsky
80
22652
-- Copyright 2018-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- Steam Sky is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with Steam Sky. If not, see <http://www.gnu.org/licenses/>. with Ada.Characters.Handling; use Ada.Characters.Handling; with DOM.Core; use DOM.Core; with DOM.Core.Documents; with DOM.Core.Nodes; use DOM.Core.Nodes; with DOM.Core.Elements; use DOM.Core.Elements; with Log; use Log; with Factions; use Factions; package body Careers is procedure Load_Careers(Reader: Tree_Reader) is Temp_Record: Career_Record; Nodes_List, Child_Nodes: Node_List; Careers_Data: Document; Skill_Name, Career_Index: Unbounded_String; Tmp_Skills: UnboundedString_Container.Vector; Delete_Index: Positive; Career_Node: Node; Action, Skill_Action: Data_Action; begin Careers_Data := Get_Tree(Read => Reader); Nodes_List := DOM.Core.Documents.Get_Elements_By_Tag_Name (Doc => Careers_Data, Tag_Name => "career"); Load_Careers_Loop : for I in 0 .. Length(List => Nodes_List) - 1 loop Temp_Record := (Name => Null_Unbounded_String, Skills => Tmp_Skills); Career_Node := Item(List => Nodes_List, Index => I); Career_Index := To_Unbounded_String (Source => Get_Attribute(Elem => Career_Node, Name => "index")); Action := (if Get_Attribute(Elem => Career_Node, Name => "action")'Length > 0 then Data_Action'Value (Get_Attribute(Elem => Career_Node, Name => "action")) else ADD); if Action in UPDATE | REMOVE then if not Careers_Container.Contains (Container => Careers_List, Key => Career_Index) then raise Data_Loading_Error with "Can't " & To_Lower(Item => Data_Action'Image(Action)) & " career '" & To_String(Source => Career_Index) & "', there is no career with that index."; end if; elsif Careers_Container.Contains (Container => Careers_List, Key => Career_Index) then raise Data_Loading_Error with "Can't add career '" & To_String(Source => Career_Index) & "', there is already a career with that index."; end if; if Action /= REMOVE then if Action = UPDATE then Temp_Record := Careers_List(Career_Index); end if; if Get_Attribute(Elem => Career_Node, Name => "name") /= "" then Temp_Record.Name := To_Unbounded_String (Source => Get_Attribute(Elem => Career_Node, Name => "name")); end if; Child_Nodes := DOM.Core.Elements.Get_Elements_By_Tag_Name (Elem => Career_Node, Name => "skill"); Read_Skills_Loop : for J in 0 .. Length(List => Child_Nodes) - 1 loop Skill_Name := To_Unbounded_String (Source => Get_Attribute (Elem => Item(List => Child_Nodes, Index => J), Name => "name")); Skill_Action := (if Get_Attribute(Item(Child_Nodes, J), "action")'Length > 0 then Data_Action'Value (Get_Attribute(Item(Child_Nodes, J), "action")) else ADD); if Find_Skill_Index(To_String(Skill_Name)) = 0 then raise Data_Loading_Error with "Can't " & To_Lower(Data_Action'Image(Action)) & "career '" & To_String(Career_Index) & "', skill '" & To_String(Skill_Name) & "' not exists"; end if; if Skill_Action /= REMOVE then Temp_Record.Skills.Append(New_Item => Skill_Name); else Delete_Index := Temp_Record.Skills.First_Index; Remove_Skills_Loop : while Delete_Index <= Temp_Record.Skills.Last_Index loop if Temp_Record.Skills(Delete_Index) = Skill_Name then Temp_Record.Skills.Delete(Index => Delete_Index); exit Remove_Skills_Loop; end if; Delete_Index := Delete_Index + 1; end loop Remove_Skills_Loop; end if; end loop Read_Skills_Loop; if Action /= UPDATE then Careers_Container.Include (Careers_List, Career_Index, Temp_Record); Log_Message ("Career added: " & To_String(Temp_Record.Name), EVERYTHING); else Careers_List(Career_Index) := Temp_Record; Log_Message ("Career updated: " & To_String(Temp_Record.Name), EVERYTHING); end if; else Careers_Container.Exclude(Careers_List, Career_Index); Remove_Careers_Loop : for Faction of Factions_List loop Factions.Careers_Container.Exclude (Faction.Careers, Career_Index); end loop Remove_Careers_Loop; Log_Message ("Career removed: " & To_String(Career_Index), EVERYTHING); end if; end loop Load_Careers_Loop; end Load_Careers; end Careers;
source/tests/regions-tests.adb
reznikmm/declarative-regions
0
16533
with Regions.Contexts; with Regions.Entities.Packages; with Regions.Environments.Factories; package body Regions.Tests is procedure Symbol_Exists (Region : Regions.Region'Class; Symbol : Regions.Symbols.Symbol; Expect : Boolean) is Has_Symbol : Boolean := False; begin for X in Region.Immediate_Visible_Backward (Symbol) loop Has_Symbol := True; end loop; pragma Assert (Expect = Has_Symbol); end Symbol_Exists; ------------------- -- Test_Standard -- ------------------- procedure Test_Standard is Ctx : aliased Regions.Contexts.Context; F : aliased Regions.Environments.Factories.Factory (Ctx'Unchecked_Access); Standard_Symbol : constant := 1; Root : constant Regions.Environments.Environment := F.Root_Environment; Standard_Package : Regions.Entities.Packages.Package_Access; Standard_Name : Regions.Contexts.Entity_Name; Standard_Full_Name : Regions.Contexts.Selected_Entity_Name; begin Ctx.New_Entity_Name (Standard_Symbol, Standard_Name); Ctx.New_Selected_Name (Ctx.Root_Name, Standard_Name, Standard_Full_Name); Standard_Package := F.Create_Package (Root, Standard_Full_Name); pragma Assert (Standard_Package.Is_Assigned); -- Append Standard package to the first region in root F.Append_Entity (Regions.Region'Class (Root.Nested_Regions.First.Entity.all), Standard_Symbol, Regions.Entities.Entity_Access (Standard_Package)); declare First : Boolean := True; Env : constant Regions.Environments.Environment := F.Enter_Region (Root, Standard_Package); begin for Cursor in Env.Nested_Regions loop declare Region : Regions.Region'Class renames Regions.Region'Class (Cursor.Entity.all); begin Symbol_Exists (Region, Standard_Symbol, not First); if First then pragma Assert (Cursor.Left = 1, "two regions expected"); First := False; end if; end; end loop; end; end Test_Standard; end Regions.Tests;
agda/Relation/Nullary/Decidable/Logic.agda
oisdk/combinatorics-paper
4
8692
{-# OPTIONS --cubical --safe --postfix-projections #-} module Relation.Nullary.Decidable.Logic where open import Prelude open import Data.Sum infixl 7 _&&_ _&&_ : Dec A → Dec B → Dec (A × B) (x && y) .does = x .does and y .does (yes x && yes y) .why = ofʸ (x , y) (yes x && no y) .why = ofⁿ (y ∘ snd) (no x && y) .why = ofⁿ (x ∘ fst) infixl 6 _||_ _||_ : Dec A → Dec B → Dec (A ⊎ B) (x || y) .does = x .does or y .does (yes x || y) .why = ofʸ (inl x) (no x || yes y) .why = ofʸ (inr y) (no x || no y) .why = ofⁿ (either x y) ! : Dec A → Dec (¬ A) ! x .does = not (x .does) ! (yes x) .why = ofⁿ (λ z → z x) ! (no x) .why = ofʸ x
sensibility.agda
hazelgrove/hazelnut-agda
0
2216
open import Nat open import Prelude open import binders-disjoint-checks open import judgemental-erase open import lemmas-matching open import moveerase open import statics-core open import synth-unicity module sensibility where mutual -- if an action transforms a zexp in a synthetic posistion to another zexp, -- they have the same type up erasure of the cursor actsense-synth : {Γ : tctx} {e e' : zexp} {e◆ e'◆ : hexp} {t t' : htyp} {α : action} → erase-e e e◆ → erase-e e' e'◆ → Γ ⊢ e => t ~ α ~> e' => t' → Γ ⊢ e◆ => t → Γ ⊢ e'◆ => t' -- in the movement case, we defer to the movement erasure theorem actsense-synth er er' (SAMove x) wt with erasee-det (moveerasee' er x) er' ... | refl = wt -- in all the nonzipper cases, the cursor must be at the top for the -- action rule to apply, so we just build the new derivation -- directly. no recursion is needed; these are effectively base cases. actsense-synth _ EETop SADel _ = SEHole actsense-synth EETop (EEAscR ETTop) SAConAsc wt = SAsc (ASubsume wt TCRefl) actsense-synth _ EETop (SAConVar p) _ = SVar p actsense-synth EETop (EEHalfLamL ETTop) (SAConLam x) SEHole = SLam x SEHole actsense-synth EETop (EEApR EETop) (SAConApArr x) wt = SAp wt x (ASubsume SEHole TCHole1) actsense-synth EETop (EEApR EETop) (SAConApOtw x) wt = SAp (SNEHole wt) MAHole (ASubsume SEHole TCRefl) actsense-synth _ EETop SAConNumlit _ = SNum actsense-synth EETop (EEPlusR EETop) (SAConPlus1 TCRefl) wt = SPlus (ASubsume wt TCRefl) (ASubsume SEHole TCHole1) actsense-synth EETop (EEPlusR EETop) (SAConPlus1 TCHole2) wt = SPlus (ASubsume wt TCHole1) (ASubsume SEHole TCHole1) actsense-synth EETop (EEPlusR EETop) (SAConPlus2 _) wt = SPlus (ASubsume (SNEHole wt) TCHole1) (ASubsume SEHole TCHole1) actsense-synth EETop (EENEHole EETop) (SAConNEHole) wt = SNEHole wt actsense-synth _ EETop (SAFinish x) _ = x actsense-synth EETop (EEAscR (ETPlusL ETTop)) SAConInl SEHole = SAsc (AInl MSSum (ASubsume SEHole TCRefl)) actsense-synth EETop (EEAscR (ETPlusR ETTop)) SAConInr SEHole = SAsc (AInr MSSum (ASubsume SEHole TCRefl)) actsense-synth EETop (EEAscL (EECase2 EETop)) (SAConCase1 c d e₁) f = SAsc (ACase c d e₁ f (ASubsume SEHole TCRefl) (ASubsume SEHole TCRefl)) actsense-synth EETop (EEAscL (EECase1 (EENEHole EETop))) (SAConCase2 c d e₁) f = SAsc (ACase c d MSHole (SNEHole f) (ASubsume SEHole TCRefl) (ASubsume SEHole TCRefl)) actsense-synth EETop (EEPairL EETop) SAConPair SEHole = SPair SEHole SEHole actsense-synth EETop EETop (SAConFst1 pr) wt = SFst wt pr actsense-synth EETop (EEFst er) (SAConFst2 inc) wt with erase-e◆ er ... | refl = SFst (SNEHole wt) MPHole actsense-synth EETop EETop (SAConSnd1 pr) wt = SSnd wt pr actsense-synth EETop (EESnd er) (SAConSnd2 inc) wt with erase-e◆ er ... | refl = SSnd (SNEHole wt) MPHole --- zipper cases. in each, we recur on the smaller action derivation --- following the zipper structure, then reassemble the result actsense-synth (EEAscL er) (EEAscL er') (SAZipAsc1 x) (SAsc x₁) with actsense-ana er er' x x₁ ... | ih = SAsc ih actsense-synth (EEAscR x₁) (EEAscR x) (SAZipAsc2 x₂ x₃ x₄ x₅) (SAsc x₆) with eraset-det x x₃ ... | refl = SAsc x₅ actsense-synth (EEHalfLamL x₆) (EEHalfLamL x₇) (SAZipLam1 x x₁ x₂ x₃ x₄ x₅) (SLam x₈ wt) with eraset-det x₁ x₆ | eraset-det x₂ x₇ ... | refl | refl = SLam x₈ x₅ actsense-synth (EEHalfLamR er) (EEHalfLamR er') (SAZipLam2 x x₁ x₂ x₃) (SLam x₄ wt) with actsense-synth x₁ er' x₃ x₂ ... | ih = SLam x₄ ih actsense-synth er (EEApL er') (SAZipApArr x x₁ x₂ act x₃) wt with actsense-synth x₁ er' act x₂ ... | ih = SAp ih x x₃ actsense-synth (EEApR er) (EEApR er') (SAZipApAna x x₁ x₂) (SAp wt x₃ x₄) with synthunicity x₁ wt ... | refl with ▸arr-unicity x x₃ ... | refl with actsense-ana er er' x₂ x₄ ... | ih = SAp wt x ih actsense-synth (EEPlusL er) (EEPlusL er') (SAZipPlus1 x) (SPlus x₁ x₂) with actsense-ana er er' x x₁ ... | ih = SPlus ih x₂ actsense-synth (EEPlusR er) (EEPlusR er') (SAZipPlus2 x) (SPlus x₁ x₂) with actsense-ana er er' x x₂ ... | ih = SPlus x₁ ih actsense-synth er (EENEHole er') (SAZipNEHole x x₁ act) wt with actsense-synth x er' act x₁ ... | ih = SNEHole ih actsense-synth (EEPairL er) (EEPairL er') (SAZipPair1 x₁ x₂ y x₃) (SPair z₁ z₂) with actsense-synth er er' y z₁ ... | ih = SPair ih z₂ actsense-synth (EEPairR er) (EEPairR er') (SAZipPair2 x₁ x₂ x₃ y) (SPair z₁ z₂) with actsense-synth er er' y z₂ ... | ih = SPair z₁ ih actsense-synth (EEFst er) (EEFst er') (SAZipFst x₁ x₂ x₃ x₄ y) (SFst z₁ z₂) with actsense-synth x₃ er' y x₄ ... | ih = SFst ih x₂ actsense-synth (EESnd er) (EESnd er') (SAZipSnd x₁ x₂ x₃ x₄ y) (SSnd z₁ z₂) with actsense-synth x₃ er' y x₄ ... | ih = SSnd ih x₂ -- if an action transforms an zexp in an analytic posistion to another zexp, -- they have the same type up erasure of the cursor. actsense-ana : {Γ : tctx} {e e' : zexp} {e◆ e'◆ : hexp} {t : htyp} {α : action} → erase-e e e◆ → erase-e e' e'◆ → Γ ⊢ e ~ α ~> e' ⇐ t → Γ ⊢ e◆ <= t → Γ ⊢ e'◆ <= t -- in the subsumption case, punt to the other theorem actsense-ana er1 er2 (AASubsume x x₁ x₂ x₃) _ = ASubsume (actsense-synth x er2 x₂ x₁) x₃ -- for movement, appeal to the movement-erasure theorem actsense-ana er1 er2 (AAMove x) wt with erasee-det (moveerasee' er1 x) er2 ... | refl = wt -- in the nonzipper cases, we again know where the hole must be, so we -- force it and then build the relevant derivation directly. actsense-ana EETop EETop AADel wt = ASubsume SEHole TCHole1 actsense-ana EETop (EEAscR ETTop) AAConAsc wt = ASubsume (SAsc wt) TCRefl actsense-ana EETop (EENEHole EETop) (AAConVar x₁ p) wt = ASubsume (SNEHole (SVar p)) TCHole1 actsense-ana EETop (EELam EETop) (AAConLam1 x₁ x₂) wt = ALam x₁ x₂ (ASubsume SEHole TCHole1) actsense-ana EETop (EENEHole EETop) (AAConNumlit x) wt = ASubsume (SNEHole SNum) TCHole1 actsense-ana EETop EETop (AAFinish x) wt = x actsense-ana EETop (EENEHole (EEAscR (ETArrL ETTop))) (AAConLam2 x _) (ASubsume SEHole q) = ASubsume (SNEHole (SAsc (ALam x MAArr (ASubsume SEHole TCRefl)))) q -- all subsumptions in the right derivation are bogus, because there's no -- rule for lambdas synthetically actsense-ana (EELam _) (EELam _) (AAZipLam _ _ _) (ASubsume () _) -- that leaves only the zipper cases for lambda, where we force the -- forms and then recurr into the body of the lambda being checked. actsense-ana (EELam er1) (EELam er2) (AAZipLam x₁ x₂ act) (ALam x₄ x₅ wt) with ▸arr-unicity x₂ x₅ ... | refl with actsense-ana er1 er2 act wt ... | ih = ALam x₄ x₅ ih -- constructing injections actsense-ana EETop (EEInl EETop) (AAConInl1 e) _ = AInl e (ASubsume SEHole TCHole1) actsense-ana EETop (EENEHole (EEAscR (ETPlusL ETTop))) (AAConInl2 e) _ = ASubsume (SNEHole (SAsc (AInl MSSum (ASubsume SEHole TCRefl)))) TCHole1 actsense-ana EETop (EEInr EETop) (AAConInr1 e) _ = AInr e (ASubsume SEHole TCHole1) actsense-ana EETop (EENEHole (EEAscR (ETPlusL ETTop))) (AAConInr2 e) _ = ASubsume (SNEHole (SAsc (AInr MSSum (ASubsume SEHole TCRefl)))) TCHole1 -- constructing case actsense-ana EETop (EECase1 EETop) (AAConCase a b) wt = ACase a b MSHole SEHole (ASubsume SEHole TCHole1) (ASubsume SEHole TCHole1) -- the ASubsume cases are all impossible, by forcing the form via the erasure actsense-ana (EEInl _) (EEInl _) (AAZipInl _ _ ) (ASubsume () _) actsense-ana (EEInr _) (EEInr _) (AAZipInr _ _) (ASubsume () _) actsense-ana (EECase1 _) (EECase1 _) (AAZipCase1 _ _ _ _ _ _ _ _) (ASubsume () _) actsense-ana (EECase2 _) (EECase2 _) (AAZipCase2 _ _ _ _ _) (ASubsume () _) actsense-ana (EECase3 _) (EECase3 _) (AAZipCase3 _ _ _ _ _) (ASubsume () _) -- zipper cases for sum types actsense-ana (EEInl er1) (EEInl er2) (AAZipInl m1 b) (AInl m2 wt) with ▸sum-unicity m1 m2 ... | refl with actsense-ana er1 er2 b wt ... | wt' = AInl m1 wt' actsense-ana (EEInr er1) (EEInr er2) (AAZipInr m1 b) (AInr m2 wt) with ▸sum-unicity m1 m2 ... | refl with actsense-ana er1 er2 b wt ... | wt' = AInr m1 wt' actsense-ana (EECase1 er1) (EECase1 er2) (AAZipCase1 x₁ x₂ x₃ x₄ x₅ x₆ x₇ x₈) (ACase x₉ x₁₀ x₁₁ x₁₂ wt wt₁) with actsense-synth x₃ (rel◆ _) x₅ x₄ ... | ih = ACase x₉ x₁₀ x₆ (lem-synth-erase ih er2) x₇ x₈ actsense-ana (EECase2 er1) (EECase2 er2) (AAZipCase2 x₁ x₂ s1 x₄ x₅) (ACase x₇ x₈ x₉ s2 wt wt₁) with synthunicity s1 s2 ... | refl with ▸sum-unicity x₉ x₄ ... | refl with actsense-ana er1 er2 x₅ wt ... | ih = ACase x₇ x₈ x₉ s2 ih wt₁ actsense-ana (EECase3 er1) (EECase3 er2) (AAZipCase3 x₁ x₃ s1 x₄ x₆) (ACase x₇ x₈ x₉ s2 wt wt₁) with synthunicity s2 s1 ... | refl with ▸sum-unicity x₉ x₄ ... | refl with actsense-ana er1 er2 x₆ wt₁ ... | ih = ACase x₇ x₈ x₉ s2 wt ih
programs/oeis/103/A103831.asm
karttu/loda
1
242491
<gh_stars>1-10 ; A103831: For even n, a(n) = n*(n+1), for odd n, a(n) = 2*n + 1. ; 0,3,6,7,20,11,42,15,72,19,110,23,156,27,210,31,272,35,342,39,420,43,506,47,600,51,702,55,812,59,930,63,1056,67,1190,71,1332,75,1482,79,1640,83,1806,87,1980,91,2162,95,2352,99,2550,103,2756,107,2970,111,3192,115,3422,119,3660,123,3906,127,4160,131,4422,135,4692,139,4970,143,5256,147,5550,151,5852,155,6162,159,6480,163,6806,167,7140,171,7482,175,7832,179,8190,183,8556,187,8930,191,9312,195,9702,199,10100,203,10506,207,10920,211,11342,215,11772,219,12210,223,12656,227,13110,231,13572,235,14042,239,14520,243,15006,247,15500,251,16002,255,16512,259,17030,263,17556,267,18090,271,18632,275,19182,279,19740,283,20306,287,20880,291,21462,295,22052,299,22650,303,23256,307,23870,311,24492,315,25122,319,25760,323,26406,327,27060,331,27722,335,28392,339,29070,343,29756,347,30450,351,31152,355,31862,359,32580,363,33306,367,34040,371,34782,375,35532,379,36290,383,37056,387,37830,391,38612,395,39402,399,40200,403,41006,407,41820,411,42642,415,43472,419,44310,423,45156,427,46010,431,46872,435,47742,439,48620,443,49506,447,50400,451,51302,455,52212,459,53130,463,54056,467,54990,471,55932,475,56882,479,57840,483,58806,487,59780,491,60762,495,61752,499 mov $1,2 gcd $1,$0 mov $2,$0 pow $0,$1 mul $1,2 mod $1,3 add $1,$0 sub $1,1 add $1,$2
src/spi_master_itsybitsy.ads
hgrodriguez/spi_two_devices
0
24809
--=========================================================================== -- -- This package is the master configuration for the ItsyBitsy -- use cases: -- 3: Master ItsyBitsy -> Slave Pico -- 4: Master ItsyBitsy -> Slave ItsyBitsy -- --=========================================================================== -- -- Copyright 2022 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- with HAL.SPI; with RP.Device; with RP.GPIO; with RP.SPI; with ItsyBitsy; package SPI_Master_ItsyBitsy is ----------------------------------------------------------------------- -- Master section SPI : RP.SPI.SPI_Port renames RP.Device.SPI_1; SCK : RP.GPIO.GPIO_Point renames ItsyBitsy.GP26; NSS : RP.GPIO.GPIO_Point renames ItsyBitsy.GP29; MOSI : RP.GPIO.GPIO_Point renames ItsyBitsy.GP27; MISO : RP.GPIO.GPIO_Point renames ItsyBitsy.GP28; ----------------------------------------------------------------------- -- Configuration for the master part for the ItsyBitsy Config : constant RP.SPI.SPI_Configuration := (Role => RP.SPI.Master, Baud => 10_000_000, Data_Size => HAL.SPI.Data_Size_16b, others => <>); ----------------------------------------------------------------------- -- Initializes the ItsyBitsy as master procedure Initialize; end SPI_Master_ItsyBitsy;
Cubical/Core/Everything.agda
dan-iel-lee/cubical
0
10238
<reponame>dan-iel-lee/cubical {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Core.Everything where -- Basic primitives (some are from Agda.Primitive) open import Cubical.Core.Primitives public -- Definition of equivalences and Glue types open import Cubical.Core.Glue public -- Definition of cubical Identity types open import Cubical.Core.Id
macOS/login_items.applescript
darenas31415/dotfiles
0
1581
<filename>macOS/login_items.applescript # "¬" charachter tells osascript that the line continues set login_item_list to {¬ "Dropbox",¬ "Spectacle"¬ } tell application "System Events" to delete every login item repeat with login_item in login_item_list tell application "System Events" make login item with properties {name: login_item, path: ("/Applications/" & login_item & ".app"), hidden: true } end tell end repeat
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1282.asm
ljhsiun2/medusa
9
103394
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1282.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1e854, %rsi lea addresses_A_ht+0x3054, %rdi nop nop nop nop inc %rdx mov $67, %rcx rep movsw nop nop nop and %r13, %r13 lea addresses_A_ht+0x3d54, %rsi lea addresses_D_ht+0x1b254, %rdi nop xor $64930, %r10 mov $89, %rcx rep movsl nop nop cmp $59836, %r10 lea addresses_WT_ht+0x19374, %r10 cmp $19457, %rsi mov (%r10), %rdx and $9432, %rsi lea addresses_WC_ht+0x2c54, %rdi nop nop nop nop nop and $34041, %r10 movups (%rdi), %xmm6 vpextrq $0, %xmm6, %rdx nop nop nop nop nop and $36778, %rdi lea addresses_WC_ht+0xd654, %rsi lea addresses_WT_ht+0xda54, %rdi nop sub %rbx, %rbx mov $101, %rcx rep movsl nop xor %rbx, %rbx lea addresses_normal_ht+0x7f67, %r10 nop cmp %rsi, %rsi mov (%r10), %dx nop nop nop nop nop sub %r13, %r13 lea addresses_WT_ht+0x2914, %r13 add %rsi, %rsi movw $0x6162, (%r13) nop nop nop inc %rbx lea addresses_WC_ht+0x10ff4, %rbx nop nop add %r13, %r13 movb $0x61, (%rbx) nop add %r10, %r10 pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r8 push %r9 push %rcx push %rdx // Store lea addresses_US+0x554c, %r9 nop nop nop add $21290, %rcx movl $0x51525354, (%r9) nop nop nop cmp $41614, %rcx // Store lea addresses_RW+0x3734, %r13 add $54795, %r11 movw $0x5152, (%r13) and %r11, %r11 // Store lea addresses_D+0x87b4, %r8 nop nop nop nop nop dec %r12 movw $0x5152, (%r8) nop nop nop nop nop inc %r8 // Faulty Load lea addresses_RW+0x5a54, %rdx nop nop nop nop nop add %r9, %r9 mov (%rdx), %cx lea oracles, %r12 and $0xff, %rcx shlq $12, %rcx mov (%r12,%rcx,1), %rcx pop %rdx pop %rcx pop %r9 pop %r8 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_US', 'AVXalign': False, 'size': 4}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_D', 'AVXalign': False, 'size': 2}} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}} {'src': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}} {'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_WT_ht'}} {'src': {'NT': True, 'same': False, 'congruent': 0, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 1}} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
4-high/gel/applet/demo/sprite/mixed_joints/launch_mixed_joints.adb
charlie5/lace-alire
1
3689
<filename>4-high/gel/applet/demo/sprite/mixed_joints/launch_mixed_joints.adb with gel.Window.sdl, gel.Applet.gui_world, gel.Forge, gel.Sprite, gel.hinge_Joint, gel.ball_Joint, gel.cone_twist_Joint, gel.slider_Joint, gel.any_Joint, openGL.Palette; pragma unreferenced (gel.Window.sdl); procedure launch_mixed_Joints -- -- Shows a variety of joints. -- is package Math renames gel.Math; use openGL, opengl.Palette; the_Applet : constant gel.Applet.gui_World.view := gel.Forge.new_gui_Applet ("mixed Joints", 1536, 864); begin the_Applet.gui_World .Gravity_is ((0.0, -10.0, 0.0)); the_Applet.gui_Camera.Site_is ((0.0, 4.0, 30.0)); -- Position the camera. the_Applet.Renderer .Background_is (Grey); the_Applet.enable_simple_Dolly (gel.Applet.gui_world.gui_world_Id); -- Enable user camera control via keyboard. -- Add joints. -- declare use gel.Forge, gel.linear_Algebra_3D, Math; begin -- Hinge -- declare the_hinge_Box_1 : constant gel.Sprite.view := new_box_Sprite (the_Applet.gui_World, Mass => 0.0); the_hinge_Box_2 : constant gel.Sprite.view := new_box_Sprite (the_Applet.gui_World); the_hinge_Joint : constant gel.hinge_Joint .view := new gel.hinge_Joint.item; Frame_A : constant math.Matrix_4x4 := math.Identity_4x4; Frame_B : math.Matrix_4x4 := math.Identity_4x4; begin set_Translation (Frame_B, ( 2.0, 2.0, 0.0)); the_hinge_Joint.define (the_Applet.gui_World.Space, the_hinge_Box_1, the_hinge_Box_2, Frame_A, Frame_B, collide_Conected => False); the_hinge_Box_1.Site_is (( 0.0, 0.0, 0.0)); the_hinge_Box_2.Site_is ((-1.0, 2.0, 0.0)); the_Applet.gui_World.add (the_hinge_Box_1, and_Children => False); the_Applet.gui_World.add (the_hinge_Box_2, and_Children => False); the_Applet.gui_World.add (the_hinge_Joint.all'Access); end; -- DoF6 -- declare the_DoF6_Box_1 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World, Mass => 0.0); the_DoF6_Box_2 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World); the_DoF6_Joint : constant gel.any_Joint.view := new gel.any_Joint.item; Frame_A : constant math.Matrix_4x4 := math.Identity_4x4; Frame_B : math.Matrix_4x4 := math.Identity_4x4; begin set_Translation (Frame_B, (2.0, 2.0, 0.0)); the_DoF6_Joint.define (the_Applet.gui_World.Space, the_DoF6_Box_1, the_DoF6_Box_2, Frame_A, Frame_B); the_DoF6_Box_1.Site_is ((-20.0, 0.0, 0.0)); the_DoF6_Box_2.Site_is ((-20.0 - 2.0, 0.0, 2.0)); the_Applet.gui_World.add (the_DoF6_Box_1); the_Applet.gui_World.add (the_DoF6_Box_2); the_Applet.gui_World.add (the_DoF6_Joint.all'Access); end; -- Ball -- declare the_ball_Box_1 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World, Mass => 0.0); the_ball_Box_2 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World); the_ball_Joint : constant gel.ball_Joint.view := new gel.ball_Joint.item; Pivot_in_A : constant math.Vector_3 := (0.0, -1.0, 0.0); Pivot_in_B : constant math.Vector_3 := (0.0, 1.0, 0.0); begin the_ball_Joint.define (the_Applet.gui_World.Space, the_ball_Box_1, the_ball_Box_2, Pivot_in_A, Pivot_in_B); the_ball_Box_1.Site_is ((-10.0, 0.0, 0.0)); the_ball_Box_2.Site_is ((-10.0 - 2.0, 0.0, 2.0)); the_Applet.gui_World.add (the_ball_Box_1); the_Applet.gui_World.add (the_ball_Box_2); the_Applet.gui_World.add (the_ball_Joint.all'Access); end; -- Slider -- declare the_slider_Box_1 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World, Mass => 0.0); the_slider_Box_2 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World); the_slider_Joint : constant gel.slider_Joint.view := new gel.slider_Joint.item; Frame_A : math.Matrix_4x4 := math.Identity_4x4; Frame_B : math.Matrix_4x4 := math.Identity_4x4; y_Rot : math.Matrix_3x3 := y_Rotation_from (to_Radians (45.0)); x_Rot : math.Matrix_3x3 := x_Rotation_from (to_Radians (45.0)); begin set_Translation (Frame_A, (-4.0, 4.0, -4.0)); set_Translation (Frame_B, ( 4.0, 0.0, 0.0)); -- set_Rotation (Frame_A, x_Rot); -- set_Rotation (Frame_B, x_Rot); the_slider_Joint.define (the_Applet.gui_World.Space, the_slider_Box_1, the_slider_Box_2, Frame_A, Frame_B); the_slider_Box_1.Site_is ((-10.0, 10.0, 0.0)); the_slider_Box_2.Site_is ((-10.0 - 2.0, 15.0, 0.0)); the_Applet.gui_World.add (the_slider_Box_1); the_Applet.gui_World.add (the_slider_Box_2); the_Applet.gui_World.add (the_slider_Joint.all'Access); end; -- cone Twist -- declare the_cone_twist_Box_1 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World, Mass => 0.0); the_cone_twist_Box_2 : constant gel.Sprite .view := new_box_Sprite (the_Applet.gui_World); the_cone_twist_Joint : constant gel.cone_twist_Joint.view := new gel.cone_twist_Joint.item; Frame_A : constant math.Matrix_4x4 := math.Identity_4x4; Frame_B : math.Matrix_4x4 := math.Identity_4x4; y_Rot : math.Matrix_3x3 := y_Rotation_from (to_Radians (45.0)); x_Rot : math.Matrix_3x3 := x_Rotation_from (to_Radians (45.0)); begin -- set_Translation (Frame_A, ( -4.0, 4.0, -4.0)); set_Translation (Frame_B, (4.0, 0.0, 0.0)); -- set_Rotation (Frame_A, x_Rot); -- set_Rotation (Frame_B, x_Rot); the_cone_twist_Joint.define (the_Applet.gui_World.Space, the_cone_twist_Box_1, the_cone_twist_Box_2, Frame_A, Frame_B); the_cone_twist_Box_1.Site_is ((10.0, 10.0, 0.0)); the_cone_twist_Box_2.Site_is ((10.0 + 2.0, 10.0, 0.0)); the_Applet.gui_World.add (the_cone_twist_Box_1); the_Applet.gui_World.add (the_cone_twist_Box_2); the_Applet.gui_World.add (the_cone_twist_Joint.all'Access); end; end; while the_Applet.is_open loop the_Applet.freshen; -- Handle any new events, evolve the world and update the screen. end loop; the_Applet.destroy; end launch_mixed_Joints;
source/streams/a-storio.ads
ytomino/drake
33
21568
pragma License (Unrestricted); with Ada.IO_Exceptions; with System.Storage_Elements; generic type Element_Type is private; package Ada.Storage_IO is pragma Preelaborate; Buffer_Size : constant System.Storage_Elements.Storage_Count := Element_Type'Max_Size_In_Storage_Elements; -- implementation-defined subtype Buffer_Type is System.Storage_Elements.Storage_Array (1 .. Buffer_Size); -- Input and output operations procedure Read (Buffer : Buffer_Type; Item : out Element_Type); pragma Inline (Read); procedure Write (Buffer : out Buffer_Type; Item : Element_Type); pragma Inline (Write); -- Exceptions Data_Error : exception renames IO_Exceptions.Data_Error; end Ada.Storage_IO;
programs/oeis/303/A303590.asm
neoneye/loda
22
1613
<gh_stars>10-100 ; A303590: Floor(n*beta)-1, where 1/alpha+1/beta=1, alpha being the number with continued fraction expansion [1;1,2,3,4,5,...] (A247844). ; 1,3,6,8,11,13,16,18,20,23,25,28,30,33,35,37,40,42,45,47,50,52,54,57,59,62,64,67,69,71,74,76,79,81,84,86,89,91,93,96,98,101,103,106,108,110,113,115,118,120,123,125,127,130,132,135,137,140,142,144,147,149,152,154,157,159,162,164,166,169,171,174,176 mov $3,$0 add $0,6 mov $1,$0 sub $0,6 mul $1,2 add $0,$1 mov $4,6 lpb $1 add $0,5 sub $1,1 lpe lpb $4 sub $4,1 add $5,5 lpe div $0,$5 sub $0,1 mov $2,$3 mul $2,2 add $0,$2
Engine Hacks/Strmag/Strmag/Str Mag Split/Unit Viewer/Unit Viewer.asm
sme23/Christmas2
3
12126
.thumb .org 0x0 push {r14} ldr r6,[r4] ldr r6,[r6] @char data ldr r0,MagGetter mov r14,r0 mov r0,r6 .short 0xF800 ldr r1,[r6,#0x4] ldrb r1,[r1,#0x4] lsl r1,#0x2 ldr r2,MagClassTable add r2,r1 ldrb r2,[r2,#0x2] mov r1,#0x2 cmp r0,r2 bne NoGlowyMag mov r1,#0x4 NoGlowyMag: mov r2,r0 ldr r0,ProcessMag mov r14,r0 mov r0,r5 add r0,#0x18 .short 0xF800 pop {r0} bx r0 .align ProcessMag: .long 0x08004B94 MagGetter: .long 0x080191B8 MagClassTable:
Type/Cubical/Univalence.agda
Lolirofle/stuff-in-agda
6
9641
<reponame>Lolirofle/stuff-in-agda<filename>Type/Cubical/Univalence.agda {-# OPTIONS --cubical #-} module Type.Cubical.Univalence where open import Function.Axioms open import Functional open import Logic.Predicate open import Logic.Propositional import Lvl open import Structure.Function.Domain using (intro ; Inverseₗ ; Inverseᵣ) open import Structure.Relator.Properties open import Structure.Type.Identity open import Type.Cubical.Path.Equality open import Type.Cubical.Equiv open import Type.Cubical open import Type.Properties.MereProposition open import Type private variable ℓ ℓ₁ ℓ₂ : Lvl.Level private variable T A B P Q : Type{ℓ} -- TODO: Move primitive primGlue : (A : Type{ℓ₁}) → ∀{i : Interval} → (T : Interval.Partial i (Type{ℓ₂})) → (e : Interval.PartialP i (\o → T(o) ≍ A)) → Type{ℓ₂} type-extensionalityₗ : (A ≡ B) ← (A ≍ B) type-extensionalityₗ {A = A}{B = B} ab i = primGlue(B) (\{(i = Interval.𝟎) → A ; (i = Interval.𝟏) → B}) (\{(i = Interval.𝟎) → ab ; (i = Interval.𝟏) → reflexivity(_≍_)}) module _ ⦃ prop-P : MereProposition{ℓ}(P) ⦄ ⦃ prop-Q : MereProposition{ℓ}(Q) ⦄ where propositional-extensionalityₗ : (P ≡ Q) ← (P ↔ Q) propositional-extensionalityₗ pq = type-extensionalityₗ([∃]-intro pq ⦃ intro ⦄) where instance l : Inverseₗ([↔]-to-[←] pq)([↔]-to-[→] pq) Inverseᵣ.proof l = uniqueness(Q) instance r : Inverseᵣ([↔]-to-[←] pq)([↔]-to-[→] pq) Inverseᵣ.proof r = uniqueness(P) module _ {P Q : T → Type} ⦃ prop-P : ∀{x} → MereProposition{ℓ}(P(x)) ⦄ ⦃ prop-Q : ∀{x} → MereProposition{ℓ}(Q(x)) ⦄ where prop-set-extensionalityₗ : (P ≡ Q) ← (∀{x} → P(x) ↔ Q(x)) prop-set-extensionalityₗ pq = functionExtensionalityOn P Q (propositional-extensionalityₗ pq) -- module _ ⦃ uip-P : UniqueIdentityProofs{ℓ}(P) ⦄ ⦃ uip-Q : UniqueIdentityProofs{ℓ}(Q) ⦄ where -- TODO: Actual proof of univalence
oeis/321/A321233.asm
neoneye/loda-programs
11
90984
; A321233: a(n) is the number of reflectable bases of the root system of type D_n. ; Submitted by <NAME> ; 0,4,128,4992,241664,14131200,972521472,77138231296,6935178903552,697359579217920,77576992194560000,9461629052252061696,1255632936007234486272,180144800985155488448512,27786422394606966747955200,4585649599904345055716966400,806288164205933489807717040128 mov $1,$0 mov $0,2 pow $0,$1 seq $1,320064 ; The number of F_2 graphs on { 1, 2, ..., n } with a unique cycle of weight 1, which corresponds to the number of reflectable bases of the root system of type D_n. mul $1,$0 mov $0,$1 mul $0,2
alloy4fun_models/trashltl/models/3/m9HZE2fZt9WwXrsGe.als
Kaixi26/org.alloytools.alloy
0
4377
<gh_stars>0 open main pred idm9HZE2fZt9WwXrsGe_prop4 { some f: File | eventually f in Trash } pred __repair { idm9HZE2fZt9WwXrsGe_prop4 } check __repair { idm9HZE2fZt9WwXrsGe_prop4 <=> prop4o }
oeis/267/A267443.asm
neoneye/loda-programs
11
15207
; A267443: Binary representation of the middle column of the "Rule 129" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by <NAME> ; 1,10,101,1010,10101,101011,1010111,10101110,101011101,1010111011,10101110111,101011101111,1010111011111,10101110111111,101011101111111,1010111011111110,10101110111111101,101011101111111011,1010111011111110111,10101110111111101111,101011101111111011111,1010111011111110111111,10101110111111101111111,101011101111111011111111,1010111011111110111111111,10101110111111101111111111,101011101111111011111111111,1010111011111110111111111111,10101110111111101111111111111,101011101111111011111111111111 mov $2,$0 mov $4,$0 add $4,1 lpb $4 mov $0,$2 add $3,2 sub $4,1 sub $0,$4 add $0,2 mov $5,$0 mov $0,4 mul $1,10 mod $3,$5 trn $0,$3 mov $5,$0 div $5,4 pow $5,$0 add $1,$5 lpe mov $0,$1
programs/oeis/135/A135673.asm
jmorken/loda
1
244359
; A135673: Ceiling(n + n^(2/3)). ; 2,4,6,7,8,10,11,12,14,15,16,18,19,20,22,23,24,25,27,28,29,30,32,33,34,35,36,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,58,59,61,62,63,64,65,66,68,69,70,71,72,73,75,76,77,78,79,80,82,83,84,85,86,87,89,90,91,92,93,94,96,97,98,99,100,101,103,104,105,106,107,108,109,111,112,113,114,115,116,117,119,120,121,122,123,124,125,127,128,129,130,131,132,133,135,136,137,138,139,140,141,143,144,145,146,147,148,149,150,152,153,154,155,156,157,158,160,161,162,163,164,165,166,167,169,170,171,172,173,174,175,176,178,179,180,181,182,183,184,185,187,188,189,190,191,192,193,194,196,197,198,199,200,201,202,203,205,206,207,208,209,210,211,212,213,215,216,217,218,219,220,221,222,224,225,226,227,228,229,230,231,232,234,235,236,237,238,239,240,241,242,244,245,246,247,248,249,250,251,252,254,255,256,257,258,259,260,261,262,264,265,266,267,268,269,270,271,272,274,275,276,277,278,279,280,281,282,284,285,286,287,288,289,290 mov $9,$0 mov $11,$0 add $11,1 lpb $11 mov $0,$9 sub $11,1 sub $0,$11 mov $5,$0 mov $7,2 lpb $7 clr $0,5 mov $0,$5 sub $7,1 add $0,$7 sub $0,1 add $1,1 add $0,$1 pow $0,2 sub $0,1 cal $0,48766 ; Integer part of cube root of n. Or, number of cubes <= n. Or, n appears 3n^2 + 3n + 1 times. mov $1,$0 mov $8,$7 lpb $8 mov $6,$1 sub $8,1 lpe lpe lpb $5 mov $5,1 sub $6,$1 lpe mov $1,$6 add $1,1 add $10,$1 lpe mov $1,$10 add $1,1
lab4/example_e_1.asm
0000Blaze/Microprocess
0
173245
<filename>lab4/example_e_1.asm # ORG 8050 MVI A,80 OUT 43 MVI A,FF LXI H,8080 PCHL HLT # ORG 8080 DCR A OUT 42 JMP 8080
3-mid/opengl/source/lean/geometry/opengl-primitive-non_indexed.ads
charlie5/lace
20
25490
package openGL.Primitive.non_indexed -- -- Provides a class for non-indexed openGL primitives. -- is type Item is limited new Primitive.item with private; subtype Class is Item'Class; type View is access all Item'Class; type Views is array (Index_t range <>) of View; --------- -- Forge -- overriding procedure define (Self : in out Item; Kind : in facet_Kind); overriding procedure destroy (Self : in out Item); function new_Primitive (Kind : in facet_Kind; vertex_Count : in Natural) return Primitive.non_indexed.view; -------------- -- Operations -- overriding procedure render (Self : in out Item); private type Item is limited new Primitive.item with record vertex_Count : Natural := 0; end record; end openGL.Primitive.non_indexed;
programs/oeis/093/A093033.asm
neoneye/loda
22
93172
; A093033: Number of interior balls in a truncated octahedral arrangement. ; 6,79,314,807,1654,2951,4794,7279,10502,14559,19546,25559,32694,41047,50714,61791,74374,88559,104442,122119,141686,163239,186874,212687,240774,271231,304154,339639,377782,418679,462426,509119,558854,611727,667834,727271,790134,856519,926522,1000239,1077766,1159199,1244634,1334167,1427894,1525911,1628314,1735199,1846662,1962799,2083706,2209479,2340214,2476007,2616954,2763151,2914694,3071679,3234202,3402359,3576246,3755959,3941594,4133247,4331014,4534991,4745274,4961959,5185142,5414919,5651386,5894639,6144774,6401887,6666074,6937431,7216054,7502039,7795482,8096479,8405126,8721519,9045754,9377927,9718134,10066471,10423034,10787919,11161222,11543039,11933466,12332599,12740534,13157367,13583194,14018111,14462214,14915599,15378362,15850599 mov $1,6 mov $2,$0 mul $2,24 add $1,$2 mov $3,$0 mul $3,$0 mov $2,$3 mul $2,33 add $1,$2 mul $3,$0 mov $2,$3 mul $2,16 add $1,$2 mov $0,$1
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/allocators.adb
ouankou/rose
488
22091
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/allocators.adb procedure Extension_Aggregate is type Parent is tagged record C1 : Float; C2 : Float; end record; type Extension is new Parent with record C3 : Float; C4 : Float; end record; type Parent_Ptr is access Parent; type Extension_Ptr is access Extension; ParentA : Parent_Ptr; ExtenA : Extension_Ptr; begin ParentA := new Parent; ExtenA := new Extension'(C1 => 1.0, C2 => 2.0, C3 => 3.0, C4 => 4.0); null; end;
src/trainingdata.ads
sebsgit/textproc
0
28202
<reponame>sebsgit/textproc<filename>src/trainingdata.ads with MathUtils; with NNClassifier; with DataBatch; with PixelArray; with Ada.Strings.Unbounded; package TrainingData is pragma Elaborate_Body; pragma Assertion_Policy (Pre => Check, Post => Check, Type_Invariant => Check); type Set is tagged limited record values: DataBatch.Batch; labels: NNClassifier.LabelVector; end record with Dynamic_Predicate => values.size = Natural(labels.Length); blockSize: constant Positive := 28; blockArea: constant Positive := blockSize * blockSize; function size(data: in Set) return Natural; procedure add(data: in out Set; label: Natural; vec: MathUtils.Vector); procedure loadFrom(data: in out Set; path: in Ada.Strings.Unbounded.Unbounded_String); function toDataVector(img: in PixelArray.ImagePlane; invertPixels: Boolean := False) return MathUtils.Vector with Post => Natural(toDataVector'Result.Length) = img.width * img.height; end TrainingData;
oeis/164/A164123.asm
neoneye/loda-programs
11
27848
<gh_stars>10-100 ; A164123: Partial sums of A162436. ; Submitted by <NAME>(s1) ; 1,4,7,16,25,52,79,160,241,484,727,1456,2185,4372,6559,13120,19681,39364,59047,118096,177145,354292,531439,1062880,1594321,3188644,4782967,9565936,14348905,28697812,43046719,86093440,129140161,258280324,387420487,774840976,1162261465,2324522932,3486784399,6973568800,10460353201,20920706404,31381059607,62762119216,94143178825,188286357652,282429536479,564859072960,847288609441,1694577218884,2541865828327,5083731656656,7625597484985,15251194969972,22876792454959,45753584909920,68630377364881 mov $1,$0 mod $0,2 div $1,2 mov $2,3 pow $2,$1 mul $0,$2 add $0,$2 mul $0,3 sub $0,2
programs/oeis/133/A133463.asm
jmorken/loda
1
8788
; A133463: Partial sums of the sequence that starts with 2 and is followed by A111575. ; 2,3,4,5,6,9,12,15,18,27,36,45,54,81,108,135,162,243,324,405,486,729,972,1215,1458,2187,2916,3645,4374,6561,8748,10935,13122,19683,26244,32805,39366,59049,78732,98415,118098,177147,236196,295245,354294 mov $2,$0 add $2,1 mov $6,$0 lpb $2 mov $0,$6 sub $2,1 sub $0,$2 mul $0,2 sub $3,$3 add $3,1 mov $5,6 lpb $0 trn $0,8 mul $3,3 mov $5,$3 lpe mov $4,$5 sub $4,3 div $4,3 add $4,1 add $1,$4 lpe
dcf/src/dcf-streams-calendar.adb
onox/dcf-ada
5
25932
<filename>dcf/src/dcf-streams-calendar.adb package body DCF.Streams.Calendar is procedure Set_Time (S : out Root_Zipstream_Type'Class; Modification_Time : Ada.Calendar.Time) is begin Set_Time (S, Calendar.Convert (Modification_Time)); end Set_Time; function Get_Time (S : in Root_Zipstream_Type'Class) return Ada.Calendar.Time is begin return Calendar.Convert (Get_Time (S)); end Get_Time; ------------------------------------------------ -- Time = DOS Time. Valid through Year 2107 -- ------------------------------------------------ procedure Split (Date : Time; Year : out Year_Number; Month : out Month_Number; Day : out Day_Number; Seconds : out Day_Duration) is D_Date : constant Integer := Integer (Date / 65536); D_Time : constant Integer := Integer (Date and 65535); X : Integer; Hours : Integer; Minutes : Integer; Seconds_Only : Integer; begin Year := 1980 + D_Date / 512; X := (D_Date / 32) mod 16; if X not in Month_Number then -- that is 0, or in 13..15 raise Time_Error; end if; Month := X; X := D_Date mod 32; if X not in Day_Number then -- that is 0 raise Time_Error; end if; Day := X; Hours := D_Time / 2048; Minutes := (D_Time / 32) mod 64; Seconds_Only := 2 * (D_Time mod 32); if Hours not in 0 .. 23 or Minutes not in 0 .. 59 or Seconds_Only not in 0 .. 59 then raise Time_Error; end if; Seconds := Day_Duration (Hours * 3600 + Minutes * 60 + Seconds_Only); end Split; function Time_Of (Year : Year_Number; Month : Month_Number; Day : Day_Number; Seconds : Day_Duration := 0.0) return Time is Year_2 : Integer := Year; Hours : Unsigned_32; Minutes : Unsigned_32; Seconds_Only : Unsigned_32; Seconds_Day : Unsigned_32; Result : Unsigned_32; begin if Year_2 < 1980 then -- Avoid invalid DOS date Year_2 := 1980; end if; Seconds_Day := Unsigned_32 (Seconds); Hours := Seconds_Day / 3600; Minutes := (Seconds_Day / 60) mod 60; Seconds_Only := Seconds_Day mod 60; Result := -- MSDN formula for encoding: Unsigned_32 ((Year_2 - 1980) * 512 + Month * 32 + Day) * 65536 -- Date + Hours * 2048 + Minutes * 32 + Seconds_Only / 2; -- Time return Time (Result); end Time_Of; function ">" (Left, Right : Time) return Boolean is begin return Unsigned_32 (Left) > Unsigned_32 (Right); end ">"; function Convert (Date : in Ada.Calendar.Time) return Time is Year : Year_Number; Month : Month_Number; Day : Day_Number; Seconds_Day_Dur : Day_Duration; begin Split (Date, Year, Month, Day, Seconds_Day_Dur); return Time_Of (Year, Month, Day, Seconds_Day_Dur); end Convert; function Convert (Date : in Time) return Ada.Calendar.Time is Year : Year_Number; Month : Month_Number; Day : Day_Number; Seconds_Day_Dur : Day_Duration; begin Split (Date, Year, Month, Day, Seconds_Day_Dur); return Time_Of (Year, Month, Day, Seconds_Day_Dur); end Convert; end DCF.Streams.Calendar;
examples/fib2.asm
shockkolate/shk-asm
0
414
<reponame>shockkolate/shk-asm LOD $1, fib_digit CAL fib STO #1:#0, $0 ; stdout DIE ; in: fib digit ; out: result fib: MOV $0, #0 ; term 1 MOV $0x10, #1 ; term 2 MOV $0x11, #0 ; loop counter .loop: STO #1:#0, $0 ; stdout ADD $0x12, $0, $0x10 MOV $0, $0x10 MOV $0x10, $0x12 ADD $0x11, $0x11, #1 CMP $0x13, $0x11, $1 BRA .loop, !LT $0x13 .end: RET fib_digit: DAT #10
Cubical/Structures/Group/Morphism.agda
RobertHarper/cubical
0
1773
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Structures.Group.Morphism where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Structures.Group.Base private variable ℓ ℓ' : Level -- The following definition of GroupHom and GroupEquiv are level-wise heterogeneous. -- This allows for example to deduce that G ≡ F from a chain of isomorphisms -- G ≃ H ≃ F, even if H does not lie in the same level as G and F. isGroupHom : (G : Group {ℓ}) (H : Group {ℓ'}) (f : ⟨ G ⟩ → ⟨ H ⟩) → Type _ isGroupHom G H f = (x y : ⟨ G ⟩) → f (x G.+ y) ≡ (f x H.+ f y) where module G = Group G module H = Group H record GroupHom (G : Group {ℓ}) (H : Group {ℓ'}) : Type (ℓ-max ℓ ℓ') where constructor grouphom field fun : ⟨ G ⟩ → ⟨ H ⟩ isHom : isGroupHom G H fun record GroupEquiv (G : Group {ℓ}) (H : Group {ℓ'}) : Type (ℓ-max ℓ ℓ') where constructor groupequiv field eq : ⟨ G ⟩ ≃ ⟨ H ⟩ isHom : isGroupHom G H (equivFun eq) hom : GroupHom G H hom = grouphom (equivFun eq) isHom
extern/gnat_sdl/gnat_sdl2/src/mmintrin_h.ads
AdaCore/training_material
15
22053
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package mmintrin_h is -- Copyright (C) 2002-2017 Free Software Foundation, Inc. -- This file is part of GCC. -- GCC is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 3, or (at your option) -- any later version. -- GCC is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- Under Section 7 of GPL version 3, you are granted additional -- permissions described in the GCC Runtime Library Exception, version -- 3.1, as published by the Free Software Foundation. -- You should have received a copy of the GNU General Public License and -- a copy of the GCC Runtime Library Exception along with this program; -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- <http://www.gnu.org/licenses/>. -- Implemented from the specification included in the Intel C++ Compiler -- User Guide and Reference, version 9.0. -- The Intel API is flexible enough that we must allow aliasing with other -- vector types, and their scalar components. subtype uu_m64 is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:42 -- Unaligned version of the same type subtype uu_m64_u is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:45 -- Internal data types for implementing the intrinsics. subtype uu_v2si is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:48 subtype uu_v4hi is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:49 subtype uu_v8qi is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:50 subtype uu_v1di is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:51 subtype uu_v2sf is <vector>; -- d:\install\gpl2018\lib\gcc\x86_64-pc-mingw32\7.3.1\include\mmintrin.h:52 -- Empty the multimedia state. -- skipped func _mm_empty -- skipped func _m_empty -- Convert I to a __m64 object. The integer is zero-extended to 64-bits. -- skipped func _mm_cvtsi32_si64 -- skipped func _m_from_int -- Convert I to a __m64 object. -- Intel intrinsic. -- skipped func _m_from_int64 -- skipped func _mm_cvtsi64_m64 -- Microsoft intrinsic. -- skipped func _mm_cvtsi64x_si64 -- skipped func _mm_set_pi64x -- Convert the lower 32 bits of the __m64 object into an integer. -- skipped func _mm_cvtsi64_si32 -- skipped func _m_to_int -- Convert the __m64 object to a 64bit integer. -- Intel intrinsic. -- skipped func _m_to_int64 -- skipped func _mm_cvtm64_si64 -- Microsoft intrinsic. -- skipped func _mm_cvtsi64_si64x -- Pack the four 16-bit values from M1 into the lower four 8-bit values of -- the result, and the four 16-bit values from M2 into the upper four 8-bit -- values of the result, all with signed saturation. -- skipped func _mm_packs_pi16 -- skipped func _m_packsswb -- Pack the two 32-bit values from M1 in to the lower two 16-bit values of -- the result, and the two 32-bit values from M2 into the upper two 16-bit -- values of the result, all with signed saturation. -- skipped func _mm_packs_pi32 -- skipped func _m_packssdw -- Pack the four 16-bit values from M1 into the lower four 8-bit values of -- the result, and the four 16-bit values from M2 into the upper four 8-bit -- values of the result, all with unsigned saturation. -- skipped func _mm_packs_pu16 -- skipped func _m_packuswb -- Interleave the four 8-bit values from the high half of M1 with the four -- 8-bit values from the high half of M2. -- skipped func _mm_unpackhi_pi8 -- skipped func _m_punpckhbw -- Interleave the two 16-bit values from the high half of M1 with the two -- 16-bit values from the high half of M2. -- skipped func _mm_unpackhi_pi16 -- skipped func _m_punpckhwd -- Interleave the 32-bit value from the high half of M1 with the 32-bit -- value from the high half of M2. -- skipped func _mm_unpackhi_pi32 -- skipped func _m_punpckhdq -- Interleave the four 8-bit values from the low half of M1 with the four -- 8-bit values from the low half of M2. -- skipped func _mm_unpacklo_pi8 -- skipped func _m_punpcklbw -- Interleave the two 16-bit values from the low half of M1 with the two -- 16-bit values from the low half of M2. -- skipped func _mm_unpacklo_pi16 -- skipped func _m_punpcklwd -- Interleave the 32-bit value from the low half of M1 with the 32-bit -- value from the low half of M2. -- skipped func _mm_unpacklo_pi32 -- skipped func _m_punpckldq -- Add the 8-bit values in M1 to the 8-bit values in M2. -- skipped func _mm_add_pi8 -- skipped func _m_paddb -- Add the 16-bit values in M1 to the 16-bit values in M2. -- skipped func _mm_add_pi16 -- skipped func _m_paddw -- Add the 32-bit values in M1 to the 32-bit values in M2. -- skipped func _mm_add_pi32 -- skipped func _m_paddd -- Add the 64-bit values in M1 to the 64-bit values in M2. -- skipped func _mm_add_si64 -- Add the 8-bit values in M1 to the 8-bit values in M2 using signed -- saturated arithmetic. -- skipped func _mm_adds_pi8 -- skipped func _m_paddsb -- Add the 16-bit values in M1 to the 16-bit values in M2 using signed -- saturated arithmetic. -- skipped func _mm_adds_pi16 -- skipped func _m_paddsw -- Add the 8-bit values in M1 to the 8-bit values in M2 using unsigned -- saturated arithmetic. -- skipped func _mm_adds_pu8 -- skipped func _m_paddusb -- Add the 16-bit values in M1 to the 16-bit values in M2 using unsigned -- saturated arithmetic. -- skipped func _mm_adds_pu16 -- skipped func _m_paddusw -- Subtract the 8-bit values in M2 from the 8-bit values in M1. -- skipped func _mm_sub_pi8 -- skipped func _m_psubb -- Subtract the 16-bit values in M2 from the 16-bit values in M1. -- skipped func _mm_sub_pi16 -- skipped func _m_psubw -- Subtract the 32-bit values in M2 from the 32-bit values in M1. -- skipped func _mm_sub_pi32 -- skipped func _m_psubd -- Add the 64-bit values in M1 to the 64-bit values in M2. -- skipped func _mm_sub_si64 -- Subtract the 8-bit values in M2 from the 8-bit values in M1 using signed -- saturating arithmetic. -- skipped func _mm_subs_pi8 -- skipped func _m_psubsb -- Subtract the 16-bit values in M2 from the 16-bit values in M1 using -- signed saturating arithmetic. -- skipped func _mm_subs_pi16 -- skipped func _m_psubsw -- Subtract the 8-bit values in M2 from the 8-bit values in M1 using -- unsigned saturating arithmetic. -- skipped func _mm_subs_pu8 -- skipped func _m_psubusb -- Subtract the 16-bit values in M2 from the 16-bit values in M1 using -- unsigned saturating arithmetic. -- skipped func _mm_subs_pu16 -- skipped func _m_psubusw -- Multiply four 16-bit values in M1 by four 16-bit values in M2 producing -- four 32-bit intermediate results, which are then summed by pairs to -- produce two 32-bit results. -- skipped func _mm_madd_pi16 -- skipped func _m_pmaddwd -- Multiply four signed 16-bit values in M1 by four signed 16-bit values in -- M2 and produce the high 16 bits of the 32-bit results. -- skipped func _mm_mulhi_pi16 -- skipped func _m_pmulhw -- Multiply four 16-bit values in M1 by four 16-bit values in M2 and produce -- the low 16 bits of the results. -- skipped func _mm_mullo_pi16 -- skipped func _m_pmullw -- Shift four 16-bit values in M left by COUNT. -- skipped func _mm_sll_pi16 -- skipped func _m_psllw -- skipped func _mm_slli_pi16 -- skipped func _m_psllwi -- Shift two 32-bit values in M left by COUNT. -- skipped func _mm_sll_pi32 -- skipped func _m_pslld -- skipped func _mm_slli_pi32 -- skipped func _m_pslldi -- Shift the 64-bit value in M left by COUNT. -- skipped func _mm_sll_si64 -- skipped func _m_psllq -- skipped func _mm_slli_si64 -- skipped func _m_psllqi -- Shift four 16-bit values in M right by COUNT; shift in the sign bit. -- skipped func _mm_sra_pi16 -- skipped func _m_psraw -- skipped func _mm_srai_pi16 -- skipped func _m_psrawi -- Shift two 32-bit values in M right by COUNT; shift in the sign bit. -- skipped func _mm_sra_pi32 -- skipped func _m_psrad -- skipped func _mm_srai_pi32 -- skipped func _m_psradi -- Shift four 16-bit values in M right by COUNT; shift in zeros. -- skipped func _mm_srl_pi16 -- skipped func _m_psrlw -- skipped func _mm_srli_pi16 -- skipped func _m_psrlwi -- Shift two 32-bit values in M right by COUNT; shift in zeros. -- skipped func _mm_srl_pi32 -- skipped func _m_psrld -- skipped func _mm_srli_pi32 -- skipped func _m_psrldi -- Shift the 64-bit value in M left by COUNT; shift in zeros. -- skipped func _mm_srl_si64 -- skipped func _m_psrlq -- skipped func _mm_srli_si64 -- skipped func _m_psrlqi -- Bit-wise AND the 64-bit values in M1 and M2. -- skipped func _mm_and_si64 -- skipped func _m_pand -- Bit-wise complement the 64-bit value in M1 and bit-wise AND it with the -- 64-bit value in M2. -- skipped func _mm_andnot_si64 -- skipped func _m_pandn -- Bit-wise inclusive OR the 64-bit values in M1 and M2. -- skipped func _mm_or_si64 -- skipped func _m_por -- Bit-wise exclusive OR the 64-bit values in M1 and M2. -- skipped func _mm_xor_si64 -- skipped func _m_pxor -- Compare eight 8-bit values. The result of the comparison is 0xFF if the -- test is true and zero if false. -- skipped func _mm_cmpeq_pi8 -- skipped func _m_pcmpeqb -- skipped func _mm_cmpgt_pi8 -- skipped func _m_pcmpgtb -- Compare four 16-bit values. The result of the comparison is 0xFFFF if -- the test is true and zero if false. -- skipped func _mm_cmpeq_pi16 -- skipped func _m_pcmpeqw -- skipped func _mm_cmpgt_pi16 -- skipped func _m_pcmpgtw -- Compare two 32-bit values. The result of the comparison is 0xFFFFFFFF if -- the test is true and zero if false. -- skipped func _mm_cmpeq_pi32 -- skipped func _m_pcmpeqd -- skipped func _mm_cmpgt_pi32 -- skipped func _m_pcmpgtd -- Creates a 64-bit zero. -- skipped func _mm_setzero_si64 -- Creates a vector of two 32-bit values; I0 is least significant. -- skipped func _mm_set_pi32 -- Creates a vector of four 16-bit values; W0 is least significant. -- skipped func _mm_set_pi16 -- Creates a vector of eight 8-bit values; B0 is least significant. -- skipped func _mm_set_pi8 -- Similar, but with the arguments in reverse order. -- skipped func _mm_setr_pi32 -- skipped func _mm_setr_pi16 -- skipped func _mm_setr_pi8 -- Creates a vector of two 32-bit values, both elements containing I. -- skipped func _mm_set1_pi32 -- Creates a vector of four 16-bit values, all elements containing W. -- skipped func _mm_set1_pi16 -- Creates a vector of eight 8-bit values, all elements containing B. -- skipped func _mm_set1_pi8 end mmintrin_h;
vpnconnect.applescript
christianv/dotfiles
1
2447
set appname to "Pulse Secure" tell application appname if it is not running then activate end if end tell tell application "System Events" tell process "Pulse Secure" set frontmost to true click menu item "Connect" of menu of menu item "Connections" of menu "File" of menu bar 1 delay 2 keystroke "push" keystroke return end tell end tell
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm__dtoa_base10.asm
ahjelm/z88dk
640
246578
<reponame>ahjelm/z88dk<filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm__dtoa_base10.asm SECTION code_clib SECTION code_fp_am9511 PUBLIC __dtoa_base10 EXTERN asm_am9511__dtoa_base10 defc __dtoa_base10 = asm_am9511__dtoa_base10
source/numerics/a-nuflra.ads
ytomino/drake
33
16147
<filename>source/numerics/a-nuflra.ads pragma License (Unrestricted); with Ada.Numerics.MT19937; package Ada.Numerics.Float_Random is -- Basic facilities -- type Generator is limited private; subtype Generator is MT19937.Generator; subtype Uniformly_Distributed is Float range 0.0 .. 1.0; function Random (Gen : Generator) return Uniformly_Distributed; -- procedure Reset (Gen : Generator; Initiator : Integer); procedure Reset (Gen : in out Generator; Initiator : Integer) renames MT19937.Reset; -- procedure Reset (Gen : Generator); procedure Reset (Gen : in out Generator) renames MT19937.Reset; -- Advanced facilities -- type State is private; subtype State is MT19937.State; procedure Save (Gen : Generator; To_State : out State) renames MT19937.Save; -- procedure Reset (Gen : Generator; From_State : State); procedure Reset (Gen : in out Generator; From_State : State) renames MT19937.Reset; Max_Image_Width : constant := MT19937.Max_Image_Width; function Image (Of_State : State) return String renames MT19937.Image; function Value (Coded_State : String) return State renames MT19937.Value; end Ada.Numerics.Float_Random;
TIS100/TisLang.g4
embix/TIS100
11
1208
<filename>TIS100/TisLang.g4 grammar TisLang; options { language=CSharp3; } @lexer::namespace{TisLang} @parser::namespace{TisLang} program : expression*; expression : label | instruction | EOL ; label : SYMBOL ':' EOL; instruction : SYMBOL argumentList EOL; argumentList : (argument (COMMA? argument)*)?; argument : SYMBOL | INTEGER ; SYMBOL : [a-zA-Z_][a-zA-Z0-9_]*; INTEGER : '-'?[0-9]+; EOL : ('\r\n' | '\r' | '\n' | EOF); WHITESPACE : (' ' | '\t') -> channel(HIDDEN);
examples/unique_ptr_example.adb
jhumphry/auto_counters
5
10880
-- unique_ptr_example.adb -- An example of using the Unique_Ptr types -- Copyright (c) 2016, <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -- PERFORMANCE OF THIS SOFTWARE. with Ada.Text_IO; use Ada.Text_IO; with Unique_Ptrs; procedure Unique_Ptr_Example is procedure Custom_Deleter(X : in out String) is begin Put_Line("Freeing resources relating to a string: " & X); end Custom_Deleter; package String_Ptrs is new Unique_Ptrs(T => String, Delete => Custom_Deleter); use String_Ptrs; UP1 : constant Unique_Ptr := Make_Unique_Ptr(new String'("Hello, World!")); UCP1 : constant Unique_Const_Ptr := Make_Unique_Const_Ptr(new String'("Hello again, World!")); begin Put_Line("An example of using the Unique_Ptrs package."); New_Line; Put_Line("Unique_Ptr UP1 => " & UP1); Put_Line("Unique_Const_Ptr UCP1 => " & UCP1); New_Line; Put_Line("Changing the comma in UP1 to a colon."); UP1(6) := ':'; Put_Line("UP1 => " & UP1); New_Line; end Unique_Ptr_Example;
include/interfaces_cpp.strings.ads
zackboll/interfaces.cpp
0
9836
-- BSD 2-Clause License -- -- Copyright (c) 2017, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. -- -- * Redistributions in binary form must reproduce the above copyright notice, -- this list of conditions and the following disclaimer in the documentation -- and/or other materials provided with the distribution. -- -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- POSSIBILITY OF SUCH DAMAGE. with Ada.Finalization; with Interfaces.C.Extensions; package Interfaces_CPP.Strings is -- -- Ada friendly representation of C++ string -- type CPP_String is new Ada.Finalization.Controlled with private; -- -- Type to be used when interfacing with external binding code -- type CPP_String_External is new Interfaces.C.Extensions.void_ptr; -- equivalent to empty string constructor overriding procedure Initialize (Object : in out CPP_String); -- copy constructor overriding procedure Adjust (Object : in out CPP_String); -- deconstructor overriding procedure Finalize (Object : in out CPP_String); -- Returns Ada String representation function To_Ada (Object: CPP_String) return String; function To_Ada (External: CPP_String_External) return String; -- Return C++ representation of Ada string function To_CPP (Input: String) return CPP_String; function To_CPP_External (Input: CPP_String) return CPP_String_External; function Image (Object: CPP_String) return String renames To_Ada; private type CPP_String is new Ada.Finalization.Controlled with record cpp_str : CPP_String_External; end record; end Interfaces_CPP.Strings;
controls.asm
bplaat/win32asm
2
87801
; controls.asm - An pure 32-bit and 64-bit win32 assembly GUI controls program ; Made by <NAME> (https://bastiaan.ml/) ; 32-bit: nasm -f bin controls.asm -o controls-x86.exe && ./controls-x86 ; 64-bit: nasm -DWIN64 -f bin controls.asm -o controls-x64.exe && ./controls-x64 %include "libwindows.inc" header HEADER_GUI, HEADER_HAS_RESOURCES code_section ; ### Some stdlib like Win32 wrappers ### function malloc, size invoke GetProcessHeap invoke HeapAlloc, _ax, 0, [size] return %undef size function free, ptr invoke GetProcessHeap invoke HeapFree, _ax, 0, [ptr] return function memset, address, value, size mov al, [value] mov _di, [address] mov _si, _di add _si, [size] while _di, "!=", _si mov [_di], al inc _di end_while return ; ### Window code ### %define PLAY_BUTTON_ID 1 %define ABOUT_BUTTON_ID 2 %define EXIT_BUTTON_ID 3 struct WindowData, \ play_button_hwnd, POINTER_size, \ about_button_hwnd, POINTER_size, \ exit_button_hwnd, POINTER_size, \ list_view_hwnd, POINTER_size ; Set font function function SetFont, hwnd, font invoke SendMessageA, [hwnd], WM_SETFONT, [font], TRUE return TRUE %undef hwnd ; Window procedure function function WindowProc, hwnd, uMsg, wParam, lParam mov eax, [uMsg] cmp eax, WM_CREATE je .wm_create cmp eax, WM_COMMAND je .wm_command cmp eax, WM_SIZE je .wm_size cmp eax, WM_GETMINMAXINFO je .wm_getminmaxinfo cmp eax, WM_DESTROY je .wm_destroy jmp .default .wm_create: local window_data, POINTER_size, \ list_item, LVITEM_size, \ index, DWORD_size, \ item_buffer, 128, \ window_rect, RECT_size, \ new_window_rect, Rect_size ; Create window data fcall malloc, WindowData_size mov [window_data], _ax invoke SetWindowLongPtrA, [hwnd], GWLP_USERDATA, _ax ; Create window controls invoke CreateWindowExA, 0, button_class_name, play_button, WS_CHILD | WS_VISIBLE, \ 0, 0, 0, 0, [hwnd], PLAY_BUTTON_ID, NULL, NULL mov _di, [window_data] mov [_di + WindowData.play_button_hwnd], _ax invoke CreateWindowExA, 0, button_class_name, about_button, WS_CHILD | WS_VISIBLE, \ 0, 0, 0, 0, [hwnd], ABOUT_BUTTON_ID, NULL, NULL mov _di, [window_data] mov [_di + WindowData.about_button_hwnd], _ax invoke CreateWindowExA, 0, button_class_name, exit_button, WS_CHILD | WS_VISIBLE, \ 0, 0, 0, 0, [hwnd], EXIT_BUTTON_ID, NULL, NULL mov _di, [window_data] mov [_di + WindowData.exit_button_hwnd], _ax invoke CreateWindowExA, 0, listview_class_name, NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | LVS_LIST | LVS_SORTASCENDING, \ 0, 0, 0, 0, [hwnd], EXIT_BUTTON_ID, NULL, NULL mov _di, [window_data] mov [_di + WindowData.list_view_hwnd], _ax ; Add 500 text items to list view mov dword [index], 0 mov ecx, [index] while ecx, "!=", 500 cinvoke wsprintfA, addr item_buffer, item_format, [index] fcall memset, addr list_item, 0, LVITEM_size mov dword [list_item + LVITEM.mask], LVIF_TEXT lea _ax, [item_buffer] mov pointer [list_item + LVITEM.pszText], _ax mov _si, [window_data] invoke SendMessageA, [_si + WindowData.list_view_hwnd], LVM_INSERTITEMA, NULL, addr list_item inc dword [index] mov ecx, [index] end_while ; Change font to default font invoke GetStockObject, DEFAULT_GUI_FONT invoke EnumChildWindows, [hwnd], SetFont, _ax ; Center window invoke GetClientRect, [hwnd], addr window_rect mov eax, [window_width] shl eax, 1 sub eax, [window_rect + RECT.right] mov [new_window_rect + Rect.width], eax mov eax, [window_height] shl eax, 1 sub eax, [window_rect + RECT.bottom] mov [new_window_rect + Rect.height], eax invoke GetSystemMetrics, SM_CXSCREEN sub eax, [new_window_rect + Rect.width] shr eax, 1 mov [new_window_rect + Rect.x], eax invoke GetSystemMetrics, SM_CYSCREEN sub eax, [new_window_rect + Rect.height] shr eax, 1 mov [new_window_rect + Rect.y], eax invoke SetWindowPos, [hwnd], HWND_TOP, [new_window_rect + Rect.x], [new_window_rect + Rect.y], [new_window_rect + Rect.width], [new_window_rect + Rect.height], SWP_NOZORDER end_local return 0 %undef window_data .wm_command: movzx eax, word [wParam] cmp eax, PLAY_BUTTON_ID je .wm_command.play_button cmp eax, ABOUT_BUTTON_ID je .wm_command.about_button cmp eax, EXIT_BUTTON_ID je .wm_command.exit_button return 0 .wm_command.play_button: invoke ShellExecuteA, [hwnd], open_operation, website_url, NULL, NULL, SW_SHOWNORMAL return 0 .wm_command.about_button: invoke MessageBoxA, [hwnd], about_message, about_button, MB_OK | MB_ICONINFORMATION return 0 .wm_command.exit_button: invoke DestroyWindow, [hwnd] return 0 .wm_size: local window_data, POINTER_size, \ rect, Rect_size ; Get window data invoke GetWindowLongPtrA, [hwnd], GWLP_USERDATA mov [window_data], _ax ; Save new window size movzx eax, word [lParam] mov [window_width], eax mov eax, [lParam] shr eax, 16 mov [window_height], eax ; Resize the window controls %define padding 16 ; Resize the play button mov eax, padding mov [rect + Rect.x], eax mov eax, padding mov [rect + Rect.y], eax mov eax, [window_width] shr eax, 1 sub eax, padding * 2 - padding / 2 mov [rect + Rect.width], eax mov eax, [window_height] sub eax, padding * 4 xor edx, edx mov ecx, 3 idiv ecx mov [rect + Rect.height], eax mov _si, [window_data] invoke SetWindowPos, [_si + WindowData.play_button_hwnd], NULL, [rect + Rect.x], [rect + Rect.y], [rect + Rect.width], [rect + Rect.height], SWP_NOZORDER ; Resize the about button mov eax, [rect + Rect.y] add eax, [rect + Rect.height] add eax, padding mov [rect + Rect.y], eax mov _si, [window_data] invoke SetWindowPos, [_si + WindowData.about_button_hwnd], NULL, [rect + Rect.x], [rect + Rect.y], [rect + Rect.width], [rect + Rect.height], SWP_NOZORDER ; Resize the exit button mov eax, [rect + Rect.y] add eax, [rect + Rect.height] add eax, padding mov [rect + Rect.y], eax mov _si, [window_data] invoke SetWindowPos, [_si + WindowData.exit_button_hwnd], NULL, [rect + Rect.x], [rect + Rect.y], [rect + Rect.width], [rect + Rect.height], SWP_NOZORDER ; Resize the list view mov eax, [window_width] shr eax, 1 add eax, padding - padding / 2 mov [rect + Rect.x], eax mov eax, padding mov [rect + Rect.y], eax mov eax, [window_height] sub eax, padding * 2 mov [rect + Rect.height], eax mov _si, [window_data] invoke SetWindowPos, [_si + WindowData.list_view_hwnd], NULL, [rect + Rect.x], [rect + Rect.y], [rect + Rect.width], [rect + Rect.height], SWP_NOZORDER end_local return 0 .wm_getminmaxinfo: ; Set window min size mov _di, [lParam] mov dword [_di + MINMAXINFO.ptMinTrackSize + POINT.x], 320 mov dword [_di + MINMAXINFO.ptMinTrackSize + POINT.y], 240 return 0 .wm_destroy: ; Free window data invoke GetWindowLongPtrA, [hwnd], GWLP_USERDATA fcall free, _ax ; Close process invoke PostQuitMessage, 0 return 0 .default: invoke DefWindowProcA, [hwnd], [uMsg], [wParam], [lParam] return %undef hwnd ; Main entry point entrypoint local initCommonControlsEx, INITCOMMONCONTROLSEX_size, \ window_class, WNDCLASSEX_size, \ hwnd, POINTER_size, \ message, MSG_size ; Init common controls for modern control style mov dword [initCommonControlsEx + INITCOMMONCONTROLSEX.dwSize], INITCOMMONCONTROLSEX_size mov dword [initCommonControlsEx + INITCOMMONCONTROLSEX.dwICC], ICC_WIN95_CLASSES invoke InitCommonControlsEx, addr initCommonControlsEx ; Register the window class mov dword [window_class + WNDCLASSEX.cbSize], WNDCLASSEX_size mov dword [window_class + WNDCLASSEX.style], CS_HREDRAW | CS_VREDRAW mov pointer [window_class + WNDCLASSEX.lpfnWndProc], WindowProc mov dword [window_class + WNDCLASSEX.cbClsExtra], 0 mov dword [window_class + WNDCLASSEX.cbWndExtra], 0 invoke GetModuleHandleA, NULL mov [window_class + WNDCLASSEX.hInstance], _ax invoke LoadIconA, NULL, IDI_APPLICATION mov [window_class + WNDCLASSEX.hIcon], _ax mov [window_class + WNDCLASSEX.hIconSm], _ax invoke LoadCursorA, NULL, IDC_ARROW mov [window_class + WNDCLASSEX.hCursor], _ax mov dword [window_class + WNDCLASSEX.hbrBackground], COLOR_WINDOW + 1 mov pointer [window_class + WNDCLASSEX.lpszMenuName], NULL mov pointer [window_class + WNDCLASSEX.lpszClassName], window_class_name invoke RegisterClassExA, addr window_class ; Create the window invoke CreateWindowExA, 0, window_class_name, window_title, WS_OVERLAPPEDWINDOW, \ CW_USEDEFAULT, CW_USEDEFAULT, [window_width], [window_height], \ HWND_DESKTOP, NULL, [window_class + WNDCLASSEX.hInstance], NULL mov [hwnd], _ax invoke ShowWindow, [hwnd], SW_SHOWDEFAULT invoke UpdateWindow, [hwnd] ; Message loop loop invoke GetMessageA, addr message, NULL, 0, 0 test _ax, _ax jle %$end_loop invoke TranslateMessage, addr message invoke DispatchMessageA, addr message end_loop invoke ExitProcess, [message + MSG.wParam] end_local end_code_section data_section ; String constants window_class_name db "controls-test", 0 %ifdef WIN64 window_title db "This is a test controls window (64-bit)", 0 %else window_title db "This is a test controls window (32-bit)", 0 %endif button_class_name db "BUTTON", 0 play_button db "Play", 0 about_button db "About", 0 exit_button db "Exit", 0 open_operation db "open", 0 about_message db "Made by <NAME>", 13, 10 website_url db "https://bastiaan.ml/", 0 listview_class_name db "SysListView32", 0 item_format db "Item %d", 0 ; Global variables window_width dd 1024 window_height dd 768 ; Import table import_table library comctl_table, "COMCTL32.DLL", \ gdi_table, "GDI32.DLL", \ kernel_table, "KERNEL32.DLL", \ shell_table, "SHELL32.DLL", \ user_table, "USER32.DLL" import comctl_table, \ InitCommonControlsEx, "InitCommonControlsEx" import gdi_table, \ GetStockObject, "GetStockObject" import kernel_table, \ ExitProcess, "ExitProcess", \ HeapAlloc, "HeapAlloc", \ HeapFree, "HeapFree", \ GetModuleHandleA, "GetModuleHandleA", \ GetProcessHeap, "GetProcessHeap" import shell_table, \ ShellExecuteA, "ShellExecuteA" import user_table, \ CreateWindowExA, "CreateWindowExA", \ DefWindowProcA, "DefWindowProcA", \ DestroyWindow, "DestroyWindow", \ DispatchMessageA, "DispatchMessageA", \ EnumChildWindows, "EnumChildWindows", \ GetClientRect, "GetClientRect", \ GetMessageA, "GetMessageA", \ GetSystemMetrics, "GetSystemMetrics", \ GetWindowLongPtrA, GetWindowLongPtrAString, \ LoadCursorA, "LoadCursorA", \ LoadIconA, "LoadIconA", \ MessageBoxA, "MessageBoxA", \ PostQuitMessage, "PostQuitMessage", \ RegisterClassExA, "RegisterClassExA", \ SendMessageA, "SendMessageA", \ SetWindowLongPtrA, SetWindowLongPtrAString, \ SetWindowPos, "SetWindowPos", \ ShowWindow, "ShowWindow", \ TranslateMessage, "TranslateMessage", \ UpdateWindow, "UpdateWindow", \ wsprintfA, "wsprintfA" end_import_table end_data_section resources_section directory RT_MANIFEST, manifests resource manifests, \ 1, LANG_NEUTRAL, app_manifest manifest app_manifest, "controls.manifest" end_resources_section
oeis/135/A135261.asm
neoneye/loda-programs
11
243571
<filename>oeis/135/A135261.asm ; A135261: a(n) = 3*A131090(n) - A131090(n+1). ; Submitted by <NAME> ; -1,3,-1,2,-1,5,6,17,27,58,111,229,454,913,1819,3642,7279,14565,29126,58257,116507,233018,466031,932069,1864134,3728273,7456539,14913082,29826159,59652325,119304646,238609297,477218587,954437178,1908874351,3817748709,7635497414,15270994833,30541989659,61083979322,122167958639,244335917285,488671834566,977343669137,1954687338267,3909374676538,7818749353071,15637498706149,31274997412294,62549994824593,125099989649179,250199979298362,500399958596719,1000799917193445,2001599834386886 mov $2,$0 mov $4,2 lpb $4 mov $0,$2 sub $4,1 add $0,$4 max $0,0 seq $0,135259 ; a(n) = 3*A131666(n) - A131666(n+1). mov $3,$0 mov $5,$4 mul $5,$0 add $1,$5 lpe min $2,1 mul $2,$3 sub $1,$2 mov $0,$1
non_regression/switch_x64_macosx_7.o.asm
LRGH/plasmasm
1
240782
<filename>non_regression/switch_x64_macosx_7.o.asm .macosx_version_min 10, 13 .section __TEXT,__text,regular,pure_instructions .align 4, 0x90 .globl _xalloc_die _xalloc_die: pushq %rbp movq %rsp, %rbp leaq LC00001F30(%rip), %rdx leaq LC00001F33(%rip), %rcx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax call _error L0000001D: call _cleanup_fatal L00000022: .align 4, 0x90 # ---------------------- _cleanup_fatal: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax call _close_output_file L0000003F: leaq _caught_signals(%rip), %rsi leaq -28(%rbp), %rdx movl $1, %edi call _sigprocmask L00000054: cmpb $0, _remove_files(%rip) je L000000B0 L0000005D: cmpl $0, _files_created(%rip) je L000000A6 L00000066: leaq LC00001F30(%rip), %r14 xorl %ebx, %ebx .align 4, 0x90 L00000070: movl %ebx, %edi call _make_filename L00000077: movq %rax, %r15 movq %r15, %rdi call _rpl_unlink L00000082: testl %eax, %eax je L0000009C L00000086: call ___error L0000008B: movl (%rax), %esi xorl %edi, %edi xorl %eax, %eax movq %r14, %rdx movq %r15, %rcx call _error L0000009C: incl %ebx cmpl _files_created(%rip), %ebx jb L00000070 L000000A6: movl $0, _files_created(%rip) L000000B0: leaq -28(%rbp), %rsi movl $3, %edi xorl %edx, %edx call _sigprocmask L000000C0: movl $1, %edi call _exit # ---------------------- .align 4, 0x90 .globl _main _main: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %rsp movq %rsi, %rbx movl %edi, -104(%rbp) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq (%rbx), %rdi call _set_program_name L000000FD: leaq LC00001F44(%rip), %r14 xorl %edi, %edi movq %r14, %rsi call _setlocale L0000010E: movq _close_stdout@GOTPCREL(%rip), %rdi call _atexit L0000011A: movq %rbx, -88(%rbp) movq %rbx, _global_argv(%rip) movq $0, _controls(%rip) movq $0, _control_used(%rip) movb $0, _suppress_count(%rip) movb $1, _remove_files(%rip) movb $0, _suppress_matched(%rip) leaq LC00001F45(%rip), %rax movq %rax, _prefix(%rip) leaq LC00001F48(%rip), %r15 leaq _longopts(%rip), %r12 leaq L0000116C(%rip), %rbx movq _rpl_optarg@GOTPCREL(%rip), %r13 jmp L00000187 L0000017C: .align 4, 0x90 L00000180: movb $1, _suppress_count(%rip) L00000187: xorl %r8d, %r8d movl -104(%rbp), %edi movq -88(%rbp), %rsi movq %r15, %rdx movq %r12, %rcx call _rpl_getopt_long L0000019C: cmpl $97, %eax jle L00000213 L000001A1: addl $-98, %eax cmpl $30, %eax ja L000010DA L000001AD: movslq (%rbx,%rax,4), %rax addq %rbx, %rax jmp *%rax L000001B6: movq (%r13), %rax movq %rax, _suffix(%rip) jmp L00000187 L000001C3: movq (%r13), %rax movq %rax, _prefix(%rip) jmp L00000187 L000001D0: movb $0, _remove_files(%rip) jmp L00000187 L000001D9: movq (%r13), %rdi xorl %esi, %esi movl $2147483647, %edx xorl %r9d, %r9d movq %r14, %rcx leaq LC00001F53(%rip), %r8 call _xdectoimax L000001F6: movl %eax, _digits(%rip) jmp L00000187 L000001FE: movb $1, _elide_empty_files(%rip) jmp L00000187 L00000207: movb $1, _suppress_matched(%rip) jmp L00000187 L00000213: cmpl $-1, %eax jne L0000107A L0000021C: movq _rpl_optind@GOTPCREL(%rip), %r12 movl (%r12), %eax movl -104(%rbp), %ecx subl %eax, %ecx cmpl $1, %ecx movq -88(%rbp), %r15 jle L000010E9 L00000239: movq _prefix(%rip), %rdi call _strlen L00000245: movq %rax, %rdx cmpq $0, _suffix(%rip) je L00000461 L00000256: movq %rdx, -120(%rbp) movq _suffix(%rip), %r14 leaq L000011E8(%rip), %r12 movq %r14, -112(%rbp) xorl %ebx, %ebx jmp L00000273 L00000270: incq %r14 L00000273: movb (%r14), %al cmpb $37, %al je L00000290 L0000027A: testb %al, %al jne L00000270 L0000027E: jmp L00000417 L00000283: .align 4, 0x90 L00000290: cmpb $37, 1(%r14) leaq 1(%r14), %r14 je L00000270 L0000029B: testb $1, %bl je L000002B5 L000002A0: movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC000024FE(%rip), %rdx call _error L000002B5: xorl %r15d, %r15d jmp L000002C3 L000002BA: .align 4, 0x90 L000002C0: incq %r14 L000002C3: movb (%r14), %al movsbl %al, %ecx leal -35(%rcx), %edx cmpl $13, %edx ja L000002F0 L000002D1: movslq (%r12,%rdx,4), %rdx addq %r12, %rdx jmp *%rdx L000002DA: orl $2, %r15d jmp L000002C0 L000002E0: orl $1, %r15d incq %r14 jmp L000002C3 L000002E9: .align 4, 0x90 L000002F0: addl $-48, %ecx cmpl $9, %ecx ja L00000310 L000002F8: .align 4, 0x90 L00000300: movsbl 1(%r14), %eax incq %r14 leal -48(%rax), %ecx cmpl $10, %ecx jb L00000300 L00000310: cmpb $46, %al jne L00000330 L00000314: .align 4, 0x90 L00000320: movsbl 1(%r14), %eax incq %r14 leal -48(%rax), %ecx cmpl $10, %ecx jb L00000320 L00000330: movzbl %al, %ebx movl $-2, %r13d movl %ebx, %ecx addb $-88, %cl cmpb $32, %cl movq %rbx, -96(%rbp) ja L00000379 L00000347: movzbl %cl, %ecx movq $4303355905, %rdx btq %rcx, %rdx jb L0000036B L0000035A: movl $135168, %edx btq %rcx, %rdx jae L00000373 L00000365: movb $117, (%r14) jmp L000003E0 L0000036B: movl $-3, %r13d jmp L000003E0 L00000373: cmpq $29, %rcx je L000003E0 L00000379: testb %al, %al jne L00000394 L0000037D: movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC0000255C(%rip), %rdx call _error L00000392: jmp L000003E0 L00000394: js L000003A9 L00000396: movq __DefaultRuneLocale@GOTPCREL(%rip), %rax movl 60(%rax,%rbx,4), %ecx shrl $18, %ecx andl $1, %ecx jmp L000003BC L000003A9: movl $262144, %esi movl %ebx, %edi call ___maskrune L000003B5: xorl %ecx, %ecx testl %eax, %eax setne %cl L000003BC: movl $1, %edi xorl %esi, %esi xorl %eax, %eax testl %ecx, %ecx je L000003D2 L000003C9: leaq LC00002583(%rip), %rdx jmp L000003D9 L000003D2: leaq LC000025AE(%rip), %rdx L000003D9: movl %ebx, %ecx call _error L000003E0: andl %r15d, %r13d movb $1, %bl je L0000040E L000003E7: addl %r13d, %r13d andl $4, %r13d xorl $39, %r13d movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC000025DC(%rip), %rdx movl %r13d, %ecx movq -96(%rbp), %r8 call _error L0000040E: movq -88(%rbp), %r15 jmp L00000270 L00000417: testb $1, %bl jne L00000431 L0000041C: leaq LC0000252E(%rip), %rdx movl $1, %edi xorl %esi, %esi xorl %eax, %eax call _error L00000431: xorl %edi, %edi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx movl $-1, %r9d xorl %eax, %eax movq -112(%rbp), %r8 call ___snprintf_chk L0000044A: testl %eax, %eax movq _rpl_optind@GOTPCREL(%rip), %r12 movq -120(%rbp), %rdx js L0000111F L0000045D: cltq jmp L0000047A L00000461: movl _digits(%rip), %eax cmpl $10, %eax jae L00000473 L0000046C: movl $10, %eax jmp L0000047A L00000473: movslq _digits(%rip), %rax L0000047A: movq $-2, %rcx subq %rdx, %rcx cmpq %rax, %rcx jb L0000108F L0000048D: leaq 1(%rdx,%rax), %rdi call _xmalloc L00000497: movq %rax, _filename_space(%rip) movslq (%r12), %rax leal 1(%rax), %ecx movl %ecx, (%r12) movq (%r15,%rax,8), %rbx leaq LC0000260E(%rip), %rsi movq %rbx, %rdi call _strcmp L000004BC: testl %eax, %eax je L000004FB L000004C0: xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx movq %rbx, %rsi call _fd_reopen L000004CE: testl %eax, %eax jns L000004FB L000004D2: call ___error L000004D7: movl (%rax), %r14d movq %rbx, %rdi call _quote L000004E2: movq %rax, %rcx leaq LC00002610(%rip), %rdx movl $1, %edi xorl %eax, %eax movl %r14d, %esi call _error L000004FB: movl (%r12), %ebx cmpl -104(%rbp), %ebx jge L00000978 L00000508: .align 4, 0x90 L00000510: movslq %ebx, %r12 movq (%r15,%r12,8), %rax movq %rax, -120(%rbp) movsbl (%rax), %r13d cmpl $47, %r13d movq %rbx, -96(%rbp) je L00000533 L00000529: cmpb $37, %r13b jne L000005C0 L00000533: cmpb $37, %r13b sete %r14b movq -120(%rbp), %r15 leaq 1(%r15), %rbx movq %rbx, %rdi movl %r13d, %esi call _strrchr L0000054E: movq %rax, %r12 testq %r12, %r12 jne L00000571 L00000556: movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC000026DF(%rip), %rdx movq %r15, %rcx movl %r13d, %r8d call _error L00000571: movq _control_used(%rip), %rax cmpq _new_control_record.control_allocated(%rip), %rax movq %rbx, -112(%rbp) jne L00000610 L00000589: movq _controls(%rip), %rdi testq %rdi, %rdi je L00000625 L00000599: movq $128102389400760774, %rcx cmpq %rcx, %rax ja L0000108F L000005AC: movq %rax, %rcx shrq $1, %rcx leaq 1(%rax,%rcx), %rax jmp L00000631 L000005BC: .align 4, 0x90 L000005C0: movq _control_used(%rip), %rax cmpq _new_control_record.control_allocated(%rip), %rax jne L00000619 L000005D0: movq _controls(%rip), %rdi testq %rdi, %rdi je L00000754 L000005E0: movq $128102389400760774, %rcx cmpq %rcx, %rax ja L000010E4 L000005F3: movq %rax, %rcx shrq $1, %rcx leaq 1(%rax,%rcx), %rcx jmp L00000760 L00000603: .align 4, 0x90 L00000610: movq _controls(%rip), %r13 jmp L00000656 L00000619: movq _controls(%rip), %rbx jmp L00000785 L00000625: testq %rax, %rax movl $1, %ecx cmove %rcx, %rax L00000631: movq %rax, _new_control_record.control_allocated(%rip) shlq $5, %rax leaq (%rax,%rax,2), %rsi call _xrealloc L00000645: movq %rax, %r13 movq %r13, _controls(%rip) movq _control_used(%rip), %rax L00000656: movq %r15, %rbx notq %rbx addq %r12, %rbx leaq 1(%rax), %rcx movq %rcx, _control_used(%rip) leaq (%rax,%rax,2), %r15 shlq $5, %r15 movb $0, 28(%r13,%r15) movq $0, 16(%r13,%r15) movq $0, 8(%r13,%r15) movq $0, (%r13,%r15) movq -96(%rbp), %rax movl %eax, 24(%r13,%r15) movb %r14b, 29(%r13,%r15) movb $1, 30(%r13,%r15) leaq 32(%r13,%r15), %r14 movq $0, 40(%r13,%r15) movq $0, 32(%r13,%r15) movl $256, %edi call _xmalloc L000006C8: movq %rax, 64(%r13,%r15) movq $0, 72(%r13,%r15) movq _rpl_re_syntax_options@GOTPCREL(%rip), %rax movq $710, (%rax) movq -112(%rbp), %rdi movq %rbx, %rsi movq %r14, %rdx call _rpl_re_compile_pattern L000006F3: movq %rax, %rbx testq %rbx, %rbx jne L0000105C L000006FF: addq %r15, %r13 cmpb $0, 1(%r12) je L000008AA L0000070E: incq %r12 xorl %esi, %esi movl $10, %edx movq %r12, %rdi movq %r13, %rcx leaq LC00001F44(%rip), %r8 call _xstrtoimax L0000072A: testl %eax, %eax movq -96(%rbp), %rbx je L000008AE L00000736: movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC00002725(%rip), %rdx movq -120(%rbp), %rcx call _error L0000074F: jmp L000008AE L00000754: testq %rax, %rax movl $1, %ecx cmovne %rax, %rcx L00000760: movq %rcx, _new_control_record.control_allocated(%rip) shlq $5, %rcx leaq (%rcx,%rcx,2), %rsi call _xrealloc L00000774: movq %rax, %rbx movq %rbx, _controls(%rip) movq _control_used(%rip), %rax L00000785: leaq 1(%rax), %rcx movq %rcx, _control_used(%rip) leaq (%rax,%rax,2), %r14 shlq $5, %r14 movb $0, 30(%rbx,%r14) movb $0, 28(%rbx,%r14) movq $0, 16(%rbx,%r14) movq $0, 8(%rbx,%r14) movq $0, (%rbx,%r14) movq -96(%rbp), %rax movl %eax, 24(%rbx,%r14) movq (%r15,%r12,8), %rdi xorl %esi, %esi movl $10, %edx leaq -128(%rbp), %rcx leaq LC00001F44(%rip), %r8 call _xstrtoumax L000007E2: testl %eax, %eax je L000007FF L000007E6: movq (%r15,%r12,8), %rcx movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC0000262B(%rip), %rdx call _error L000007FF: movq -128(%rbp), %rax testq %rax, %rax jne L00000825 L00000808: movq (%r15,%r12,8), %rcx movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC0000263F(%rip), %rdx call _error L00000821: movq -128(%rbp), %rax L00000825: movq _parse_patterns.last_val(%rip), %rcx cmpq %rcx, %rax jae L00000873 L00000831: movq (%r15,%r12,8), %rdi call _quote L0000083A: movq %rax, %r13 movq _parse_patterns.last_val(%rip), %rdi leaq -80(%rbp), %rsi call _umaxtostr L0000084D: movq %rax, %r8 movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC00002669(%rip), %rdx movq %r13, %rcx call _error L00000868: movq -128(%rbp), %rax movq _parse_patterns.last_val(%rip), %rcx L00000873: cmpq %rcx, %rax jne L0000089A L00000878: movq (%r15,%r12,8), %rdi call _quote L00000881: movq %rax, %rcx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax leaq LC000026A2(%rip), %rdx call _error L00000896: movq -128(%rbp), %rax L0000089A: leaq (%rbx,%r14), %r13 movq %rax, _parse_patterns.last_val(%rip) movq %rax, 8(%rbx,%r14) L000008AA: movq -96(%rbp), %rbx L000008AE: leal 1(%rbx), %r15d cmpl -104(%rbp), %r15d jge L00000969 L000008BC: movslq %r15d, %rcx movq -88(%rbp), %rax movq (%rax,%rcx,8), %r12 cmpb $123, (%r12) jne L00000969 L000008D2: movq %rcx, %rbx movq %r12, %rdi call _strlen L000008DD: movq %rax, %r14 cmpb $125, -1(%r12,%r14) je L00000900 L000008E8: movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC0000274A(%rip), %rdx movq %r12, %rcx call _error L00000900: movb $0, -1(%r12,%r14) leaq 1(%r12), %rdi cmpq $3, %r14 jne L0000091D L00000911: cmpb $42, (%rdi) jne L0000091D L00000916: movb $1, 28(%r13) jmp L00000960 L0000091D: xorl %esi, %esi movl $10, %edx leaq -80(%rbp), %rcx leaq LC00001F44(%rip), %r8 call _xstrtoumax L00000934: testl %eax, %eax je L00000958 L00000938: movq _global_argv(%rip), %rax movq (%rax,%rbx,8), %rcx movl $1, %edi xorl %esi, %esi xorl %eax, %eax leaq LC0000276E(%rip), %rdx call _error L00000958: movq -80(%rbp), %rax movq %rax, 16(%r13) L00000960: movb $125, -1(%r12,%r14) movl %r15d, %ebx L00000969: incl %ebx cmpl -104(%rbp), %ebx movq -88(%rbp), %r15 jl L00000510 L00000978: movl $0, _caught_signals(%rip) xorl %ebx, %ebx leaq _main.sig(%rip), %r12 leaq -80(%rbp), %r14 .align 4, 0x90 L00000990: movl (%rbx,%r12), %r15d xorl %esi, %esi movl %r15d, %edi movq %r14, %rdx call _sigaction L000009A1: cmpq $1, -80(%rbp) je L000009BB L000009A8: decl %r15d movl $1, %eax movl %r15d, %ecx shll %cl, %eax orl %eax, _caught_signals(%rip) L000009BB: addq $4, %rbx cmpq $40, %rbx jne L00000990 L000009C5: leaq _interrupt_handler(%rip), %rax movq %rax, -80(%rbp) movl _caught_signals(%rip), %eax movl %eax, -72(%rbp) movl $0, -68(%rbp) testb $32, %ah je L000009FB L000009E5: leaq -80(%rbp), %rsi movl $14, %edi xorl %edx, %edx call _sigaction L000009F5: movl _caught_signals(%rip), %eax L000009FB: testb $1, %al je L00000A15 L000009FF: leaq -80(%rbp), %rsi movl $1, %edi xorl %edx, %edx call _sigaction L00000A0F: movl _caught_signals(%rip), %eax L00000A15: testb $2, %al je L00000A2F L00000A19: leaq -80(%rbp), %rsi movl $2, %edi xorl %edx, %edx call _sigaction L00000A29: movl _caught_signals(%rip), %eax L00000A2F: testb $16, %ah je L00000A4A L00000A34: leaq -80(%rbp), %rsi movl $13, %edi xorl %edx, %edx call _sigaction L00000A44: movl _caught_signals(%rip), %eax L00000A4A: testb $4, %al je L00000A64 L00000A4E: leaq -80(%rbp), %rsi movl $3, %edi xorl %edx, %edx call _sigaction L00000A5E: movl _caught_signals(%rip), %eax L00000A64: testb $64, %ah je L00000A7F L00000A69: leaq -80(%rbp), %rsi movl $15, %edi xorl %edx, %edx call _sigaction L00000A79: movl _caught_signals(%rip), %eax L00000A7F: testl $67108864, %eax je L00000A9C L00000A86: leaq -80(%rbp), %rsi movl $27, %edi xorl %edx, %edx call _sigaction L00000A96: movl _caught_signals(%rip), %eax L00000A9C: testl $33554432, %eax je L00000AB9 L00000AA3: leaq -80(%rbp), %rsi movl $26, %edi xorl %edx, %edx call _sigaction L00000AB3: movl _caught_signals(%rip), %eax L00000AB9: testl $8388608, %eax je L00000AD6 L00000AC0: leaq -80(%rbp), %rsi movl $24, %edi xorl %edx, %edx call _sigaction L00000AD0: movl _caught_signals(%rip), %eax L00000AD6: testl $16777216, %eax je L00000AED L00000ADD: leaq -80(%rbp), %rsi movl $25, %edi xorl %edx, %edx call _sigaction L00000AED: cmpq $0, _control_used(%rip) je L00000EE0 L00000AFB: movq _controls(%rip), %r14 xorl %ecx, %ecx L00000B04: leaq (%rcx,%rcx,2), %rbx shlq $5, %rbx cmpb $0, 30(%r14,%rbx) movq %rcx, -104(%rbp) movq %rbx, -96(%rbp) je L00000D80 L00000B20: xorl %eax, %eax cmpb $0, 28(%r14,%rbx) jne L00000B74 L00000B2A: jmp L00000B69 L00000B2C: .align 4, 0x90 L00000B30: testb %r15b, %r15b jne L00000B3A L00000B35: call _close_output_file L00000B3A: movq -88(%rbp), %rax cmpq $0, (%rax) movq -104(%rbp), %rcx movq -96(%rbp), %rbx jle L00000B53 L00000B4C: movq %r13, _current_line(%rip) L00000B53: movq -120(%rbp), %rax incq %rax movq _controls(%rip), %r14 cmpb $0, 28(%r14,%rbx) jne L00000B74 L00000B69: cmpq 16(%r14,%rbx), %rax ja L00000ED0 L00000B74: movq %rax, -120(%rbp) movb 29(%r14,%rbx), %r15b testb %r15b, %r15b jne L00000B87 L00000B82: call _create_output_file L00000B87: leaq (%r14,%rbx), %r12 cmpb $1, _suppress_matched(%rip) jne L00000BA5 L00000B94: movq _current_line(%rip), %rax testq %rax, %rax je L00000BA5 L00000BA0: call _remove_line L00000BA5: leaq 28(%r14,%rbx), %rax movq %rax, -112(%rbp) cmpq $0, (%r12) movq %r12, -88(%rbp) js L00000C70 L00000BBD: movq _current_line(%rip), %rdi incq %rdi movq %rdi, _current_line(%rip) call _find_line L00000BD3: testq %rax, %rax je L00000F58 L00000BDC: leaq 32(%r14,%rbx), %r13 L00000BE1: movq (%rax), %rcx movq 8(%rax), %rsi leaq -1(%rcx), %rdx cmpb $10, -1(%rsi,%rcx) cmovne %rcx, %rdx xorl %ecx, %ecx xorl %r9d, %r9d movq %r13, %rdi movq %rdx, %r8 call _rpl_re_search L00000C05: cmpq $-1, %rax jne L00000CBE L00000C0F: call _remove_line L00000C14: movq %rax, %r12 testb %r15b, %r15b jne L00000C41 L00000C1C: movq (%r12), %rdx movq 8(%r12), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000C36: movq (%r12), %rax addq %rax, _bytes_written(%rip) L00000C41: movq _current_line(%rip), %rdi incq %rdi movq %rdi, _current_line(%rip) call _find_line L00000C57: testq %rax, %rax movq -88(%rbp), %r12 jne L00000BE1 L00000C60: jmp L00000F58 L00000C65: .align 4, 0x90 L00000C70: leaq 32(%r14,%rbx), %r13 L00000C75: movq _current_line(%rip), %rdi incq %rdi movq %rdi, _current_line(%rip) call _find_line L00000C8B: testq %rax, %rax je L00000FAB L00000C94: movq (%rax), %rcx movq 8(%rax), %rsi leaq -1(%rcx), %rdx cmpb $10, -1(%rsi,%rcx) cmovne %rcx, %rdx xorl %ecx, %ecx xorl %r9d, %r9d movq %r13, %rdi movq %rdx, %r8 call _rpl_re_search L00000CB8: cmpq $-1, %rax je L00000C75 L00000CBE: cmpq $-2, %rax je L00001031 L00000CC8: movq (%r12), %r13 addq _current_line(%rip), %r13 movslq 24(%r14,%rbx), %rax movq %rax, -112(%rbp) cmpq $0, _head(%rip) jne L00000D10 L00000CE6: call _load_buffer L00000CEB: testb %al, %al jne L00000D10 L00000CEF: call ___error L00000CF4: movl (%rax), %esi movl $1, %edi xorl %eax, %eax leaq LC0000281C(%rip), %rdx call _error L00000D09: .align 4, 0x90 L00000D10: movq _head(%rip), %rax movq %r13, %r12 subq 24(%rax), %r12 jb L0000100B L00000D24: je L00000B30 L00000D2A: xorl %r14d, %r14d .align 4, 0x90 L00000D30: call _remove_line L00000D35: movq %rax, %rbx testq %rbx, %rbx je L0000100B L00000D41: testb %r15b, %r15b jne L00000D68 L00000D46: movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000D5E: movq (%rbx), %rax addq %rax, _bytes_written(%rip) L00000D68: incq %r14 cmpq %r12, %r14 jb L00000D30 L00000D70: jmp L00000B30 L00000D75: .align 4, 0x90 L00000D80: xorl %r15d, %r15d cmpb $0, 28(%r14,%rbx) jne L00000DAD L00000D8B: jmp L00000DA2 L00000D8D: .align 4, 0x90 L00000D90: movq _controls(%rip), %r14 movq %r13, %r15 cmpb $0, 28(%r14,%rbx) jne L00000DAD L00000DA2: cmpq 16(%r14,%rbx), %r15 ja L00000ED0 L00000DAD: movq 8(%r14,%rbx), %r12 call _create_output_file L00000DB7: movq _current_line(%rip), %rdi incq %rdi call _find_line L00000DC6: testq %rax, %rax jne L00000DD8 L00000DCB: cmpb $1, _suppress_matched(%rip) je L00001048 L00000DD8: movq %r15, -88(%rbp) leaq 1(%r15), %r13 imulq %r13, %r12 cmpq $0, _head(%rip) jne L00000E20 L00000DEE: call _load_buffer L00000DF3: testb %al, %al jne L00000E20 L00000DF7: call ___error L00000DFC: movl (%rax), %esi movl $1, %edi xorl %eax, %eax leaq LC0000281C(%rip), %rdx call _error L00000E11: .align 4, 0x90 L00000E20: movq _head(%rip), %rax movq 24(%rax), %r15 cmpq %r12, %r15 jb L00000E6A L00000E30: jmp L00000E80 L00000E32: .align 4, 0x90 L00000E40: incq %r15 movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000E5B: movq (%rbx), %rax addq %rax, _bytes_written(%rip) cmpq %r12, %r15 jae L00000E80 L00000E6A: call _remove_line L00000E6F: movq %rax, %rbx testq %rbx, %rbx jne L00000E40 L00000E77: jmp L00000FFB L00000E7C: .align 4, 0x90 L00000E80: call _close_output_file L00000E85: cmpb $1, _suppress_matched(%rip) jne L00000E93 L00000E8E: call _remove_line L00000E93: movq _current_line(%rip), %rdi incq %rdi call _find_line L00000EA2: testq %rax, %rax movq -104(%rbp), %rcx movq -96(%rbp), %rbx jne L00000D90 L00000EB3: movb _suppress_matched(%rip), %al testb %al, %al jne L00000D90 L00000EC1: jmp L00001057 L00000EC6: .align 4, 0x90 L00000ED0: incq %rcx cmpq _control_used(%rip), %rcx jb L00000B04 L00000EE0: call _create_output_file L00000EE5: jmp L00000F12 L00000EE7: .align 4, 0x90 L00000EF0: movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000F08: movq (%rbx), %rax addq %rax, _bytes_written(%rip) L00000F12: call _remove_line L00000F17: movq %rax, %rbx testq %rbx, %rbx jne L00000EF0 L00000F1F: call _close_output_file L00000F24: xorl %edi, %edi call _close L00000F2B: testl %eax, %eax jne L00001150 L00000F33: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne L00001165 L00000F47: xorl %eax, %eax addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp ret L00000F58: movq -112(%rbp), %rax cmpb $0, (%rax) je L00001124 L00000F65: testb %r15b, %r15b je L00000F92 L00000F6A: jmp L00000FA4 L00000F6C: .align 4, 0x90 L00000F70: movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000F88: movq (%rbx), %rax addq %rax, _bytes_written(%rip) L00000F92: call _remove_line L00000F97: movq %rax, %rbx testq %rbx, %rbx jne L00000F70 L00000F9F: call _close_output_file L00000FA4: xorl %edi, %edi call _exit L00000FAB: movq -112(%rbp), %rax cmpb $0, (%rax) je L00001124 L00000FB8: testb %r15b, %r15b je L00000FE2 L00000FBD: jmp L00000FF4 L00000FBF: .align 4, 0x90 L00000FC0: movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00000FD8: movq (%rbx), %rax addq %rax, _bytes_written(%rip) L00000FE2: call _remove_line L00000FE7: movq %rax, %rbx testq %rbx, %rbx jne L00000FC0 L00000FEF: call _close_output_file L00000FF4: xorl %edi, %edi call _exit L00000FFB: addq -96(%rbp), %r14 L00000FFF: movq %r14, %rdi movq -88(%rbp), %rsi call _handle_line_error L0000100B: movq _global_argv(%rip), %rax movq -112(%rbp), %rcx movq (%rax,%rcx,8), %rcx leaq LC000027FF(%rip), %rdx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax call _error L0000102C: call _cleanup_fatal L00001031: leaq LC00002798(%rip), %rdx xorl %edi, %edi xorl %esi, %esi L0000103C: xorl %eax, %eax call _error L00001043: call _cleanup_fatal L00001048: addq -96(%rbp), %r14 movq %r14, %rdi movq %r15, %rsi call _handle_line_error L00001057: addq %rbx, %r14 jmp L00000FFF L0000105C: leaq LC00002702(%rip), %rdx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax movq -120(%rbp), %rcx movq %rbx, %r8 call _error L00001075: call _cleanup_fatal L0000107A: cmpl $-131, %eax je L00001094 L00001081: cmpl $-130, %eax jne L000010DA L00001088: xorl %edi, %edi call _usage L0000108F: call _xalloc_die L00001094: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _Version@GOTPCREL(%rip), %rax movq (%rax), %rcx movq $0, (%rsp) leaq LC00001F62(%rip), %rsi leaq LC00001F69(%rip), %rdx leaq LC00001F77(%rip), %r8 leaq LC00001F83(%rip), %r9 xorl %eax, %eax call _version_etc L000010D3: xorl %edi, %edi call _exit L000010DA: movl $1, %edi call _usage L000010E4: call _xalloc_die L000010E9: cmpl -104(%rbp), %eax jge L00001134 L000010EE: movslq -104(%rbp), %rax movq -88(%rbp), %rcx movq -8(%rcx,%rax,8), %rdi call _quote L00001100: movq %rax, %rcx leaq LC00001FA3(%rip), %rdx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax call _error L00001115: movl $1, %edi call _usage L0000111F: call _xalloc_die L00001124: movzbl %r15b, %edx movq %r12, %rdi movq -120(%rbp), %rsi call _regexp_error L00001134: leaq LC00001F93(%rip), %rdx xorl %edi, %edi xorl %esi, %esi xorl %eax, %eax call _error L00001146: movl $1, %edi call _usage L00001150: call ___error L00001155: movl (%rax), %esi leaq LC00001FBC(%rip), %rdx xorl %edi, %edi jmp L0000103C L00001165: call ___stack_chk_fail L0000116A: .align 4, 0x90 # ---------------------- L0000116C: .long L000001B6-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000001C3-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000001D0-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000001D9-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L00000180-L0000116C .long L000010DA-L0000116C .long L00000180-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000001FE-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L000010DA-L0000116C .long L00000207-L0000116C # ---------------------- L000011E8: .long L000002DA-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002E0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002C0-L000011E8 .long L000002F0-L000011E8 .long L000002F0-L000011E8 .long L000002C0-L000011E8 # ---------------------- .align 4, 0x90 .globl _usage _usage: pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movl %edi, %r14d testl %r14d, %r14d jne L00001372 L00001233: movq _program_name@GOTPCREL(%rip), %rax movq (%rax), %rsi leaq LC00001FC7(%rip), %rdi xorl %eax, %eax call _printf L0000124B: movq ___stdoutp@GOTPCREL(%rip), %rbx movq (%rbx), %rsi leaq LC00001FEE(%rip), %rdi call _fputs L00001261: movq (%rbx), %rsi leaq LC00002074(%rip), %rdi call _fputs L00001270: movq (%rbx), %rsi leaq LC00002878(%rip), %rdi call _fputs L0000127F: movq (%rbx), %rsi leaq LC00002097(%rip), %rdi call _fputs L0000128E: movq (%rbx), %rsi leaq LC00002153(%rip), %rdi call _fputs L0000129D: movq (%rbx), %rsi leaq LC00002195(%rip), %rdi call _fputs L000012AC: movq (%rbx), %rsi leaq LC0000225C(%rip), %rdi call _fputs L000012BB: movq (%rbx), %rsi leaq LC00002289(%rip), %rdi call _fputs L000012CA: movq (%rbx), %rsi leaq LC000022BF(%rip), %rdi call _fputs L000012D9: leaq LC000028C3(%rip), %rdi leaq LC00001F69(%rip), %rsi leaq LC000028DA(%rip), %rdx xorl %eax, %eax call _printf L000012F5: movl $6, %edi xorl %esi, %esi call _setlocale L00001301: testq %rax, %rax je L00001333 L00001306: leaq LC00002901(%rip), %rsi movl $3, %edx movq %rax, %rdi call _strncmp L0000131A: testl %eax, %eax je L00001333 L0000131E: leaq LC00002905(%rip), %rdi leaq LC00001F62(%rip), %rsi xorl %eax, %eax call _printf L00001333: leaq LC0000294A(%rip), %rdi leaq LC000028DA(%rip), %rsi leaq LC00001F62(%rip), %rbx xorl %eax, %eax movq %rbx, %rdx call _printf L00001352: leaq LC00002969(%rip), %rdi leaq LC0000299C(%rip), %rdx xorl %eax, %eax movq %rbx, %rsi call _printf L0000136A: movl %r14d, %edi call _exit L00001372: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _program_name@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq LC00002851(%rip), %rsi xorl %eax, %eax call _fprintf L00001394: movl %r14d, %edi call _exit L0000139C: .align 4, 0x90 # ---------------------- _interrupt_handler: pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movl %edi, %r14d cmpb $0, _remove_files(%rip) je L000013E3 L000013B3: cmpl $0, _files_created(%rip) je L000013D9 L000013BC: xorl %ebx, %ebx .align 4, 0x90 L000013C0: movl %ebx, %edi call _make_filename L000013C7: movq %rax, %rdi call _rpl_unlink L000013CF: incl %ebx cmpl _files_created(%rip), %ebx jb L000013C0 L000013D9: movl $0, _files_created(%rip) L000013E3: xorl %esi, %esi movl %r14d, %edi call _signal L000013ED: movl %r14d, %edi popq %rbx popq %r14 popq %rbp jmp _raise L000013F9: .align 4, 0x90 # ---------------------- _close_output_file: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq _output_stream(%rip), %rdi testq %rdi, %rdi je L00001505 L0000142D: testb $64, 16(%rdi) jne L00001527 L00001437: call _rpl_fclose L0000143C: testl %eax, %eax jne L00001543 L00001444: movq _bytes_written(%rip), %rdi testq %rdi, %rdi jne L000014C6 L00001450: cmpb $1, _elide_empty_files(%rip) jne L000014C6 L00001459: leaq _caught_signals(%rip), %rsi leaq -64(%rbp), %r14 movl $1, %edi movq %r14, %rdx call _sigprocmask L00001471: movq _output_filename(%rip), %rdi call _rpl_unlink L0000147D: movl %eax, %r12d xorl %ebx, %ebx testl %r12d, %r12d sete %bl call ___error L0000148D: movl (%rax), %r15d subl %ebx, _files_created(%rip) movl $3, %edi xorl %edx, %edx movq %r14, %rsi call _sigprocmask L000014A5: testl %r12d, %r12d je L000014FA L000014AA: movq _output_filename(%rip), %rcx leaq LC00001F30(%rip), %rdx xorl %edi, %edi xorl %eax, %eax movl %r15d, %esi call _error L000014C4: jmp L000014FA L000014C6: movb _suppress_count(%rip), %al testb %al, %al jne L000014FA L000014D0: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rbx leaq -64(%rbp), %rsi call _umaxtostr L000014E3: movq %rax, %rcx leaq LC00002491(%rip), %rsi xorl %eax, %eax movq %rbx, %rdi movq %rcx, %rdx call _fprintf L000014FA: movq $0, _output_stream(%rip) L00001505: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne L00001522 L00001515: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret L00001522: call ___stack_chk_fail L00001527: movq _output_filename(%rip), %rdi call _quote L00001533: movq %rax, %rcx leaq LC0000247E(%rip), %rdx xorl %edi, %edi xorl %esi, %esi jmp L0000155A L00001543: call ___error L00001548: movl (%rax), %esi movq _output_filename(%rip), %rcx leaq LC00001F30(%rip), %rdx xorl %edi, %edi L0000155A: xorl %eax, %eax call _error L00001561: movq $0, _output_stream(%rip) call _cleanup_fatal L00001571: .align 4, 0x90 # ---------------------- _make_filename: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %edi, %r14d movq _filename_space(%rip), %rdi movq _prefix(%rip), %rsi call _strcpy L000015A0: movq _suffix(%rip), %r15 movq _filename_space(%rip), %rbx movq _prefix(%rip), %rdi call _strlen L000015BA: movq %rax, %rdi addq %rbx, %rdi cmpq $0, %r15 je L000015E5 L000015C6: movq _suffix(%rip), %rcx movl $0, %esi movq $-1, %rdx xorl %eax, %eax movl %r14d, %r8d call ___sprintf_chk L000015E3: jmp L00001609 L000015E5: movl _digits(%rip), %r8d leaq LC00002495(%rip), %rcx movl $0, %esi movq $-1, %rdx xorl %eax, %eax movl %r14d, %r9d call ___sprintf_chk L00001609: movq _filename_space(%rip), %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp ret L0000161B: .align 4, 0x90 # ---------------------- _create_output_file: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp movl _files_created(%rip), %edi call _make_filename L0000163A: movq %rax, %rcx movq %rcx, _output_filename(%rip) movl _files_created(%rip), %eax cmpl $-1, %eax je L000016C6 L0000164F: leaq _caught_signals(%rip), %rsi leaq -36(%rbp), %r15 movl $1, %edi movq %r15, %rdx call _sigprocmask L00001667: movq _output_filename(%rip), %rdi leaq LC0000284F(%rip), %rsi call _fopen_safer L0000167A: movq %rax, %r12 movq %r12, _output_stream(%rip) xorl %ebx, %ebx testq %r12, %r12 setne %bl call ___error L00001691: movl (%rax), %r14d addl %ebx, _files_created(%rip) movl $3, %edi xorl %edx, %edx movq %r15, %rsi call _sigprocmask L000016A9: testq %r12, %r12 je L000016CE L000016AE: movq $0, _bytes_written(%rip) addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret L000016C6: movl $84, %r14d jmp L000016D5 L000016CE: movq _output_filename(%rip), %rcx L000016D5: leaq LC00001F30(%rip), %rdx xorl %edi, %edi xorl %eax, %eax movl %r14d, %esi call _error L000016E8: call _cleanup_fatal L000016ED: .align 4, 0x90 # ---------------------- _remove_line: pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movq _remove_line.prev_buf(%rip), %r14 testq %r14, %r14 je L00001754 L00001703: movq 48(%r14), %rdi testq %rdi, %rdi je L00001724 L0000170C: .align 4, 0x90 L00001710: movq 1304(%rdi), %rbx call _free L0000171C: testq %rbx, %rbx movq %rbx, %rdi jne L00001710 L00001724: movq $0, 48(%r14) movq 40(%r14), %rdi call _free L00001735: movq $0, 40(%r14) movq _remove_line.prev_buf(%rip), %rdi call _free L00001749: movq $0, _remove_line.prev_buf(%rip) L00001754: movq _head(%rip), %rcx testq %rcx, %rcx jne L00001770 L00001760: call _load_buffer L00001765: testb %al, %al je L000017D5 L00001769: movq _head(%rip), %rcx L00001770: movq 24(%rcx), %rax cmpq %rax, _current_line(%rip) jae L00001784 L0000177D: movq %rax, _current_line(%rip) L00001784: incq %rax movq %rax, 24(%rcx) movq 56(%rcx), %rdx movq 16(%rdx), %rsi movq %rsi, %rax shlq $4, %rax leaq 24(%rdx,%rax), %rax incq %rsi movq %rsi, 16(%rdx) cmpq (%rdx), %rsi jne L000017D7 L000017AB: movq 1304(%rdx), %rdx movq %rdx, 56(%rcx) testq %rdx, %rdx je L000017C1 L000017BB: cmpq $0, (%rdx) jne L000017D7 L000017C1: movq %rcx, _remove_line.prev_buf(%rip) movq 64(%rcx), %rcx movq %rcx, _head(%rip) jmp L000017D7 L000017D5: xorl %eax, %eax L000017D7: popq %rbx popq %r14 popq %rbp ret L000017DC: .align 4, 0x90 # ---------------------- _find_line: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq _head(%rip), %r15 testq %r15, %r15 jne L00001809 L000017F9: call _load_buffer L000017FE: testb %al, %al je L00001812 L00001802: movq _head(%rip), %r15 L00001809: movq 16(%r15), %rax cmpq %rbx, %rax jbe L00001817 L00001812: xorl %r14d, %r14d jmp L0000188A L00001817: testq %r15, %r15 je L00001898 L0000181C: movq 32(%r15), %rcx addq %rax, %rcx cmpq %rbx, %rcx jbe L0000182D L00001828: movq %r15, %rcx jmp L0000185E L0000182D: xorl %r14d, %r14d L00001830: movq 64(%r15), %rcx testq %rcx, %rcx jne L0000184B L00001839: call _load_buffer L0000183E: testb %al, %al je L0000188A L00001842: movq 64(%r15), %rcx testq %rcx, %rcx je L00001898 L0000184B: movq 16(%rcx), %rax movq 32(%rcx), %rdx addq %rax, %rdx cmpq %rbx, %rdx movq %rcx, %r15 jbe L00001830 L0000185E: subq %rax, %rbx movq 48(%rcx), %rax cmpq $80, %rbx jb L00001881 L0000186B: .align 4, 0x90 L00001870: addq $-80, %rbx movq 1304(%rax), %rax cmpq $79, %rbx ja L00001870 L00001881: shlq $4, %rbx leaq 24(%rax,%rbx), %r14 L0000188A: movq %r14, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp ret L00001898: leaq LC000027BB(%rip), %rdi leaq LC000027C5(%rip), %rsi leaq LC000027D2(%rip), %rcx movl $617, %edx call ___assert_rtn L000018B7: .align 4, 0x90 # ---------------------- _regexp_error: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp movl %edx, %r14d movq %rsi, %r15 movq ___stderrp@GOTPCREL(%rip), %r13 movq (%r13), %r12 movq _program_name@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _global_argv(%rip), %rax movslq 24(%rdi), %rcx movq (%rax,%rcx,8), %rdi call _quote L00001900: movq %rax, %rcx leaq LC000027D4(%rip), %rsi xorl %eax, %eax movq %r12, %rdi movq %rbx, %rdx call _fprintf L00001917: testq %r15, %r15 je L00001945 L0000191C: movq (%r13), %rbx leaq -64(%rbp), %rsi movq %r15, %rdi call _umaxtostr L0000192C: movq %rax, %rcx leaq LC000027EC(%rip), %rsi xorl %eax, %eax movq %rbx, %rdi movq %rcx, %rdx call _fprintf L00001943: jmp L00001953 L00001945: movq (%r13), %rsi movl $10, %edi call _fputc L00001953: testb %r14b, %r14b je L00001982 L00001958: jmp L00001994 L0000195A: .align 4, 0x90 L00001960: movq (%rbx), %rdx movq 8(%rbx), %rdi movq _output_stream(%rip), %rcx movl $1, %esi call _fwrite L00001978: movq (%rbx), %rax addq %rax, _bytes_written(%rip) L00001982: call _remove_line L00001987: movq %rax, %rbx testq %rbx, %rbx jne L00001960 L0000198F: call _close_output_file L00001994: call _cleanup_fatal L00001999: .align 4, 0x90 # ---------------------- _load_buffer: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp movb _have_read_eof(%rip), %al testb %al, %al jne L00001E0F L000019BF: movq _hold_count(%rip), %r14 cmpq $8191, %r14 movl $8191, %eax cmovbe %rax, %r14 cmpq $8192, %r14 jae L00001A17 L000019DF: jmp L00001A30 L000019E1: .align 4, 0x90 L000019F0: addq %r14, %r14 movq $0, 48(%r12) movq 40(%r12), %rdi call _free L00001A06: movq %r12, %rdi call _free L00001A0E: cmpq $8192, %r14 jb L00001A30 L00001A17: addq $-6144, %r14 andq $-2048, %r14 addq $8191, %r14 jmp L00001A36 L00001A2E: .align 4, 0x90 L00001A30: movl $8191, %r14d L00001A36: movl $72, %edi call _xmalloc L00001A40: movq %rax, %r12 leaq 1(%r14), %rdi call _xmalloc L00001A4C: movq %rax, %r15 movq %r15, 40(%r12) movq %r14, (%r12) movq $0, 56(%r12) movq $0, 48(%r12) movq $0, 32(%r12) movq $0, 8(%r12) movq _last_line_number(%rip), %rax incq %rax movq %rax, 24(%r12) movq %rax, 16(%r12) movq $0, 64(%r12) movq _hold_count(%rip), %rdx testq %rdx, %rdx je L00001AD3 L00001AA5: movq _hold_area(%rip), %rsi movq %r15, %rdi call _memcpy L00001AB4: movq _hold_count(%rip), %rax addq %rax, 8(%r12) subq %rax, %r14 movq $0, _hold_count(%rip) je L00001B07 L00001AD0: addq %rax, %r15 L00001AD3: xorl %edi, %edi movq %r15, %rsi movq %r14, %rdx call _safe_read L00001AE0: movq %rax, %r15 testq %r15, %r15 je L00001B00 L00001AE8: cmpq $-1, %r15 jne L00001B0A L00001AEE: jmp L00001E64 L00001AF3: .align 4, 0x90 L00001B00: movb $1, _have_read_eof(%rip) L00001B07: xorl %r15d, %r15d L00001B0A: leaq 48(%r12), %rax movq %rax, -48(%rbp) addq 8(%r12), %r15 movq %r15, 8(%r12) je L00001D7B L00001B23: movq 40(%r12), %rbx movl $10, %esi movq %rbx, %rdi movq %r15, %rdx call _memchr L00001B38: movq %rax, %r14 testq %r14, %r14 je L00001C50 L00001B44: movq %r12, -56(%rbp) xorl %r13d, %r13d .align 4, 0x90 L00001B50: movq %r14, %r12 subq %rbx, %r12 movq -48(%rbp), %rax cmpq $0, (%rax) je L00001B70 L00001B60: movq -56(%rbp), %rax movq 56(%rax), %rax jmp L00001BA8 L00001B6A: .align 4, 0x90 L00001B70: movl $1312, %edi call _xmalloc L00001B7A: movq $0, 1304(%rax) movq $0, 16(%rax) movq $0, 8(%rax) movq $0, (%rax) movq -56(%rbp), %rcx movq %rax, 56(%rcx) movq %rax, 48(%rcx) L00001BA8: incq %r12 cmpq $80, (%rax) jne L00001BF0 L00001BB1: movl $1312, %edi call _xmalloc L00001BBB: movq $0, 1304(%rax) movq $0, 16(%rax) movq $0, 8(%rax) movq $0, (%rax) movq -56(%rbp), %rdx movq 56(%rdx), %rcx movq %rax, 1304(%rcx) movq %rax, 56(%rdx) L00001BF0: movq 8(%rax), %rcx shlq $4, %rcx movq %rbx, 32(%rax,%rcx) movq %r12, 24(%rax,%rcx) movdqu (%rax), %xmm0 paddq LC00001F20(%rip), %xmm0 movdqu %xmm0, (%rax) subq %r12, %r15 movq %r14, %rbx incq %rbx incq %r13 movl $10, %esi movq %rbx, %rdi movq %r15, %rdx call _memchr L00001C2E: movq %rax, %r14 testq %r14, %r14 jne L00001B50 L00001C3A: testq %r15, %r15 movq -56(%rbp), %r12 jne L00001C53 L00001C43: jmp L00001D4E L00001C48: .align 4, 0x90 L00001C50: xorl %r13d, %r13d L00001C53: cmpb $1, _have_read_eof(%rip) jne L00001C80 L00001C5C: movq -48(%rbp), %rax cmpq $0, (%rax) je L00001CAD L00001C66: movq %r12, %r14 addq $56, %r14 movq 56(%r12), %rax cmpq $80, (%rax) je L00001CF0 L00001C78: jmp L00001D29 L00001C7D: .align 4, 0x90 L00001C80: movq %rbx, %rdi movq %r15, %rsi call _xmemdup L00001C8B: movq %rax, %rbx movq _hold_area(%rip), %rdi call _free L00001C9A: movq %rbx, _hold_area(%rip) movq %r15, _hold_count(%rip) jmp L00001D4E L00001CAD: movl $1312, %edi call _xmalloc L00001CB7: movq $0, 1304(%rax) movq $0, 16(%rax) movq $0, 8(%rax) movq $0, (%rax) movq %r12, %r14 addq $56, %r14 movq %rax, 56(%r12) movq %rax, 48(%r12) cmpq $80, (%rax) jne L00001D29 L00001CF0: movl $1312, %edi call _xmalloc L00001CFA: movq $0, 1304(%rax) movq $0, 16(%rax) movq $0, 8(%rax) movq $0, (%rax) movq (%r14), %rcx movq %rax, 1304(%rcx) movq %rax, (%r14) L00001D29: movq 8(%rax), %rcx shlq $4, %rcx movq %rbx, 32(%rax,%rcx) movq %r15, 24(%rax,%rcx) movdqu (%rax), %xmm0 paddq LC00001F20(%rip), %xmm0 movdqu %xmm0, (%rax) incq %r13 L00001D4E: movq %r13, 32(%r12) movq _last_line_number(%rip), %rax leaq 1(%rax), %rcx movq %rcx, 16(%r12) movq %rcx, 24(%r12) addq %r13, %rax movq %rax, _last_line_number(%rip) testq %r13, %r13 jne L00001E20 L00001D7B: movb _have_read_eof(%rip), %al testb %al, %al jne L00001DC9 L00001D85: movq (%r12), %r14 testq %r14, %r14 js L00001E5F L00001D92: movq -48(%rbp), %rax movq (%rax), %rdi testq %rdi, %rdi je L000019F0 L00001DA2: .align 4, 0x90 L00001DB0: movq 1304(%rdi), %rbx call _free L00001DBC: testq %rbx, %rbx movq %rbx, %rdi jne L00001DB0 L00001DC4: jmp L000019F0 L00001DC9: movq -48(%rbp), %rax movq (%rax), %rdi testq %rdi, %rdi je L00001DF4 L00001DD5: .align 4, 0x90 L00001DE0: movq 1304(%rdi), %rbx call _free L00001DEC: testq %rbx, %rbx movq %rbx, %rdi jne L00001DE0 L00001DF4: movq $0, 48(%r12) movq 40(%r12), %rdi call _free L00001E07: movq %r12, %rdi call _free L00001E0F: xorl %eax, %eax L00001E11: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp ret L00001E20: movq $0, 64(%r12) movq 48(%r12), %rax movq %rax, 56(%r12) movq _head(%rip), %rax testq %rax, %rax je L00001E54 L00001E3F: .align 4, 0x90 L00001E40: movq %rax, %rcx movq 64(%rcx), %rax testq %rax, %rax jne L00001E40 L00001E4C: movq %r12, 64(%rcx) movb $1, %al jmp L00001E11 L00001E54: movq %r12, _head(%rip) movb $1, %al jmp L00001E11 L00001E5F: call _xalloc_die L00001E64: call ___error L00001E69: movl (%rax), %esi leaq LC00001FBC(%rip), %rdx xorl %edi, %edi xorl %eax, %eax call _error L00001E7B: call _cleanup_fatal # ---------------------- _handle_line_error: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp movq %rsi, %r14 movq ___stderrp@GOTPCREL(%rip), %r12 movq (%r12), %r15 movq _program_name@GOTPCREL(%rip), %rax movq (%rax), %rbx movq 8(%rdi), %rdi leaq -64(%rbp), %rsi call _umaxtostr L00001EB4: movq %rax, %rdi call _quote L00001EBC: movq %rax, %rcx leaq LC0000282E(%rip), %rsi xorl %eax, %eax movq %r15, %rdi movq %rbx, %rdx call _fprintf L00001ED3: testq %r14, %r14 movq (%r12), %rbx jne L00001EEE L00001EDC: movl $10, %edi movq %rbx, %rsi call _fputc L00001EE9: call _cleanup_fatal L00001EEE: leaq -64(%rbp), %rsi movq %r14, %rdi call _umaxtostr L00001EFA: movq %rax, %rcx leaq LC000027EC(%rip), %rsi xorl %eax, %eax movq %rbx, %rdi movq %rcx, %rdx call _fprintf L00001F11: call _cleanup_fatal # ---------------------- .section __TEXT,__literal16,16byte_literals .align 4 LC00001F20: .long 1 .long 0 .long 1 .long 0 # ---------------------- .section __TEXT,__cstring,cstring_literals LC00001F30: .string "%s" LC00001F33: .string "memory exhausted" LC00001F44: .byte 0 LC00001F45: .string "xx" LC00001F48: .string "f:b:kn:sqz" LC00001F53: .string "invalid number" LC00001F62: .string "csplit" LC00001F69: .string "GNU coreutils" LC00001F77: .string "<NAME>" LC00001F83: .string "<NAME>" LC00001F93: .string "missing operand" LC00001FA3: .string "missing operand after %s" LC00001FBC: .string "read error" LC00001FC7: .string "Usage: %s [OPTION]... FILE PATTERN...\n" LC00001FEE: .string "Output pieces of FILE separated by PATTERN(s) to files 'xx00', 'xx01', ...,\nand output byte counts of each piece to standard output.\n" LC00002074: .string "\nRead standard input if FILE is -\n" LC00002097: .string " -b, --suffix-format=FORMAT use sprintf FORMAT instead of %02d\n -f, --prefix=PREFIX use PREFIX instead of 'xx'\n -k, --keep-files do not remove output files on errors\n" LC00002153: .string " -m, --suppress-matched suppress the lines matching PATTERN\n" LC00002195: .string " -n, --digits=DIGITS use specified number of digits instead of 2\n -s, --quiet, --silent do not print counts of output file sizes\n -z, --elide-empty-files remove empty output files\n" LC0000225C: .string " --help display this help and exit\n" LC00002289: .string " --version output version information and exit\n" LC000022BF: .string "\nEach PATTERN may be:\n INTEGER copy up to but not including specified line number\n /REGEXP/[OFFSET] copy up to but not including a matching line\n %REGEXP%[OFFSET] skip to, but not including a matching line\n {INTEGER} repeat the previous pattern specified number of times\n {*} repeat the previous pattern as many times as possible\n\nA line OFFSET is a required '+' or '-' followed by a positive integer.\n" LC0000247E: .string "write error for %s" LC00002491: .string "%s\n" LC00002495: .string "%0*u" LC0000249A: .string "digits" LC000024A1: .string "quiet" LC000024A7: .string "silent" LC000024AE: .string "keep-files" LC000024B9: .string "elide-empty-files" LC000024CB: .string "prefix" LC000024D2: .string "suffix-format" LC000024E0: .string "suppress-matched" LC000024F1: .string "help" LC000024F6: .string "version" LC000024FE: .string "too many %% conversion specifications in suffix" LC0000252E: .string "missing %% conversion specification in suffix" LC0000255C: .string "missing conversion specifier in suffix" LC00002583: .string "invalid conversion specifier in suffix: %c" LC000025AE: .string "invalid conversion specifier in suffix: \\%.3o" LC000025DC: .string "invalid flags in conversion specification: %%%c%c" LC0000260E: .string "-" LC00002610: .string "cannot open %s for reading" LC0000262B: .string "%s: invalid pattern" LC0000263F: .string "%s: line number must be greater than zero" LC00002669: .string "line number %s is smaller than preceding line number, %s" LC000026A2: .string "warning: line number %s is the same as preceding line number" LC000026DF: .string "%s: closing delimiter '%c' missing" LC00002702: .string "%s: invalid regular expression: %s" LC00002725: .string "%s: integer expected after delimiter" LC0000274A: .string "%s: '}' is required in repeat count" LC0000276E: .string "%s}: integer required between '{' and '}'" LC00002798: .string "error in regular expression search" LC000027BB: .string "find_line" LC000027C5: .string "src/csplit.c" LC000027D2: .string "b" LC000027D4: .string "%s: %s: match not found" LC000027EC: .string " on repetition %s\n" LC000027FF: .string "%s: line number out of range" LC0000281C: .string "input disappeared" LC0000282E: .string "%s: %s: line number out of range" LC0000284F: .string "w" LC00002851: .string "Try '%s --help' for more information.\n" LC00002878: .string "\nMandatory arguments to long options are mandatory for short options too.\n" LC000028C3: .string "\n%s online help: <%s>\n" LC000028DA: .string "http://www.gnu.org/software/coreutils/" LC00002901: .string "en_" LC00002905: .string "Report %s translation bugs to <http://translationproject.org/team/>\n" LC0000294A: .string "Full documentation at: <%s%s>\n" LC00002969: .string "or available locally via: info '(coreutils) %s%s'\n" LC0000299C: .string " invocation" # ---------------------- .section __DATA,__const,regular .align 4 _longopts: .quad LC0000249A .long 1 .long 0 .long 0 .long 0 .long 110 .long 0 .quad LC000024A1 .long 0 .long 0 .long 0 .long 0 .long 113 .long 0 .quad LC000024A7 .long 0 .long 0 .long 0 .long 0 .long 115 .long 0 .quad LC000024AE .long 0 .long 0 .long 0 .long 0 .long 107 .long 0 .quad LC000024B9 .long 0 .long 0 .long 0 .long 0 .long 122 .long 0 .quad LC000024CB .long 1 .long 0 .long 0 .long 0 .long 102 .long 0 .quad LC000024D2 .long 1 .long 0 .long 0 .long 0 .long 98 .long 0 .quad LC000024E0 .long 0 .long 0 .long 0 .long 0 .long 128 .long 0 .quad LC000024F1 .long 0 .long 0 .long 0 .long 0 .long -130 .long 0 .quad LC000024F6 .long 0 .long 0 .long 0 .long 0 .long -131 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 .long 0 # ---------------------- .section __DATA,__data,regular .align 2 _digits: .long 2 # ---------------------- .section __TEXT,__const,regular .align 4 _main.sig: .long 14 .long 1 .long 2 .long 13 .long 3 .long 15 .long 27 .long 26 .long 24 .long 25 # ---------------------- .zerofill __DATA,__bss,_global_argv,8,3 # ---------------------- .zerofill __DATA,__bss,_controls,8,3 # ---------------------- .zerofill __DATA,__bss,_control_used,8,3 # ---------------------- .zerofill __DATA,__bss,_suppress_count,1,0 # ---------------------- .zerofill __DATA,__bss,_remove_files,1,0 # ---------------------- .zerofill __DATA,__bss,_suppress_matched,6,1 # ---------------------- .zerofill __DATA,__bss,_prefix,8,3 # ---------------------- .zerofill __DATA,__bss,_suffix,8,3 # ---------------------- .zerofill __DATA,__bss,_elide_empty_files,8,3 # ---------------------- .zerofill __DATA,__bss,_filename_space,8,3 # ---------------------- .zerofill __DATA,__bss,_caught_signals,8,3 # ---------------------- .zerofill __DATA,__bss,_output_stream,8,3 # ---------------------- .zerofill __DATA,__bss,_output_filename,8,3 # ---------------------- .zerofill __DATA,__bss,_bytes_written,8,3 # ---------------------- .zerofill __DATA,__bss,_files_created,8,3 # ---------------------- .zerofill __DATA,__bss,_parse_patterns.last_val,8,3 # ---------------------- .zerofill __DATA,__bss,_new_control_record.control_allocated,8,3 # ---------------------- .zerofill __DATA,__bss,_current_line,8,3 # ---------------------- .zerofill __DATA,__bss,_remove_line.prev_buf,8,3 # ---------------------- .zerofill __DATA,__bss,_head,8,3 # ---------------------- .zerofill __DATA,__bss,_have_read_eof,8,3 # ---------------------- .zerofill __DATA,__bss,_hold_count,8,3 # ---------------------- .zerofill __DATA,__bss,_hold_area,8,3 # ---------------------- .zerofill __DATA,__bss,_last_line_number,8,3 # ---------------------- .subsections_via_symbols
tools/scitools/conf/understand/ada/ada12/a-tasatt.ads
brucegua/moocos
1
14227
<filename>tools/scitools/conf/understand/ada/ada12/a-tasatt.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T A S K _ A T T R I B U T E S -- -- -- -- S p e c -- -- -- -- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- -- apply solely to the contents of the part following the private keyword. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 3, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. -- -- -- -- -- -- -- -- -- -- -- -- You should have received a copy of the GNU General Public License and -- -- a copy of the GCC Runtime Library Exception along with this program; -- -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- -- <http://www.gnu.org/licenses/>. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ with Ada.Task_Identification; generic type Attribute is private; Initial_Value : Attribute; package Ada.Task_Attributes is type Attribute_Handle is access all Attribute; function Value (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return Attribute; function Reference (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task) return Attribute_Handle; procedure Set_Value (Val : Attribute; T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); procedure Reinitialize (T : Ada.Task_Identification.Task_Id := Ada.Task_Identification.Current_Task); private pragma Inline (Value); pragma Inline (Set_Value); pragma Inline (Reinitialize); end Ada.Task_Attributes;
oeis/135/A135400.asm
neoneye/loda-programs
11
161118
; A135400: a(n) = (4*n^4 - 4*n^3 - n^2 + 3*n)/2. ; 1,17,108,382,995,2151,4102,7148,11637,17965,26576,37962,52663,71267,94410,122776,157097,198153,246772,303830,370251,447007,535118,635652,749725,878501,1023192,1185058,1365407,1565595,1787026,2031152,2299473,2593537,2914940,3265326,3646387,4059863,4507542,4991260,5512901,6074397,6677728,7324922,8018055,8759251,9550682,10394568,11293177,12248825,13263876,14340742,15481883,16689807,17967070,19316276,20740077,22241173,23822312,25486290,27235951,29074187,31003938,33028192,35149985,37372401,39698572 sub $2,$0 add $0,2 sub $0,$2 bin $0,2 bin $0,2 sub $0,$2 add $0,1
alloy4fun_models/trashltl/models/10/ZkPT9GLoims9AernE.als
Kaixi26/org.alloytools.alloy
0
3181
open main pred idZkPT9GLoims9AernE_prop11 { always Protected' = (File - Protected) } pred __repair { idZkPT9GLoims9AernE_prop11 } check __repair { idZkPT9GLoims9AernE_prop11 <=> prop11o }
Kernal64/asm/examples/fractal.asm
abbruzze/kernal64
92
176147
// =========================================================================== //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // Bitmap Fractal Example for Kick Assembler adapted for k64ass //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- val imCenter = 0 val reCenter = 0 val zoom = 2 // lower = more zoom //---------------------------------------------------------------------------- // Display the fractal //---------------------------------------------------------------------------- BasicUpstart($0810,"Display Program") lda #$18 sta $d018 lda #$d8 sta $d016 lda #$3b sta $d011 lda #BLACK sta $d021 sta $d020 ldx #0 loop: for (i=0; i<4; i++) { lda #GRAY | LIGHT_GRAY<<4 sta $0400+$100*i,x lda #DARK_GRAY sta $d800+$100*i,x } inx bne loop jmp _ //---------------------------------------------------------------------------- // Calculate the fractal //---------------------------------------------------------------------------- .pc = $2000 "Fractal Image" val colors = [%11,%01,%10,%00] def mandelbrot(re,im) { var zr = 0 var zi = 0 var iter=0 for(;(zr*zr+zi*zi)<4 & iter<18;iter++) { var newZr = zr*zr-zi*zi + re var newZi = 2*zr*zi + im zr = newZr zi = newZi } eval colors.get(iter&3) } def map(x, width, targetCenter, targetWidth) { eval (targetCenter-targetWidth/2) + targetWidth * (x/(width-1)) } def fillFractalData() { var fractalData = [] for (screenY=0; screenY<25; screenY++) for (screenX=0; screenX<40; screenX++) for (charY=0; charY<8; charY++) { var byteValue = $00 for (charX=0; charX<4; charX++) { var x = charX+screenX*4 var y = charY+screenY*8 var re = map(x,160,reCenter,zoom) var im = map(y,200,imCenter,zoom) byteValue = byteValue | (mandelbrot(re,im)<<(6-charX*2)) } fractalData = fractalData + byteValue } eval fractalData } val ts = time() print "Filling..." val fractalData = fillFractalData() .byte [b <- [0 .. 8*25*40-1] || fractalData.get(b)] print "Elapsed " + ((time() - ts) / 1000) + " seconds"
tools-src/gnu/gcc/gcc/ada/s-stratt.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
24658
<filename>tools-src/gnu/gcc/gcc/ada/s-stratt.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- S Y S T E M . S T R E A M _ A T T R I B U T E S -- -- -- -- S p e c -- -- -- -- $Revision$ -- -- -- Copyright (C) 1992-2000 Free Software Foundation, Inc. -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- -- ware Foundation; either version 2, or (at your option) any later ver- -- -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- -- MA 02111-1307, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- -- this unit does not by itself cause the resulting executable to be -- -- covered by the GNU General Public License. This exception does not -- -- however invalidate any other reasons why the executable file might be -- -- covered by the GNU Public License. -- -- -- -- GNAT was originally developed by the GNAT team at New York University. -- -- Extensive contributions were provided by Ada Core Technologies Inc. -- -- -- ------------------------------------------------------------------------------ -- This package contains the implementations of the stream attributes for -- elementary types. These are the subprograms that are directly accessed -- by occurrences of the stream attributes where the type is elementary. -- We only provide the subprograms for the standard base types. For user -- defined types, the subprogram for the corresponding root type is called -- with an appropriate conversion. with System; with System.Unsigned_Types; with Ada.Streams; package System.Stream_Attributes is pragma Preelaborate (Stream_Attributes); pragma Suppress (Accessibility_Check, Stream_Attributes); -- No need to check accessibility on arguments of subprograms package UST renames System.Unsigned_Types; subtype RST is Ada.Streams.Root_Stream_Type'Class; -- Enumeration types are usually transferred using the routine for the -- corresponding integer. The exception is that special routines are -- provided for Boolean and the character types, in case the protocol -- in use provides specially for these types. -- Access types use either a thin pointer (single address) or fat pointer -- (double address) form. The following types are used to hold access -- values using unchecked conversions. type Thin_Pointer is record P1 : System.Address; end record; type Fat_Pointer is record P1 : System.Address; P2 : System.Address; end record; ------------------------------------ -- Treatment of enumeration types -- ------------------------------------ -- In this interface, there are no specific routines for general input -- or output of enumeration types. Generally, enumeration types whose -- representation is unsigned (no negative representation values) are -- treated as unsigned integers, and enumeration types that do have -- negative representation values are treated as signed integers. -- An exception is that there are specialized routines for Boolean, -- Character, and Wide_Character types, but these specialized routines -- are used only if the type in question has a standard representation. -- For the case of a non-standard representation (one where the size of -- the first subtype is specified, or where an enumeration representation -- clause is given, these three types are treated like any other cases -- of enumeration types, as described above. -- for --------------------- -- Input Functions -- --------------------- -- Functions for S'Input attribute. These functions are also used for -- S'Read, with the obvious transformation, since the input operation -- is the same for all elementary types (no bounds or discriminants -- are involved). function I_AD (Stream : access RST) return Fat_Pointer; function I_AS (Stream : access RST) return Thin_Pointer; function I_B (Stream : access RST) return Boolean; function I_C (Stream : access RST) return Character; function I_F (Stream : access RST) return Float; function I_I (Stream : access RST) return Integer; function I_LF (Stream : access RST) return Long_Float; function I_LI (Stream : access RST) return Long_Integer; function I_LLF (Stream : access RST) return Long_Long_Float; function I_LLI (Stream : access RST) return Long_Long_Integer; function I_LLU (Stream : access RST) return UST.Long_Long_Unsigned; function I_LU (Stream : access RST) return UST.Long_Unsigned; function I_SF (Stream : access RST) return Short_Float; function I_SI (Stream : access RST) return Short_Integer; function I_SSI (Stream : access RST) return Short_Short_Integer; function I_SSU (Stream : access RST) return UST.Short_Short_Unsigned; function I_SU (Stream : access RST) return UST.Short_Unsigned; function I_U (Stream : access RST) return UST.Unsigned; function I_WC (Stream : access RST) return Wide_Character; ----------------------- -- Output Procedures -- ----------------------- -- Procedures for S'Write attribute. These procedures are also used -- for 'Output, since for elementary types there is no difference -- between 'Write and 'Output because there are no discriminants -- or bounds to be written. procedure W_AD (Stream : access RST; Item : in Fat_Pointer); procedure W_AS (Stream : access RST; Item : in Thin_Pointer); procedure W_B (Stream : access RST; Item : in Boolean); procedure W_C (Stream : access RST; Item : in Character); procedure W_F (Stream : access RST; Item : in Float); procedure W_I (Stream : access RST; Item : in Integer); procedure W_LF (Stream : access RST; Item : in Long_Float); procedure W_LI (Stream : access RST; Item : in Long_Integer); procedure W_LLF (Stream : access RST; Item : in Long_Long_Float); procedure W_LLI (Stream : access RST; Item : in Long_Long_Integer); procedure W_LLU (Stream : access RST; Item : in UST.Long_Long_Unsigned); procedure W_LU (Stream : access RST; Item : in UST.Long_Unsigned); procedure W_SF (Stream : access RST; Item : in Short_Float); procedure W_SI (Stream : access RST; Item : in Short_Integer); procedure W_SSI (Stream : access RST; Item : in Short_Short_Integer); procedure W_SSU (Stream : access RST; Item : in UST.Short_Short_Unsigned); procedure W_SU (Stream : access RST; Item : in UST.Short_Unsigned); procedure W_U (Stream : access RST; Item : in UST.Unsigned); procedure W_WC (Stream : access RST; Item : in Wide_Character); private pragma Inline (I_AD); pragma Inline (I_AS); pragma Inline (I_B); pragma Inline (I_C); pragma Inline (I_F); pragma Inline (I_I); pragma Inline (I_LF); pragma Inline (I_LI); pragma Inline (I_LLF); pragma Inline (I_LLI); pragma Inline (I_LLU); pragma Inline (I_LU); pragma Inline (I_SF); pragma Inline (I_SI); pragma Inline (I_SSI); pragma Inline (I_SSU); pragma Inline (I_SU); pragma Inline (I_U); pragma Inline (I_WC); pragma Inline (W_AD); pragma Inline (W_AS); pragma Inline (W_B); pragma Inline (W_C); pragma Inline (W_F); pragma Inline (W_I); pragma Inline (W_LF); pragma Inline (W_LI); pragma Inline (W_LLF); pragma Inline (W_LLI); pragma Inline (W_LLU); pragma Inline (W_LU); pragma Inline (W_SF); pragma Inline (W_SI); pragma Inline (W_SSI); pragma Inline (W_SSU); pragma Inline (W_SU); pragma Inline (W_U); pragma Inline (W_WC); end System.Stream_Attributes;
src/asis/a4g-cu_info2.ads
My-Colaborations/dynamo
15
1922
<filename>src/asis/a4g-cu_info2.ads ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- A 4 G . C U _ I N F O 2 -- -- -- -- S p e c -- -- -- -- Copyright (c) 1995-1999, Free Software Foundation, Inc. -- -- -- -- ASIS-for-GNAT is free software; you can redistribute it and/or modify it -- -- under terms of the GNU General Public License as published by the Free -- -- Software Foundation; either version 2, or (at your option) any later -- -- version. ASIS-for-GNAT is distributed in the hope that it will be use- -- -- ful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- -- -- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -- -- Public License for more details. You should have received a copy of the -- -- GNU General Public License distributed with ASIS-for-GNAT; see file -- -- COPYING. If not, write to the Free Software Foundation, 59 Temple Place -- -- - Suite 330, Boston, MA 02111-1307, USA. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ASIS-for-GNAT was originally developed by the ASIS-for-GNAT team at the -- -- Software Engineering Laboratory of the Swiss Federal Institute of -- -- Technology (LGL-EPFL) in Lausanne, Switzerland, in cooperation with the -- -- Scientific Research Computer Center of Moscow State University (SRCC -- -- MSU), Russia, with funding partially provided by grants from the Swiss -- -- National Science Foundation and the Swiss Academy of Engineering -- -- Sciences. ASIS-for-GNAT is now maintained by Ada Core Technologies Inc -- -- (http://www.gn<EMAIL>). -- -- -- ------------------------------------------------------------------------------ with Asis; use Asis; with A4G.A_Types; use A4G.A_Types; with Types; use Types; -- This package contains the routines used to compute the unit attributes -- during the second pass through the tree files, when ASIS operates in -- Use_Pre_Created_Trees mode. There is some duplication of the -- functionalities provided by this package and by A4G.C_U_Info and -- A4G.S_U_Info; the last two packages were coded before for -- Compile_On_The_Fly ASIS operation mode. The intent is to get rid of -- A4G.C_U_Info and A4G.S_U_Info in the final ASIS version, so we do not -- bother about these duplications for now. -- ???THIS COMMENT HEADER SHOULD BE REVISED!!!??? package A4G.CU_Info2 is procedure Set_Kind_and_Class (C : Context_Id; U : Unit_Id; Top : Node_Id); -- Taking the unit's subtree top node, this procedure computes and sets -- the Unit Kind and the Unit Class for U. Because of some technical , -- reasons, it is more easy to define the Unit Kind and the Unit Class -- in the same routine procedure Get_Ada_Name (Top : Node_Id); -- Computes (by traversing the tree) the fully expanded Ada name -- of a compilation unit whose subtree contained as having Top as -- its top node in the full tree currently being accessed. This name -- then is set in A_Name_Buffer, and A_Name_Len is set as its length procedure Set_S_F_Name_and_Origin (Context : Context_Id; Unit : Unit_Id; Top : Node_Id); -- This procedure obtains the source file name from the GNAT tree and -- stores it in the Unit_Table. By analyzing the file name (this analysis -- is based on the Fname.Is_Predefined_File_Name GNAt function, the -- Unit_Origin for the Unit is defined and stored in the Unit table. function Is_Main (Top : Node_Id; Kind : Unit_Kinds) return Boolean; -- Defines if the Unit having Top as its N_Compilation_Unit node -- can be a main subprogram for a partition. Asis Unit Kind is -- used to optimize this computation procedure Set_Dependencies (C : Context_Id; U : Unit_Id; Top : Node_Id); -- Taking the unit's subtree top node, this procedure computes and sets -- all the dependency information needed for semantic queries from the -- Asis.Compilation_Units package. This information is stored as unit -- lists (see A4G.Unit_Rec). For now, we do not compute the lists of -- *direct* supporters and *direct* dependents, because we think, that -- these ASIS notions are ill-defined and cannot be mapped onto RM95 -- in a natural way. end A4G.CU_Info2;
Library/Mailbox/Inbox/inboxApplicationList.asm
steakknife/pcgeos
504
4164
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: inboxApplicationList.asm AUTHOR: <NAME>, Jun 3, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- Adam 6/ 3/94 Initial revision DESCRIPTION: $Id: inboxApplicationList.asm,v 1.1 97/04/05 01:20:58 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if _CONTROL_PANELS ; ENTIRE FILE IS A NOP UNLESS THIS IS TRUE MailboxClassStructures segment resource InboxApplicationListClass MailboxClassStructures ends InboxUICode segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALGetApplication %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Fetch the application the user has selected. CALLED BY: MSG_IAL_GET_APPLICATION PASS: cx = application index RETURN: carry clear if found cxdxbp = GeodeToken DESTROYED: ax SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/23/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALGetApplication method dynamic InboxApplicationListClass, MSG_IAL_GET_APPLICATION ; ; Get elt # in app token array. ; call IALMapItemNumToEltNum ; CF set if found, ax = elt # cmc ; CF clear if found jc unlock ; jump if not found ; ; Get GeodeToken of the app token. ; call ChunkArrayElementToPtr ; ds:di = InboxAppData, CF clear movdw dxcx, ds:[di].IAD_token.GT_chars mov bp, ds:[di].IAD_token.GT_manufID ; cxdxbp = GeodeToken unlock: GOTO UtilVMUnlockDS ; unlock token array (flags preserved) IALGetApplication endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALMapItemNumToEltNum %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: CALLED BY: (INTERNAL) PASS: cx = item # of application within app list RETURN: *ds:si = token array (must be unlocked by caller) carry set if found ax = element # of application token in token array carry clear if not found ax = CA_NULL_ELEMENT DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/27/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALMapItemNumToEltNum proc near uses bx, di .enter call IATGetTokenArray ; *ds:si = token array mov ax, cx ; ax = item # mov bx, SEGMENT_CS mov di, offset IALCheckIfAppHasMessages call ElementArrayUsedIndexToToken ; CF set if found, ax = elt # .leave ret IALMapItemNumToEltNum endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALCheckIfAppHasMessages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: See if application that token represents has messages in inbox. CALLED BY: (INTERNAL) PASS: ds:di = InboxAppData RETURN: carry set if app has messages pending (ref count >= 2) DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: The reference count of a bound alias cannot be >= 2. So we can safely skip checking whether the token is a bound alias. REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/23/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALCheckIfAppHasMessages proc far ; There should be no free element in array since we never remove ; tokens Assert ne, ds:[di].IAD_meta.REH_refCount.WAAH_high, EA_FREE_ELEMENT ; ; Instead of comparing WAAH_high with 0 and do "ja", we compare it ; with 1 and do "jae" such that carry flag will be exactly opposite ; of what we want. ; cmp ds:[di].IAD_meta.REH_refCount.WAAH_high, 1 jae done cmp ds:[di].IAD_meta.REH_refCount.WAAH_low, 2 done: cmc ; CF set if count >= 2 if ERROR_CHECK ; Make sure if ref count >= 2, it cannot be a bound alias jnc EC_done ; okay if ref count < 2 test ds:[di].IAD_flags, mask IAF_IS_ALIAS jz EC_setCarry ; okay if not alias Assert e, ds:[di].IAD_nameRef, IAD_UNKNOWN ; die if alias is bound EC_setCarry: stc EC_done: endif ret IALCheckIfAppHasMessages endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALSetApplication %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Set the application we've selected for the user. CALLED BY: MSG_IAL_SET_APPLICATION PASS: *ds:si = InboxApplicationListClass object ds:di = InboxApplicationListClass instance data cxdxbp = GeodeToken (bp = INBOX_TOKEN_NUM_ALL if select "All") RETURN: nothing DESTROYED: ax, cx, dx, bp SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 10/ 5/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALSetApplication method dynamic InboxApplicationListClass, MSG_IAL_SET_APPLICATION cmp bp, INBOX_TOKEN_NUM_ALL je selectAll ; ; Get elt # of token in token array. ; push ds, si, di push bp, dx, cx ; ss:sp = GeodeToken movdw esdx, sssp call IATFindTokenInArray ; ax = elt #, *ds:si = array add sp, size GeodeToken mov bp, ax ; bp = elt # ; ; Get item # of the application in list (same as used index in token ; array) ; mov bx, SEGMENT_CS mov di, offset IALCheckIfAppHasMessages call ElementArrayTokenToUsedIndex ; ax = used index call UtilVMUnlockDS ; unlock token map mov_tr cx, ax ; cx = item # in app list pop ds, si, di ; *ds:si = self, ds:di = instance data setSelection: ; ; Send message to ourselves. ; mov ds:[di].IALI_selectedTokenNum, bp mov ax, MSG_GEN_ITEM_GROUP_SET_SINGLE_SELECTION clr dx GOTO ObjCallInstanceNoLock selectAll: ; ; Get item # of "All". ; CheckHack <GenDynamicList_offset eq InboxApplicationList_offset> mov cx, ds:[di].GDLI_numItems Assert ne, cx, 0 ; there must be some items dec cx ; cx = item # of "All" jmp setSelection IALSetApplication endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALGenApply %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: A new selection has been made in the application list CALLED BY: MSG_GEN_APPLY PASS: *ds:si = InboxApplicationListClass object ds:di = InboxApplicationListClass instance data es = segment of InboxApplicationListClass ax = message # RETURN: nothing DESTROYED: ax, cx, dx, bp SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/27/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALGenApply method dynamic InboxApplicationListClass, MSG_GEN_APPLY push ax push ds, si, di ; ; Get elt # of GeodeToken of newly selected app. ; mov cx, ds:[di].GIGI_selection Assert ne, cx, GIGS_NONE call IALMapItemNumToEltNum ; *ds:si = token array, ax = elt # call UtilVMUnlockDS ; flags preserved jc store ; jump if "All" is not selected ; ; "All" is selected. Store INBOX_TOKEN_NUM_ALL in elt num ; CheckHack <INBOX_TOKEN_NUM_ALL eq CA_NULL_ELEMENT - 1> dec ax ; ax = INBOX_TOKEN_NUM_ALL store: ; ; Record it. ; pop ds, si, di ; *ds:si = ds:di = self mov ds:[di].IALI_selectedTokenNum, ax pop ax mov di, offset InboxApplicationListClass GOTO ObjCallSuperNoLock IALGenApply endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALRebuildList %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Rebuild the list of possible applications. CALLED BY: MSG_IAL_REBUILD_LIST PASS: *ds:si = InboxApplicationListClass object RETURN: nothing DESTROYED: ax, cx, dx, bp SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/23/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALRebuildList method dynamic InboxApplicationListClass, MSG_IAL_REBUILD_LIST ; ; Find # of applications that has messages. ; pushdw dssi call IATGetTokenArray ; *ds:si = array mov bx, SEGMENT_CS mov di, offset IALCheckIfAppHasMessages call ElementArrayGetUsedCount ; ax = # of apps having msgs ; ; Init display. ; segmov es, ds ; es = app token map popdw dssi ; *ds:si = self mov_tr cx, ax ; cx = # of apps that have messages push cx inc cx ; add one for "All" selection mov ax, MSG_GEN_DYNAMIC_LIST_INITIALIZE call ObjCallInstanceNoLock pop cx ; cx = item # of "All" (same as # of ; apps that have messages) ; ; Select the first item (which maybe "All") if nothing was selected ; before. ; clr dx ; assume no apply needed pushdw dssi mov si, ds:[si] add si, ds:[si].InboxApplicationList_offset mov ax, ds:[si].IALI_selectedTokenNum segmov ds, es ; ds = app token map CheckHack <CA_NULL_ELEMENT eq 0xffff> inc ax jz selectFirst ; ; Select "All" if it was previously selected. ; CheckHack <INBOX_TOKEN_NUM_ALL eq CA_NULL_ELEMENT - 1> inc ax jz setSelection ; jump if "All" should be selected ; ; See if the previously selected item still has messages. (We have ; to do it ourselves because ElementArrayTokenToUsedIndex doesn't ; return an error even if the token is "not used".) If not, select ; the first item. ; dec ax dec ax ; ax = elt # of token mov si, ds:[ITMH_meta].LMBH_offset ; *ds:si = token array call ChunkArrayElementToPtr ; ds:di = InboxAppData call IALCheckIfAppHasMessages ; CF set if app has mesgs jnc selectFirst ; ; Else, find the item # of the app that was previously selected. ; mov di, offset IALCheckIfAppHasMessages call ElementArrayTokenToUsedIndex ; ax = item # mov_tr cx, ax setSelection: call UtilVMUnlockDS ; unlock token array popdw dssi push dx mov ax, MSG_GEN_ITEM_GROUP_SET_SINGLE_SELECTION clr dx call ObjCallInstanceNoLock pop cx ; cx <- non-z if apply needed jcxz done ; ; Force apply message to be sent. ; mov ax, MSG_GEN_ITEM_GROUP_SET_MODIFIED_STATE mov cx, TRUE call ObjCallInstanceNoLock mov ax, MSG_GEN_APPLY GOTO ObjCallInstanceNoLock done: ret selectFirst: clr cx dec dx ; flag apply needed jmp setSelection IALRebuildList endm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% IALGenDynamicListQueryItemMoniker %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Fetch the moniker for one of our entries CALLED BY: MSG_GEN_DYNAMIC_LIST_QUERY_ITEM_MONIKER PASS: *ds:si = InboxApplicationListClass object ds:di = InboxApplicationListClass instance data bp = the position of the item requested RETURN: nothing DESTROYED: ax, cx, dx, bp SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AY 9/23/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ IALGenDynamicListQueryItemMoniker method dynamic \ InboxApplicationListClass, MSG_GEN_DYNAMIC_LIST_QUERY_ITEM_MONIKER push bp ; save position of item ; ; This is the "All" item if it's the last item in the list. ; mov cx, bp ; cx = position of item inc bp cmp bp, ds:[di].GDLI_numItems je useAllMoniker ; ; Get elt # in app token array. ; mov ax, MSG_IAL_GET_APPLICATION call ObjCallInstanceNoLock ; cxdxbp = GeodeToken ; ; Sometimes because of timing problem, the messages of an app token ; may have all been deleted before the QUERY_ITEM_MONIKER is ; processed. If the desired token was not the last used token in the ; array, we have just got some wrong token from ; MSG_IAL_GET_APPLICATION. We will use the wrong token to get the app ; name anyway (which doesn't hurt, since more list-update messages ; later will replace this wrong moniker). If the desired token was ; the last used token in the array, however, we must have just gotten ; an error here. Then we simply ignore this QUERY_ITEM_MONIKER ; message. --- AY 3/1/95 ; jc ignore ; ; Get name of app. We have to call InboxGetAppName instead of looking ; into the name array ourselves because we want it to perform any ; necessary rescans. ; ; We don't want to create the name in the token map block since we ; want to avoid making it dirty. So we create the name in the object ; block. But then we cannot use MSG_..._REPLACE_ITEM_TEXT since it ; takes a fptr and the name chunk might move while the list object is ; building the moniker. ; mov bx, cx mov cx, dx mov dx, bp ; bxcxdx = GeodeToken call InboxGetAppName ; *ds:ax = app name ; ; Fill in ReplaceItemMonikerFrame. The position of item (RIMF_item) ; is already pushed on stack, so we allocate one word fewer space now. ; ; Make sure RIMF_item is the last member in ReplaceItemMonikerFrame CheckHack <(offset RIMF_item + size RIMF_item) eq size ReplaceItemMonikerFrame> sub sp, offset RIMF_item ; push the rest of the frame mov bp, sp ; ss:bp = ReplaceItemMonikerFrame mov ss:[bp].RIMF_source.low, ax mov_tr di, ax ; di = lptr of app name chunk mov ax, ds:[OLMBH_header].LMBH_handle mov ss:[bp].RIMF_source.high, ax mov ss:[bp].RIMF_sourceType, VMST_OPTR mov ss:[bp].RIMF_dataType, VMDT_TEXT clr ss:[bp].RIMF_itemFlags ; ; Tell the list to use the moniker. ; mov ax, MSG_GEN_DYNAMIC_LIST_REPLACE_ITEM_MONIKER mov dx, size ReplaceItemMonikerFrame call ObjCallInstanceNoLock add sp, size ReplaceItemMonikerFrame ; ; Free the app name string ; mov_tr ax, di ; *ds:ax = app name string GOTO LMemFree useAllMoniker: ; ; Use "All" string ; mov ax, MSG_GEN_DYNAMIC_LIST_REPLACE_ITEM_MONIKER_OPTR mov cx, handle uiAllMoniker mov dx, offset uiAllMoniker pop bp ; bp = position of item GOTO ObjCallInstanceNoLock ; ---------------- proc normally returns here ------------------ ignore: pop ax ; pop position of item to restore stack ret IALGenDynamicListQueryItemMoniker endm InboxUICode ends endif ; _CONTROL_PANELS
source/streams/a-nateio.ads
ytomino/drake
33
3469
pragma License (Unrestricted); -- implementation unit with Ada.IO_Exceptions; with Ada.IO_Modes; with Ada.Streams.Naked_Stream_IO.Standard_Files; with System.Native_IO; with System.Native_Text_IO; package Ada.Naked_Text_IO is -- the parameter Form Default_Form : constant System.Native_Text_IO.Packed_Form := ( Stream_Form => Streams.Naked_Stream_IO.Default_Form, External => IO_Modes.By_Target, New_Line => IO_Modes.By_Target); procedure Set ( Form : in out System.Native_Text_IO.Packed_Form; Keyword : String; Item : String); function Pack (Form : String) return System.Native_Text_IO.Packed_Form; procedure Unpack ( Form : System.Native_Text_IO.Packed_Form; Result : out Streams.Naked_Stream_IO.Form_String; Last : out Natural); -- non-controlled type Text_Type (<>) is limited private; type Non_Controlled_File_Type is access all Text_Type; procedure Create ( File : in out Non_Controlled_File_Type; Mode : IO_Modes.File_Mode := IO_Modes.Out_File; Name : String := ""; Form : System.Native_Text_IO.Packed_Form := Default_Form); procedure Open ( File : in out Non_Controlled_File_Type; Mode : IO_Modes.File_Mode; Name : String; Form : System.Native_Text_IO.Packed_Form := Default_Form); procedure Close ( File : aliased in out Non_Controlled_File_Type; Raise_On_Error : Boolean := True); procedure Delete (File : aliased in out Non_Controlled_File_Type); procedure Reset ( File : aliased in out Non_Controlled_File_Type; Mode : IO_Modes.File_Mode); function Mode (File : Non_Controlled_File_Type) return IO_Modes.File_Mode; function Name (File : Non_Controlled_File_Type) return String; function Form (File : Non_Controlled_File_Type) return System.Native_Text_IO.Packed_Form; function External (File : Non_Controlled_File_Type) return IO_Modes.File_External; pragma Inline (External); function Is_Open (File : Non_Controlled_File_Type) return Boolean; pragma Inline (Is_Open); procedure Flush (File : Non_Controlled_File_Type); procedure Set_Size ( File : Non_Controlled_File_Type; Line_Length, Page_Length : Natural); procedure Set_Line_Length (File : Non_Controlled_File_Type; To : Natural); procedure Set_Page_Length (File : Non_Controlled_File_Type; To : Natural); procedure Size ( File : Non_Controlled_File_Type; Line_Length, Page_Length : out Natural); function Line_Length (File : Non_Controlled_File_Type) return Natural; function Page_Length (File : Non_Controlled_File_Type) return Natural; pragma Inline (Line_Length); pragma Inline (Page_Length); procedure New_Line ( File : Non_Controlled_File_Type; Spacing : Positive := 1); procedure Skip_Line ( File : Non_Controlled_File_Type; Spacing : Positive := 1); function End_Of_Line (File : Non_Controlled_File_Type) return Boolean; procedure New_Page (File : Non_Controlled_File_Type); procedure Skip_Page (File : Non_Controlled_File_Type); function End_Of_Page (File : Non_Controlled_File_Type) return Boolean; function End_Of_File (File : Non_Controlled_File_Type) return Boolean; procedure Set_Col (File : Non_Controlled_File_Type; To : Positive); procedure Set_Line (File : Non_Controlled_File_Type; To : Positive); procedure Position ( File : Non_Controlled_File_Type; Col, Line : out Positive); function Col (File : Non_Controlled_File_Type) return Positive; function Line (File : Non_Controlled_File_Type) return Positive; function Page (File : Non_Controlled_File_Type) return Positive; pragma Inline (Col); pragma Inline (Line); pragma Inline (Page); procedure Get ( File : Non_Controlled_File_Type; Item : out Character); procedure Get ( File : Non_Controlled_File_Type; Item : out Wide_Character); procedure Get ( File : Non_Controlled_File_Type; Item : out Wide_Wide_Character); procedure Put ( File : Non_Controlled_File_Type; Item : Character); procedure Put ( File : Non_Controlled_File_Type; Item : Wide_Character); procedure Put ( File : Non_Controlled_File_Type; Item : Wide_Wide_Character); procedure Look_Ahead ( File : Non_Controlled_File_Type; Item : out Character; End_Of_Line : out Boolean); procedure Look_Ahead ( File : Non_Controlled_File_Type; Item : out Wide_Character; End_Of_Line : out Boolean); procedure Look_Ahead ( File : Non_Controlled_File_Type; Item : out Wide_Wide_Character; End_Of_Line : out Boolean); procedure Skip_Ahead (File : Non_Controlled_File_Type); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Character); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Wide_Character); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Wide_Wide_Character); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Character; Available : out Boolean); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Wide_Character; Available : out Boolean); procedure Get_Immediate ( File : Non_Controlled_File_Type; Item : out Wide_Wide_Character; Available : out Boolean); -- handle of stream for non-controlled procedure Open ( File : in out Non_Controlled_File_Type; Mode : IO_Modes.File_Mode; Stream : not null access Streams.Root_Stream_Type'Class; Name : String := ""; Form : System.Native_Text_IO.Packed_Form := Default_Form); function Stream (File : not null Non_Controlled_File_Type) return not null access Streams.Root_Stream_Type'Class; function Stream_IO (File : Non_Controlled_File_Type) return not null access Streams.Naked_Stream_IO.Non_Controlled_File_Type; pragma Inline (Stream_IO); function Terminal_Handle (File : Non_Controlled_File_Type) return System.Native_IO.Handle_Type; -- standard I/O Standard_Input : constant Non_Controlled_File_Type; Standard_Output : constant Non_Controlled_File_Type; Standard_Error : constant Non_Controlled_File_Type; -- exceptions Status_Error : exception renames IO_Exceptions.Status_Error; Mode_Error : exception renames IO_Exceptions.Mode_Error; Use_Error : exception renames IO_Exceptions.Use_Error; Device_Error : exception renames IO_Exceptions.Device_Error; End_Error : exception renames IO_Exceptions.End_Error; Data_Error : exception renames IO_Exceptions.Data_Error; Layout_Error : exception renames IO_Exceptions.Layout_Error; private type Virtual_Mark_Type is (None, EOP, EOP_EOF, EOF); pragma Discard_Names (Virtual_Mark_Type); type Text_Type is record -- "limited" prevents No_Elaboration_Code Stream : System.Address := -- access Streams.Root_Stream_Type'Class System.Null_Address; File : aliased Streams.Naked_Stream_IO.Non_Controlled_File_Type; Name : System.Native_IO.Name_Pointer; -- used when File is not assigned Line : Natural := 1; Page : Natural := 1; Col : Natural := 1; Line_Length : Natural := 0; Page_Length : Natural := 0; Last : Natural := 0; Ahead_Last : Natural := 0; -- one-character Length, only In_File mode Ahead_Col : Natural := 0; -- one-character Col Looked_Ahead_Last : Natural := 0; Looked_Ahead_Second : String (1 .. 3); -- second of surrogate pair Buffer : System.Native_Text_IO.Buffer_Type; End_Of_File : Boolean := False; Virtual_Mark : Virtual_Mark_Type := None; Mode : IO_Modes.File_Mode; External : IO_Modes.File_External; New_Line : IO_Modes.File_New_Line; end record; pragma Suppress_Initialization (Text_Type); Standard_Input_Text : aliased Text_Type := ( Stream => System.Null_Address, -- be overwritten File => Streams.Naked_Stream_IO.Standard_Files.Standard_Input, Name => null, Line => 1, Page => 1, Col => 1, Line_Length => 0, Page_Length => 0, Last => 0, Ahead_Last => 0, Ahead_Col => 0, Looked_Ahead_Last => 0, Looked_Ahead_Second => (others => Character'Val (0)), Buffer => (others => Character'Val (0)), End_Of_File => False, Virtual_Mark => None, Mode => IO_Modes.In_File, External => System.Native_Text_IO.Default_External, -- be overwritten New_Line => System.Native_Text_IO.Default_New_Line); Standard_Output_Text : aliased Text_Type := ( Stream => System.Null_Address, -- be overwritten File => Streams.Naked_Stream_IO.Standard_Files.Standard_Output, Name => null, Line => 1, Page => 1, Col => 1, Line_Length => 0, Page_Length => 0, Last => 0, Ahead_Last => 0, Ahead_Col => 0, Looked_Ahead_Last => 0, Looked_Ahead_Second => (others => Character'Val (0)), Buffer => (others => Character'Val (0)), End_Of_File => False, Virtual_Mark => None, Mode => IO_Modes.Out_File, External => System.Native_Text_IO.Default_External, -- be overwritten New_Line => System.Native_Text_IO.Default_New_Line); Standard_Error_Text : aliased Text_Type := ( Stream => System.Null_Address, -- be overwritten File => Streams.Naked_Stream_IO.Standard_Files.Standard_Error, Name => null, Line => 1, Page => 1, Col => 1, Line_Length => 0, Page_Length => 0, Last => 0, Ahead_Last => 0, Ahead_Col => 0, Looked_Ahead_Last => 0, Looked_Ahead_Second => (others => Character'Val (0)), Buffer => (others => Character'Val (0)), End_Of_File => False, Virtual_Mark => None, Mode => IO_Modes.Out_File, External => System.Native_Text_IO.Default_External, -- be overwritten New_Line => System.Native_Text_IO.Default_New_Line); Standard_Input : constant Non_Controlled_File_Type := Standard_Input_Text'Access; Standard_Output : constant Non_Controlled_File_Type := Standard_Output_Text'Access; Standard_Error : constant Non_Controlled_File_Type := Standard_Error_Text'Access; end Ada.Naked_Text_IO;
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_429.asm
ljhsiun2/medusa
9
171813
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x111ca, %r12 sub $27353, %r13 movb (%r12), %dl nop nop nop nop dec %rsi lea addresses_normal_ht+0x1576a, %rsi lea addresses_WC_ht+0x1a432, %rdi cmp %rbx, %rbx mov $101, %rcx rep movsw nop xor $26512, %rdx lea addresses_normal_ht+0x1c2ea, %rsi nop dec %r13 mov (%rsi), %ebx cmp $34501, %r13 lea addresses_WC_ht+0x1db6a, %rsi lea addresses_WT_ht+0x9daa, %rdi nop nop add $38214, %rdx mov $32, %rcx rep movsq nop nop and %r12, %r12 lea addresses_normal_ht+0xf2ea, %r13 nop nop nop nop xor %rdi, %rdi movups (%r13), %xmm2 vpextrq $0, %xmm2, %rcx nop nop xor %rdx, %rdx lea addresses_UC_ht+0xb16a, %rcx nop nop nop nop cmp %r12, %r12 mov (%rcx), %rsi nop nop nop nop nop xor $11821, %rcx lea addresses_WC_ht+0x17454, %rsi lea addresses_UC_ht+0x12a6a, %rdi nop nop nop nop nop inc %rdx mov $17, %rcx rep movsb nop nop nop nop nop sub $63632, %rdi lea addresses_WC_ht+0xa4b6, %rsi lea addresses_A_ht+0xdeaa, %rdi clflush (%rsi) nop nop nop inc %r9 mov $50, %rcx rep movsw dec %rsi lea addresses_D_ht+0x19b6a, %rdx nop sub $8049, %r9 and $0xffffffffffffffc0, %rdx vmovaps (%rdx), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $1, %xmm6, %r12 nop nop nop nop cmp $17752, %r12 lea addresses_D_ht+0xb36a, %r12 nop nop add %rcx, %rcx mov (%r12), %r13d cmp $9687, %r12 lea addresses_normal_ht+0x1de6a, %rsi lea addresses_A_ht+0x7b6a, %rdi nop nop cmp $20902, %r9 mov $2, %rcx rep movsl nop nop nop nop nop xor $60709, %rdx lea addresses_D_ht+0xe88a, %rbx nop nop nop nop nop add $30693, %rdx movb (%rbx), %cl nop nop nop and $36194, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %rax push %rcx push %rdx // Load lea addresses_normal+0x1be2a, %rcx cmp %rax, %rax mov (%rcx), %edx nop nop nop nop inc %r13 // Faulty Load lea addresses_RW+0xd36a, %r10 nop nop add %rcx, %rcx mov (%r10), %dx lea oracles, %rcx and $0xff, %rdx shlq $12, %rdx mov (%rcx,%rdx,1), %rdx pop %rdx pop %rcx pop %rax pop %r13 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 1, 'NT': True, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': True, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 9, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 4, 'NT': True, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
src/are-installer-merges.ads
stcarrez/resource-embedder
7
6750
----------------------------------------------------------------------- -- are-installer-merges -- Web file merge -- Copyright (C) 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in writing, software -- distributed under the License is distributed on an "AS IS" BASIS, -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. ----------------------------------------------------------------------- with EL.Variables.Default; with EL.Contexts.Default; with Util.Strings.Maps; with Util.Beans.Objects.Maps; -- == Install mode: webmerge == -- The `webmerge` distribution rule is intended to merge Javascript or CSS files -- which are used by XHTML presentation files. It requires some help from the -- developer to describe what files must be merged. The XHTML file must contain -- well defined XML comments which are used to identify the merging areas. -- The CSS file merge start section begins with: -- -- <!-- ARE-MERGE-START link=#{contextPath}/css/target-merge-1.css --> -- -- and the Javascript merge start begings with: -- -- <!-- ARE-MERGE-START script=#{contextPath}/js/target-merge-1.js --> -- -- The merge section is terminated by the following XML comment: -- -- <!-- ARE-MERGE-END --> -- -- Everything withing these XML comments is then replaced either by a `link` -- HTML tag or by a `script` HTML tag and a file described either by the -- `link=` or `script=` markers is generated to include every `link` or `script` -- that was defined within the XML comment markers. For example, with the following -- XHTML extract: -- -- <!-- ARE-MERGE-START link=#{contextPath}/css/merged.css --> -- <link media="screen" type="text/css" rel="stylesheet" -- href="#{contextPath}/css/awa.css"/> -- <link media="screen" type="text/css" rel="stylesheet" -- href="#{jquery.uiCssPath}"/> -- <link media="screen" type="text/css" rel="stylesheet" -- href="#{jquery.chosenCssPath}"/> -- <!-- ARE-MERGE-END --> -- -- The generated file `css/merged.css` will include `awa.css`, `jquery-ui-1.12.1.css`, -- `chosen.css` and the XHTML will be replaced to include `css/merge.css` only -- by using the following XHTML: -- -- <link media='screen' type='text/css' rel='stylesheet' -- href='#{contextPath}/css/merged.css'/> -- -- To use the `webmerge`, the `package.xml` description file should contain -- the following command: -- -- <install mode='webmerge' dir='web' source-timestamp='true'> -- <property name="contextPath"></property> -- <property name="jquery.path">/js/jquery-3.4.1.js</property> -- <property name="jquery.uiCssPath">/css/redmond/jquery-ui-1.12.1.css</property> -- <property name="jquery.chosenCssPath">/css/jquery-chosen-1.8.7/chosen.css</property> -- <property name="jquery.uiPath">/js/jquery-ui-1.12.1</property> -- <fileset dir="web"> -- <include name="WEB-INF/layouts/*.xhtml"/> -- </fileset> -- </install> -- -- The merging areas are identified by the default tags `ARE-MERGE-START` and `ARE-MERGE-END`. -- These tags can be changed by specifying the expected value in the `merge-start` and `merge-end` -- attributes in the `install` XML element. For example, with -- -- <install mode='webmerge' dir='web' source-timestamp='true' -- merge-start='RESOURCE-MERGE-START' -- merge-end='RESOURCE-MERGE-END'> -- -- </install> -- -- the markers becomes: -- -- <!-- RESOURCE-MERGE-START link=#{contextPath}/css/target-merge-1.css --> -- <!-- RESOURCE-MERGE-END --> -- private package Are.Installer.Merges is DEFAULT_MERGE_START : constant String := "ARE-MERGE-START"; DEFAULT_MERGE_END : constant String := "ARE-MERGE-END"; -- Create a distribution rule to copy a set of files or directories. function Create_Rule (Node : in DOM.Core.Node) return Distrib_Rule_Access; -- ------------------------------ -- Distribution artifact -- ------------------------------ type Merge_Rule is new Distrib_Rule with private; type Merge_Rule_Access is access all Merge_Rule; -- Get a name to qualify the installation rule (used for logs). overriding function Get_Install_Name (Rule : in Merge_Rule) return String; overriding procedure Install (Rule : in Merge_Rule; Path : in String; Files : in File_Vector; Context : in out Context_Type'Class); private type Merge_Rule is new Distrib_Rule with record Params : Util.Beans.Objects.Maps.Map_Bean; Context : EL.Contexts.Default.Default_Context; Variables : aliased EL.Variables.Default.Default_Variable_Mapper; Replace : Util.Strings.Maps.Map; Start_Mark : UString; End_Mark : UString; end record; end Are.Installer.Merges;
Transynther/x86/_processed/NONE/_st_zr_/i7-8650U_0xd2_notsx.log_922_73.asm
ljhsiun2/medusa
9
125
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xd3a6, %rsi lea addresses_WC_ht+0xbfa6, %rdi clflush (%rsi) nop nop nop nop nop inc %rax mov $80, %rcx rep movsb nop nop nop mfence lea addresses_normal_ht+0xcda6, %rsi lea addresses_WT_ht+0x1ec2c, %rdi clflush (%rdi) xor %rbp, %rbp mov $95, %rcx rep movsb nop nop nop nop nop and %rax, %rax lea addresses_WT_ht+0x12a6, %r10 nop nop sub %rax, %rax mov (%r10), %edi nop nop nop nop dec %rdi lea addresses_D_ht+0x13306, %r10 nop xor %rax, %rax movb (%r10), %cl nop nop nop sub %rcx, %rcx lea addresses_WC_ht+0x8a86, %r10 nop nop nop nop nop and $30792, %r12 movb (%r10), %cl nop nop nop add $10564, %r12 pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi // REPMOV lea addresses_RW+0xb3a6, %rsi lea addresses_WC+0x9aae, %rdi nop nop nop nop cmp $64600, %r9 mov $116, %rcx rep movsb nop nop nop cmp %rsi, %rsi // Store lea addresses_D+0x18e46, %rbx nop nop nop nop nop and %rcx, %rcx movl $0x51525354, (%rbx) nop add %r8, %r8 // Store lea addresses_RW+0x2da6, %r9 dec %r8 movb $0x51, (%r9) nop sub %rdi, %rdi // Store lea addresses_PSE+0x1e5a6, %rcx clflush (%rcx) nop nop nop nop nop xor $15849, %rdi movb $0x51, (%rcx) nop nop nop nop nop and %rcx, %rcx // Store lea addresses_WT+0x9a26, %r8 nop nop nop nop nop xor %rsi, %rsi movb $0x51, (%r8) add %r8, %r8 // Store lea addresses_D+0x1d716, %rdi nop nop cmp %r9, %r9 mov $0x5152535455565758, %r13 movq %r13, %xmm1 movups %xmm1, (%rdi) nop nop add $55940, %rcx // Store lea addresses_RW+0x16166, %rdi nop nop nop nop sub $21676, %r13 movw $0x5152, (%rdi) and %rsi, %rsi // Load lea addresses_US+0x63a6, %rsi nop and %r13, %r13 mov (%rsi), %r8 nop nop dec %r9 // Store lea addresses_normal+0x19936, %rbx nop nop nop and $17, %r9 mov $0x5152535455565758, %rsi movq %rsi, %xmm1 vmovups %ymm1, (%rbx) nop nop add %rsi, %rsi // Faulty Load lea addresses_A+0x163a6, %r13 nop sub %rsi, %rsi vmovups (%r13), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %r8 lea oracles, %r13 and $0xff, %r8 shlq $12, %r8 mov (%r13,%r8,1), %r8 pop %rsi pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_RW', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC', 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 8, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'32': 880, '00': 42} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 00 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 00 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 00 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 00 32 32 32 32 32 32 32 32 32 32 32 32 00 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 00 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 00 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 00 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */