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 |
|---|---|---|---|---|
src/TermModel.agda | andreasabel/ipl | 19 | 9906 | -- A term model à la Beth
open import Library hiding (_∈_)
module TermModel (Base : Set) where
import Formulas ; open module Form = Formulas Base
import Derivations; open module Der = Derivations Base
-- Beth model
data Cover (Δ : Cxt) : Set where
idc : Cover Δ
bot : (t : Δ ⊢ False) → Cover Δ
node : ∀{A B} (t : Δ ⊢ A ∨ B) (C : Cover (Δ ∙ A)) (D : Cover (Δ ∙ B)) → Cover Δ
data _∈_ Γ : ({Δ} : Cxt) (C : Cover Δ) → Set where
here : Γ ∈ idc {Γ}
left : ∀{Δ A B C D}{t : Δ ⊢ A ∨ B} (e : Γ ∈ C) → Γ ∈ node t C D
right : ∀{Δ A B C D}{t : Δ ⊢ A ∨ B} (e : Γ ∈ D) → Γ ∈ node t C D
coverWk : ∀{Γ Δ} {C : Cover Δ} (e : Γ ∈ C) → Γ ≤ Δ
coverWk here = id≤
coverWk (left e) = coverWk e • weak id≤
coverWk (right e) = coverWk e • weak id≤
transC : ∀{Γ} (C : Cover Γ) (f : ∀{Δ} → Δ ∈ C → Cover Δ) → Cover Γ
transC idc f = f here
transC (bot t) f = bot t
transC (node t C D) f = node t (transC C (f ∘ left)) (transC D (f ∘ right))
-- UNUSED:
trans∈ : ∀{Γ} (C : Cover Γ) (f : ∀{Δ} → Δ ∈ C → Cover Δ) →
∀ {Φ} {Δ} (e : Δ ∈ C) → Φ ∈ f e → Φ ∈ transC C f
trans∈ idc f here = id
trans∈ (bot t) f ()
trans∈ (node t C D) f (left e) = left ∘ trans∈ C (f ∘ left ) e
trans∈ (node t C D) f (right e) = right ∘ trans∈ D (f ∘ right) e
split∈ : ∀{Γ} (C : Cover Γ) (f : ∀{Δ} → Δ ∈ C → Cover Δ) {Φ} (e : Φ ∈ transC C f)
→ ∃ λ Δ → ∃ λ (e : Δ ∈ C) → Φ ∈ f e
split∈ idc f e = _ , _ , e
split∈ (bot t) f ()
split∈ (node t C D) f (left e) with split∈ C (f ∘ left) e
... | Δ , e₁ , e₂ = Δ , left e₁ , e₂
split∈ (node t C D) f (right e) with split∈ D (f ∘ right) e
... | Δ , e₁ , e₂ = Δ , right e₁ , e₂
-- Empty cover
EmptyCover : (Γ : Cxt) → Set
EmptyCover Γ = Σ (Cover Γ) λ C → ∀{Δ} → Δ ∈ C → ⊥
-- Empty cover is isomorphic to a witness of inconsistency
toEmptyCover : ∀{Γ} (t : Γ ⊢ False) → EmptyCover Γ
toEmptyCover t = bot t , λ()
fromEmptyCover : ∀{Γ} (ec : EmptyCover Γ) → Γ ⊢ False
fromEmptyCover (C , f) = reifyF C f
where
reifyF : ∀ {Γ} (C : Cover Γ) (f : ∀ {Δ} → Δ ∈ C → ⊥) → Γ ⊢ False
reifyF idc f = ⊥-elim (f here)
reifyF (bot t) f = t
reifyF (node t C D) f = orE t (reifyF C (f ∘ left)) (reifyF D (f ∘ right))
transE : ∀{Γ} (C : Cover Γ) (f : ∀{Δ} → Δ ∈ C → EmptyCover Δ) → EmptyCover Γ
transE C f = transC C (proj₁ ∘ f) , λ e → let _ , e₁ , e₂ = split∈ C (proj₁ ∘ f) e in f e₁ .proj₂ e₂
-- Paste (from Thorsten)
paste' : ∀{A Γ} (C : Cover Γ) (f : ∀{Δ} (e : Δ ∈ C) → Δ ⊢ A) → Γ ⊢ A
paste' idc f = f here
paste' (bot t) f = falseE t
paste' (node t C D) f = orE t (paste' C (f ∘ left)) (paste' D (f ∘ right))
-- Weakening Covers
monC : ∀{Γ Δ} (τ : Δ ≤ Γ) (C : Cover Γ) → Cover Δ
monC τ idc = idc
monC τ (bot t) = bot (monD τ t)
monC τ (node t C D) = node (monD τ t) (monC (lift τ) C) (monC (lift τ) D)
mon∈ : ∀{Γ Δ Φ} (C : Cover Γ) (τ : Δ ≤ Γ) (e : Φ ∈ monC τ C) → ∃ λ Ψ → Ψ ∈ C × Φ ≤ Ψ
mon∈ {Γ} {Δ} {.Δ} idc τ here = _ , here , τ
mon∈ {Γ} {Δ} {Φ} (bot t) τ ()
mon∈ {Γ} {Δ} {Φ} (node t C D) τ (left e) with mon∈ C (lift τ) e
... | Ψ , e' , σ = Ψ , left e' , σ
mon∈ {Γ} {Δ} {Φ} (node t C D) τ (right e) with mon∈ D (lift τ) e
... | Ψ , e' , σ = Ψ , right e' , σ
-- The syntactic Beth model
T⟦_⟧ : (A : Form) (Γ : Cxt) → Set
T⟦ Atom P ⟧ Γ = Γ ⊢ Atom P
T⟦ True ⟧ Γ = ⊤
T⟦ False ⟧ Γ = EmptyCover Γ
T⟦ A ∨ B ⟧ Γ = ∃ λ (C : Cover Γ) → ∀{Δ} → Δ ∈ C → T⟦ A ⟧ Δ ⊎ T⟦ B ⟧ Δ
T⟦ A ∧ B ⟧ Γ = T⟦ A ⟧ Γ × T⟦ B ⟧ Γ
T⟦ A ⇒ B ⟧ Γ = ∀{Δ} (τ : Δ ≤ Γ) → T⟦ A ⟧ Δ → T⟦ B ⟧ Δ
monT : ∀ A {Γ Δ} (τ : Δ ≤ Γ) → T⟦ A ⟧ Γ → T⟦ A ⟧ Δ
monT (Atom P) τ t = monD τ t
monT True τ _ = _
monT False τ (C , f) = monC τ C , λ {Φ} e → f (proj₁ (proj₂ (mon∈ C τ e)))
monT (A ∨ B) {Γ} {Δ} τ (C , f) = monC τ C , λ {Φ} e →
let Ψ , e' , σ = mon∈ C τ e
in map-⊎ (monT A σ) (monT B σ) (f {Ψ} e')
monT (A ∧ B) τ (a , b) = monT A τ a , monT B τ b
monT (A ⇒ B) τ f σ = f (σ • τ)
-- Reflection / reification
mutual
reflect : ∀{Γ} A (t : Γ ⊢ A) → T⟦ A ⟧ Γ
reflect (Atom P) t = t
reflect True t = _
reflect False = toEmptyCover
reflect (A ∨ B) t = node t idc idc , aux
where
aux : ∀{Δ} → Δ ∈ node t idc idc → T⟦ A ⟧ Δ ⊎ T⟦ B ⟧ Δ
aux (left here) = inj₁ (reflect A (hyp top))
aux (right here) = inj₂ (reflect B (hyp top))
reflect (A ∧ B) t = reflect A (andE₁ t) , reflect B (andE₂ t)
reflect (A ⇒ B) t τ a = reflect B (impE (monD τ t) (reify A a))
reify : ∀{Γ} A (⟦f⟧ : T⟦ A ⟧ Γ) → Γ ⊢ A
reify (Atom P) t = t
reify True _ = trueI
reify False = fromEmptyCover
reify (A ∨ B) (C , f) = paste' C ([ orI₁ ∘ reify A , orI₂ ∘ reify B ] ∘ f)
reify (A ∧ B) (a , b) = andI (reify A a) (reify B b)
reify (A ⇒ B) ⟦f⟧ = impI (reify B (⟦f⟧ (weak id≤) (reflect A (hyp top))))
-- In the absurd world, every proposition holds.
absurd : ∀{Γ A} (t : Γ ⊢ False) → T⟦ A ⟧ Γ
absurd t = reflect _ (falseE t)
-- We can paste in the model thanks to reflection and reification.
-- (However, this does not look nice, since it goes through terms.)
-- paste : ∀ {A Γ} (C : Cover Γ) (f : ∀{Δ} (e : Δ ∈ C) → T⟦ A ⟧ Δ) → T⟦ A ⟧ Γ
-- paste C f = reflect _ (paste' C (reify _ ∘ f))
-- Semantic paste:
paste : ∀ A {Γ} (C : Cover Γ) (f : ∀{Δ} (e : Δ ∈ C) → T⟦ A ⟧ Δ) → T⟦ A ⟧ Γ
paste (Atom P) = paste'
paste True C f = _
paste False C f = transE C f
paste (A ∨ B) C f = transC C (proj₁ ∘ f) , λ e → let _ , e₁ , e₂ = split∈ C (proj₁ ∘ f) e in f e₁ .proj₂ e₂
paste (A ∧ B) C f = paste A C (proj₁ ∘ f) , paste B C (proj₂ ∘ f)
paste (A ⇒ B) C f τ a = paste B (monC τ C) λ {Δ} e → let Ψ , e' , σ = mon∈ C τ e in f e' σ (monT A (coverWk e) a)
-- Fundamental theorem
-- Extension of T⟦_⟧ to contexts
G⟦_⟧ : ∀ (Γ Δ : Cxt) → Set
G⟦ ε ⟧ Δ = ⊤
G⟦ Γ ∙ A ⟧ Δ = G⟦ Γ ⟧ Δ × T⟦ A ⟧ Δ
monG : ∀{Γ Δ Φ} (τ : Φ ≤ Δ) → G⟦ Γ ⟧ Δ → G⟦ Γ ⟧ Φ
monG {ε} τ _ = _
monG {Γ ∙ A} τ (γ , a) = monG τ γ , monT A τ a
-- Variable case
fundH : ∀{Γ Δ A} (x : Hyp A Γ) (γ : G⟦ Γ ⟧ Δ) → T⟦ A ⟧ Δ
fundH top = proj₂
fundH (pop x) = fundH x ∘ proj₁
-- A lemma for the orElim case.
orElim : ∀ {Γ A B X} (C : Cover Γ) (f : {Δ : Cxt} → Δ ∈ C → T⟦ A ⟧ Δ ⊎ T⟦ B ⟧ Δ) →
(∀{Δ} (τ : Δ ≤ Γ) → T⟦ A ⟧ Δ → T⟦ X ⟧ Δ) →
(∀{Δ} (τ : Δ ≤ Γ) → T⟦ B ⟧ Δ → T⟦ X ⟧ Δ) →
T⟦ X ⟧ Γ
orElim C f g h = paste _ C λ e → [ g (coverWk e) , h (coverWk e) ] (f e)
-- falseElim :
falseElim : ∀{Γ A} (C : Cover Γ) (f : ∀{Δ} → Δ ∈ C → ⊥) → T⟦ A ⟧ Γ
falseElim C f = paste _ C (⊥-elim ∘ f)
-- The fundamental theorem
fund : ∀{Γ A} (t : Γ ⊢ A) {Δ} (γ : G⟦ Γ ⟧ Δ) → T⟦ A ⟧ Δ
fund (hyp x) = fundH x
fund (impI t) γ τ a = fund t (monG τ γ , a)
fund (impE t u) γ = fund t γ id≤ (fund u γ)
fund (andI t u) γ = fund t γ , fund u γ
fund (andE₁ t) = proj₁ ∘ fund t
fund (andE₂ t) = proj₂ ∘ fund t
fund (orI₁ t) γ = idc , inj₁ ∘ λ{ here → fund t γ }
fund (orI₂ t) γ = idc , inj₂ ∘ λ{ here → fund t γ }
fund (orE t u v) γ = uncurry orElim (fund t γ)
(λ τ a → fund u (monG τ γ , a))
(λ τ b → fund v (monG τ γ , b))
fund (falseE t) γ = uncurry falseElim (fund t γ)
fund trueI γ = _
-- -}
-- -}
-- Example:
|
source/nodes/program-nodes-discriminant_specifications.ads | reznikmm/gela | 0 | 25117 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Discriminant_Specifications;
with Program.Element_Visitors;
package Program.Nodes.Discriminant_Specifications is
pragma Preelaborate;
type Discriminant_Specification is
new Program.Nodes.Node
and Program.Elements.Discriminant_Specifications
.Discriminant_Specification
and Program.Elements.Discriminant_Specifications
.Discriminant_Specification_Text
with private;
function Create
(Names : not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
Colon_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Not_Token : Program.Lexical_Elements.Lexical_Element_Access;
Null_Token : Program.Lexical_Elements.Lexical_Element_Access;
Object_Subtype : not null Program.Elements.Element_Access;
Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access;
Default_Expression : Program.Elements.Expressions.Expression_Access)
return Discriminant_Specification;
type Implicit_Discriminant_Specification is
new Program.Nodes.Node
and Program.Elements.Discriminant_Specifications
.Discriminant_Specification
with private;
function Create
(Names : not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
Object_Subtype : not null Program.Elements.Element_Access;
Default_Expression : Program.Elements.Expressions.Expression_Access;
Is_Part_Of_Implicit : Boolean := False;
Is_Part_Of_Inherited : Boolean := False;
Is_Part_Of_Instance : Boolean := False;
Has_Not_Null : Boolean := False)
return Implicit_Discriminant_Specification
with Pre =>
Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance;
private
type Base_Discriminant_Specification is
abstract new Program.Nodes.Node
and Program.Elements.Discriminant_Specifications
.Discriminant_Specification
with record
Names : not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
Object_Subtype : not null Program.Elements.Element_Access;
Default_Expression : Program.Elements.Expressions.Expression_Access;
end record;
procedure Initialize (Self : in out Base_Discriminant_Specification'Class);
overriding procedure Visit
(Self : not null access Base_Discriminant_Specification;
Visitor : in out Program.Element_Visitors.Element_Visitor'Class);
overriding function Names
(Self : Base_Discriminant_Specification)
return not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
overriding function Object_Subtype
(Self : Base_Discriminant_Specification)
return not null Program.Elements.Element_Access;
overriding function Default_Expression
(Self : Base_Discriminant_Specification)
return Program.Elements.Expressions.Expression_Access;
overriding function Is_Discriminant_Specification
(Self : Base_Discriminant_Specification)
return Boolean;
overriding function Is_Declaration
(Self : Base_Discriminant_Specification)
return Boolean;
type Discriminant_Specification is
new Base_Discriminant_Specification
and Program.Elements.Discriminant_Specifications
.Discriminant_Specification_Text
with record
Colon_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Not_Token : Program.Lexical_Elements.Lexical_Element_Access;
Null_Token : Program.Lexical_Elements.Lexical_Element_Access;
Assignment_Token : Program.Lexical_Elements.Lexical_Element_Access;
end record;
overriding function To_Discriminant_Specification_Text
(Self : in out Discriminant_Specification)
return Program.Elements.Discriminant_Specifications
.Discriminant_Specification_Text_Access;
overriding function Colon_Token
(Self : Discriminant_Specification)
return not null Program.Lexical_Elements.Lexical_Element_Access;
overriding function Not_Token
(Self : Discriminant_Specification)
return Program.Lexical_Elements.Lexical_Element_Access;
overriding function Null_Token
(Self : Discriminant_Specification)
return Program.Lexical_Elements.Lexical_Element_Access;
overriding function Assignment_Token
(Self : Discriminant_Specification)
return Program.Lexical_Elements.Lexical_Element_Access;
overriding function Has_Not_Null
(Self : Discriminant_Specification)
return Boolean;
type Implicit_Discriminant_Specification is
new Base_Discriminant_Specification
with record
Is_Part_Of_Implicit : Boolean;
Is_Part_Of_Inherited : Boolean;
Is_Part_Of_Instance : Boolean;
Has_Not_Null : Boolean;
end record;
overriding function To_Discriminant_Specification_Text
(Self : in out Implicit_Discriminant_Specification)
return Program.Elements.Discriminant_Specifications
.Discriminant_Specification_Text_Access;
overriding function Is_Part_Of_Implicit
(Self : Implicit_Discriminant_Specification)
return Boolean;
overriding function Is_Part_Of_Inherited
(Self : Implicit_Discriminant_Specification)
return Boolean;
overriding function Is_Part_Of_Instance
(Self : Implicit_Discriminant_Specification)
return Boolean;
overriding function Has_Not_Null
(Self : Implicit_Discriminant_Specification)
return Boolean;
end Program.Nodes.Discriminant_Specifications;
|
bb-runtimes/arm/sam/samg55/board_config.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 19560 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- Copyright (C) 2013-2016, AdaCore --
-- --
-- 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. --
-- --
-- As a special exception 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/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Interfaces.SAM; use Interfaces.SAM;
with Interfaces.SAM.PMC;
package Board_Config is
pragma No_Elaboration_Code_All;
-- This package is used before elaboration
type Master_Clock_Sources is
(Internal_32k_RC,
External_32k_XTAL,
External_32k_BYPASS,
Internal_8M_RC,
Internal_16M_RC,
Internal_24M_RC,
External_XTAL,
External_BYPASS,
PLLA,
PLLB);
subtype Oscillators is Master_Clock_Sources
range Internal_32k_RC .. External_BYPASS;
subtype PLL_Sources is Master_Clock_Sources
range Internal_32k_RC .. External_32k_BYPASS;
External_Oscillator_Startup_Time : constant Byte := 0;
Master_Source : constant Master_Clock_Sources := PLLA;
Master_Prescaler : constant Interfaces.SAM.PMC.PMC_MCKR_PRES_Field :=
Interfaces.SAM.PMC.Clk_1;
PLLA_Enable : constant Boolean := True;
PLLA_Source : constant PLL_Sources := External_32k_XTAL;
PLLA_Mul : constant UInt12 := 3662; -- 120 MHz
PLLB_Enable : constant Boolean := True;
PLLB_Source : constant PLL_Sources := External_32k_XTAL;
PLLB_Mul : constant UInt11 := 1465; -- 48 MHz
end Board_Config;
|
index.agda | splintah/combinatory-logic | 1 | 667 | <filename>index.agda
module index where
-- A formalisation of Haskell B. Curry’s thesis Grundlagen der Kombinatorischen
-- Logik. See <https://www.jstor.org/stable/2370619> (part 1) and
-- <https://www.jstor.org/stable/2370716> (part 2).
import CombinatoryLogic.Equality
import CombinatoryLogic.Forest
import CombinatoryLogic.Semantics
import CombinatoryLogic.Syntax
-- A formalisation of the theory and problems presented in To Mock a Mockingbird
-- by <NAME>.
import Mockingbird.Forest
import Mockingbird.Forest.Base
import Mockingbird.Forest.Birds
import Mockingbird.Forest.Combination
import Mockingbird.Forest.Combination.Base
import Mockingbird.Forest.Combination.Properties
import Mockingbird.Forest.Combination.Vec
import Mockingbird.Forest.Combination.Vec.Base
import Mockingbird.Forest.Combination.Vec.Properties
import Mockingbird.Forest.Extensionality
import Mockingbird.Problems.Chapter09
import Mockingbird.Problems.Chapter10
import Mockingbird.Problems.Chapter11
import Mockingbird.Problems.Chapter12
import Mockingbird.Problems.Chapter13
import Mockingbird.Problems.Chapter14
import Mockingbird.Problems.Chapter15
import Mockingbird.Problems.Chapter16
import Mockingbird.Problems.Chapter17
import Mockingbird.Problems.Chapter18
import Mockingbird.Problems.Chapter19
import Mockingbird.Problems.Chapter20
|
oeis/190/A190981.asm | neoneye/loda-programs | 11 | 18895 | ; A190981: a(n) = 9*a(n-1) - 4*a(n-2), with a(0)=0, a(1)=1.
; 0,1,9,77,657,5605,47817,407933,3480129,29689429,253284345,2160801389,18434075121,157263470533,1341634934313,11445660526685,97644405002913,833017002919477,7106575406263641,60627110644694861,517217694177199185,4412450805016013221,37643186468435322249,321138874995853847357,2739677129088943337217,23372538661817074645525,199394139439997898460857,1701057100312712787565613,14511937345054423494247089,123803207704238960297961349,1056181119957932948704663785,9010417248804440697150128669
mov $2,1
lpb $0
sub $0,1
add $3,$2
add $1,$3
add $3,$1
mul $3,2
mov $2,$3
lpe
mov $0,$1
|
oeis/327/A327853.asm | neoneye/loda-programs | 11 | 242869 | <gh_stars>10-100
; A327853: Triangle read by rows, Sierpinski's gasket, A047999 * (0,1,2,3,4,...) diagonalized.
; Submitted by <NAME>(s2)
; 0,0,1,0,0,2,0,1,2,3,0,0,0,0,4,0,1,0,0,4,5,0,0,2,0,4,0,6,0,1,2,3,4,5,6,7,0,0,0,0,0,0,0,0,8,0,1,0,0,0,0,0,0,8,9,0,0,2,0,0,0,0,0,8,0,10,0,1,2,3,0,0,0,0,8,9,10,11,0,0,0,0,4,0,0,0,8,0,0,0,12,0,1,0,0,4,5,0,0,8
lpb $0
add $1,1
add $2,1
sub $0,$2
lpe
bin $1,$0
mod $1,2
mul $1,$0
mov $0,$1
|
oeis/132/A132790.asm | neoneye/loda-programs | 11 | 2002 | ; A132790: Row sums of triangle A132789.
; Submitted by <NAME>
; 1,2,6,18,53,158,486,1550,5109,17298,59799,210048,746983,2682618,9711214,35390422,129710309,477769754,1767525315,6564644688,24467315575,91484660770,343063807931,1289912535908,4861963178643,18367386626558,69533618024841,263748085968060,1002242485086795,3814987038963186,14544637112968702,55534067024531814,212336134707210373,812944050739665322,3116285512087170411,11959798420220191824,45950804393341219063,176733862924445654834,680425372004853707295,2622127042826247922668,10113918592737409761755
mov $1,2
pow $1,$0
seq $0,273526 ; Number of 123-avoiding indecomposable permutations.
add $1,$0
mov $0,$1
sub $0,1
|
project/ntstub/i386/6_3_9600_sp0_ssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 10883 | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.3.9600-sp0-windows-8.1 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtWorkerFactoryWorkerReady( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtWorkerFactoryWorkerReady PROC STDCALL arg_01:DWORD
mov eax , 0
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWorkerFactoryWorkerReady ENDP
; ULONG __stdcall NtAcceptConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAcceptConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 1
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAcceptConnectPort ENDP
; ULONG __stdcall NtYieldExecution( );
_6_3_9600_sp0_windows_8_1_NtYieldExecution PROC STDCALL
mov eax , 2
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtYieldExecution ENDP
; ULONG __stdcall NtWriteVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtWriteVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 3
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWriteVirtualMemory ENDP
; ULONG __stdcall NtWriteRequestData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtWriteRequestData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 4
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWriteRequestData ENDP
; ULONG __stdcall NtWriteFileGather( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtWriteFileGather PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 5
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWriteFileGather ENDP
; ULONG __stdcall NtWriteFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtWriteFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 6
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWriteFile ENDP
; ULONG __stdcall NtWaitLowEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtWaitLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 7
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitLowEventPair ENDP
; ULONG __stdcall NtWaitHighEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtWaitHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 8
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitHighEventPair ENDP
; ULONG __stdcall NtWaitForWorkViaWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForWorkViaWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 9
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForWorkViaWorkerFactory ENDP
; ULONG __stdcall NtWaitForSingleObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtWaitForSingleObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 10
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForSingleObject ENDP
; ULONG __stdcall NtWaitForMultipleObjects32( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects32 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 11
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects32 ENDP
; ULONG __stdcall NtWaitForMultipleObjects( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 12
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForMultipleObjects ENDP
; ULONG __stdcall NtWaitForKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtWaitForKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 13
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForKeyedEvent ENDP
; ULONG __stdcall NtWaitForDebugEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtWaitForDebugEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 14
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForDebugEvent ENDP
; ULONG __stdcall NtWaitForAlertByThreadId( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtWaitForAlertByThreadId PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 15
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtWaitForAlertByThreadId ENDP
; ULONG __stdcall NtVdmControl( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtVdmControl PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 16
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtVdmControl ENDP
; ULONG __stdcall NtUnsubscribeWnfStateChange( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnsubscribeWnfStateChange PROC STDCALL arg_01:DWORD
mov eax , 17
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnsubscribeWnfStateChange ENDP
; ULONG __stdcall NtUpdateWnfStateData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtUpdateWnfStateData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 18
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUpdateWnfStateData ENDP
; ULONG __stdcall NtUnmapViewOfSection( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSection PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 19
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSection ENDP
; ULONG __stdcall NtUnmapViewOfSectionEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSectionEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 20
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnmapViewOfSectionEx ENDP
; ULONG __stdcall NtUnlockVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtUnlockVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 21
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnlockVirtualMemory ENDP
; ULONG __stdcall NtUnlockFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtUnlockFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 22
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnlockFile ENDP
; ULONG __stdcall NtUnloadKeyEx( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnloadKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 23
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKeyEx ENDP
; ULONG __stdcall NtUnloadKey2( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtUnloadKey2 PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 24
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKey2 ENDP
; ULONG __stdcall NtUnloadKey( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnloadKey PROC STDCALL arg_01:DWORD
mov eax , 25
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadKey ENDP
; ULONG __stdcall NtUnloadDriver( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtUnloadDriver PROC STDCALL arg_01:DWORD
mov eax , 26
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUnloadDriver ENDP
; ULONG __stdcall NtUmsThreadYield( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtUmsThreadYield PROC STDCALL arg_01:DWORD
mov eax , 27
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtUmsThreadYield ENDP
; ULONG __stdcall NtTranslateFilePath( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtTranslateFilePath PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 28
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTranslateFilePath ENDP
; ULONG __stdcall NtTraceEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtTraceEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 29
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTraceEvent ENDP
; ULONG __stdcall NtTraceControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtTraceControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 30
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTraceControl ENDP
; ULONG __stdcall NtThawTransactions( );
_6_3_9600_sp0_windows_8_1_NtThawTransactions PROC STDCALL
mov eax , 31
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtThawTransactions ENDP
; ULONG __stdcall NtThawRegistry( );
_6_3_9600_sp0_windows_8_1_NtThawRegistry PROC STDCALL
mov eax , 32
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtThawRegistry ENDP
; ULONG __stdcall NtTestAlert( );
_6_3_9600_sp0_windows_8_1_NtTestAlert PROC STDCALL
mov eax , 33
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTestAlert ENDP
; ULONG __stdcall NtTerminateThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 34
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateThread ENDP
; ULONG __stdcall NtTerminateProcess( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 35
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateProcess ENDP
; ULONG __stdcall NtTerminateJobObject( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtTerminateJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 36
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtTerminateJobObject ENDP
; ULONG __stdcall NtSystemDebugControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtSystemDebugControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 37
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSystemDebugControl ENDP
; ULONG __stdcall NtSuspendThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSuspendThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 38
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSuspendThread ENDP
; ULONG __stdcall NtSuspendProcess( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSuspendProcess PROC STDCALL arg_01:DWORD
mov eax , 39
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSuspendProcess ENDP
; ULONG __stdcall NtSubscribeWnfStateChange( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSubscribeWnfStateChange PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 40
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSubscribeWnfStateChange ENDP
; ULONG __stdcall NtStopProfile( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtStopProfile PROC STDCALL arg_01:DWORD
mov eax , 41
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtStopProfile ENDP
; ULONG __stdcall NtStartProfile( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtStartProfile PROC STDCALL arg_01:DWORD
mov eax , 42
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtStartProfile ENDP
; ULONG __stdcall NtSinglePhaseReject( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSinglePhaseReject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 43
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSinglePhaseReject ENDP
; ULONG __stdcall NtSignalAndWaitForSingleObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSignalAndWaitForSingleObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 44
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSignalAndWaitForSingleObject ENDP
; ULONG __stdcall NtShutdownWorkerFactory( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtShutdownWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 45
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtShutdownWorkerFactory ENDP
; ULONG __stdcall NtShutdownSystem( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtShutdownSystem PROC STDCALL arg_01:DWORD
mov eax , 46
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtShutdownSystem ENDP
; ULONG __stdcall NtSetWnfProcessNotificationEvent( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetWnfProcessNotificationEvent PROC STDCALL arg_01:DWORD
mov eax , 47
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetWnfProcessNotificationEvent ENDP
; ULONG __stdcall NtSetVolumeInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetVolumeInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 48
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetVolumeInformationFile ENDP
; ULONG __stdcall NtSetValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 49
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetValueKey ENDP
; ULONG __stdcall NtSetUuidSeed( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetUuidSeed PROC STDCALL arg_01:DWORD
mov eax , 50
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetUuidSeed ENDP
; ULONG __stdcall NtSetTimerResolution( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetTimerResolution PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 51
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimerResolution ENDP
; ULONG __stdcall NtSetTimerEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetTimerEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 52
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimerEx ENDP
; ULONG __stdcall NtSetTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtSetTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 53
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimer ENDP
; ULONG __stdcall NtSetThreadExecutionState( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetThreadExecutionState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 54
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetThreadExecutionState ENDP
; ULONG __stdcall NtSetSystemTime( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetSystemTime PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 55
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemTime ENDP
; ULONG __stdcall NtSetSystemPowerState( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSystemPowerState PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 56
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemPowerState ENDP
; ULONG __stdcall NtSetSystemInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSystemInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 57
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemInformation ENDP
; ULONG __stdcall NtSetSystemEnvironmentValueEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValueEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 58
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValueEx ENDP
; ULONG __stdcall NtSetSystemEnvironmentValue( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValue PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 59
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSystemEnvironmentValue ENDP
; ULONG __stdcall NtSetSecurityObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetSecurityObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 60
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetSecurityObject ENDP
; ULONG __stdcall NtSetQuotaInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetQuotaInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 61
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetQuotaInformationFile ENDP
; ULONG __stdcall NtSetLowWaitHighEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetLowWaitHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 62
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetLowWaitHighEventPair ENDP
; ULONG __stdcall NtSetLowEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 63
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetLowEventPair ENDP
; ULONG __stdcall NtSetLdtEntries( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetLdtEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 64
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetLdtEntries ENDP
; ULONG __stdcall NtSetIRTimer( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetIRTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 65
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetIRTimer ENDP
; ULONG __stdcall NtSetTimer2( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetTimer2 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 66
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetTimer2 ENDP
; ULONG __stdcall NtCancelTimer2( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelTimer2 PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 67
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelTimer2 ENDP
; ULONG __stdcall NtSetIoCompletionEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetIoCompletionEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 68
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetIoCompletionEx ENDP
; ULONG __stdcall NtSetIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 69
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetIoCompletion ENDP
; ULONG __stdcall NtSetIntervalProfile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetIntervalProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 70
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetIntervalProfile ENDP
; ULONG __stdcall NtSetInformationWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 71
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationWorkerFactory ENDP
; ULONG __stdcall NtSetInformationTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 72
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationTransactionManager ENDP
; ULONG __stdcall NtSetInformationTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 73
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationTransaction ENDP
; ULONG __stdcall NtSetInformationToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 74
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationToken ENDP
; ULONG __stdcall NtSetInformationThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 75
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationThread ENDP
; ULONG __stdcall NtSetInformationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 76
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationResourceManager ENDP
; ULONG __stdcall NtSetInformationProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 77
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationProcess ENDP
; ULONG __stdcall NtSetInformationObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 78
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationObject ENDP
; ULONG __stdcall NtSetInformationKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 79
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationKey ENDP
; ULONG __stdcall NtSetInformationJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 80
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationJobObject ENDP
; ULONG __stdcall NtSetInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 81
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationFile ENDP
; ULONG __stdcall NtSetInformationEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetInformationEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 82
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationEnlistment ENDP
; ULONG __stdcall NtSetInformationDebugObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetInformationDebugObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 83
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationDebugObject ENDP
; ULONG __stdcall NtSetHighWaitLowEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetHighWaitLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 84
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetHighWaitLowEventPair ENDP
; ULONG __stdcall NtSetHighEventPair( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 85
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetHighEventPair ENDP
; ULONG __stdcall NtSetEventBoostPriority( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetEventBoostPriority PROC STDCALL arg_01:DWORD
mov eax , 86
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetEventBoostPriority ENDP
; ULONG __stdcall NtSetEvent( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 87
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetEvent ENDP
; ULONG __stdcall NtSetEaFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtSetEaFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 88
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetEaFile ENDP
; ULONG __stdcall NtSetDriverEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetDriverEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 89
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetDriverEntryOrder ENDP
; ULONG __stdcall NtSetDefaultUILanguage( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultUILanguage PROC STDCALL arg_01:DWORD
mov eax , 90
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultUILanguage ENDP
; ULONG __stdcall NtSetDefaultLocale( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultLocale PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 91
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultLocale ENDP
; ULONG __stdcall NtSetDefaultHardErrorPort( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtSetDefaultHardErrorPort PROC STDCALL arg_01:DWORD
mov eax , 92
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetDefaultHardErrorPort ENDP
; ULONG __stdcall NtSetDebugFilterState( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSetDebugFilterState PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 93
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetDebugFilterState ENDP
; ULONG __stdcall NtSetContextThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetContextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 94
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetContextThread ENDP
; ULONG __stdcall NtSetCachedSigningLevel( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtSetCachedSigningLevel PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 95
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetCachedSigningLevel ENDP
; ULONG __stdcall NtSetBootOptions( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetBootOptions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 96
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetBootOptions ENDP
; ULONG __stdcall NtSetBootEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSetBootEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 97
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetBootEntryOrder ENDP
; ULONG __stdcall NtSerializeBoot( );
_6_3_9600_sp0_windows_8_1_NtSerializeBoot PROC STDCALL
mov eax , 98
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSerializeBoot ENDP
; ULONG __stdcall NtSecureConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtSecureConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 99
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSecureConnectPort ENDP
; ULONG __stdcall NtSaveMergedKeys( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSaveMergedKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 100
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSaveMergedKeys ENDP
; ULONG __stdcall NtSaveKeyEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtSaveKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 101
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSaveKeyEx ENDP
; ULONG __stdcall NtSaveKey( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtSaveKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 102
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSaveKey ENDP
; ULONG __stdcall NtRollforwardTransactionManager( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollforwardTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 103
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRollforwardTransactionManager ENDP
; ULONG __stdcall NtRollbackTransaction( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 104
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackTransaction ENDP
; ULONG __stdcall NtRollbackEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 105
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackEnlistment ENDP
; ULONG __stdcall NtRollbackComplete( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRollbackComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 106
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRollbackComplete ENDP
; ULONG __stdcall NtResumeThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtResumeThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 107
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtResumeThread ENDP
; ULONG __stdcall NtResumeProcess( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtResumeProcess PROC STDCALL arg_01:DWORD
mov eax , 108
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtResumeProcess ENDP
; ULONG __stdcall NtRestoreKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtRestoreKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 109
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRestoreKey ENDP
; ULONG __stdcall NtResetWriteWatch( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtResetWriteWatch PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 110
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtResetWriteWatch ENDP
; ULONG __stdcall NtResetEvent( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtResetEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 111
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtResetEvent ENDP
; ULONG __stdcall NtRequestWaitReplyPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtRequestWaitReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 112
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRequestWaitReplyPort ENDP
; ULONG __stdcall NtRequestPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRequestPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 113
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRequestPort ENDP
; ULONG __stdcall NtReplyWaitReplyPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 114
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReplyPort ENDP
; ULONG __stdcall NtReplyWaitReceivePortEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePortEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 115
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePortEx ENDP
; ULONG __stdcall NtReplyWaitReceivePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 116
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplyWaitReceivePort ENDP
; ULONG __stdcall NtReplyPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 117
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplyPort ENDP
; ULONG __stdcall NtReplacePartitionUnit( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtReplacePartitionUnit PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 118
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplacePartitionUnit ENDP
; ULONG __stdcall NtReplaceKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtReplaceKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 119
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReplaceKey ENDP
; ULONG __stdcall NtRenameTransactionManager( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRenameTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 120
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRenameTransactionManager ENDP
; ULONG __stdcall NtRenameKey( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRenameKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 121
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRenameKey ENDP
; ULONG __stdcall NtRemoveProcessDebug( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRemoveProcessDebug PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 122
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveProcessDebug ENDP
; ULONG __stdcall NtRemoveIoCompletionEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletionEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 123
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletionEx ENDP
; ULONG __stdcall NtRemoveIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 124
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRemoveIoCompletion ENDP
; ULONG __stdcall NtReleaseWorkerFactoryWorker( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtReleaseWorkerFactoryWorker PROC STDCALL arg_01:DWORD
mov eax , 125
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseWorkerFactoryWorker ENDP
; ULONG __stdcall NtReleaseSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtReleaseSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 126
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseSemaphore ENDP
; ULONG __stdcall NtReleaseMutant( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtReleaseMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 127
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseMutant ENDP
; ULONG __stdcall NtReleaseKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtReleaseKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 128
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReleaseKeyedEvent ENDP
; ULONG __stdcall NtRegisterThreadTerminatePort( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtRegisterThreadTerminatePort PROC STDCALL arg_01:DWORD
mov eax , 129
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRegisterThreadTerminatePort ENDP
; ULONG __stdcall NtRegisterProtocolAddressInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtRegisterProtocolAddressInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 130
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRegisterProtocolAddressInformation ENDP
; ULONG __stdcall NtRecoverTransactionManager( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtRecoverTransactionManager PROC STDCALL arg_01:DWORD
mov eax , 131
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverTransactionManager ENDP
; ULONG __stdcall NtRecoverResourceManager( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtRecoverResourceManager PROC STDCALL arg_01:DWORD
mov eax , 132
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverResourceManager ENDP
; ULONG __stdcall NtRecoverEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtRecoverEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 133
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRecoverEnlistment ENDP
; ULONG __stdcall NtReadVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtReadVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 134
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReadVirtualMemory ENDP
; ULONG __stdcall NtReadRequestData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtReadRequestData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 135
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReadRequestData ENDP
; ULONG __stdcall NtReadOnlyEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtReadOnlyEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 136
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReadOnlyEnlistment ENDP
; ULONG __stdcall NtReadFileScatter( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtReadFileScatter PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 137
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReadFileScatter ENDP
; ULONG __stdcall NtReadFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtReadFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 138
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtReadFile ENDP
; ULONG __stdcall NtRaiseHardError( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtRaiseHardError PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 139
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRaiseHardError ENDP
; ULONG __stdcall NtRaiseException( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtRaiseException PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 140
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtRaiseException ENDP
; ULONG __stdcall NtQueueApcThreadEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueueApcThreadEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 141
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueueApcThreadEx ENDP
; ULONG __stdcall NtQueueApcThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueueApcThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 142
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueueApcThread ENDP
; ULONG __stdcall NtQueryWnfStateData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 143
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateData ENDP
; ULONG __stdcall NtQueryWnfStateNameInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateNameInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 144
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryWnfStateNameInformation ENDP
; ULONG __stdcall NtQueryVolumeInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryVolumeInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 145
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryVolumeInformationFile ENDP
; ULONG __stdcall NtQueryVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 146
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryVirtualMemory ENDP
; ULONG __stdcall NtQueryValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 147
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryValueKey ENDP
; ULONG __stdcall NtQueryTimerResolution( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtQueryTimerResolution PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 148
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryTimerResolution ENDP
; ULONG __stdcall NtQueryTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 149
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryTimer ENDP
; ULONG __stdcall NtQuerySystemTime( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemTime PROC STDCALL arg_01:DWORD
mov eax , 150
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemTime ENDP
; ULONG __stdcall NtQuerySystemInformationEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformationEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 151
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformationEx ENDP
; ULONG __stdcall NtQuerySystemInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 152
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemInformation ENDP
; ULONG __stdcall NtQuerySystemEnvironmentValueEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValueEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 153
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValueEx ENDP
; ULONG __stdcall NtQuerySystemEnvironmentValue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 154
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySystemEnvironmentValue ENDP
; ULONG __stdcall NtQuerySymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtQuerySymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 155
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySymbolicLinkObject ENDP
; ULONG __stdcall NtQuerySemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 156
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySemaphore ENDP
; ULONG __stdcall NtQuerySecurityObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySecurityObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 157
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySecurityObject ENDP
; ULONG __stdcall NtQuerySecurityAttributesToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQuerySecurityAttributesToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 158
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySecurityAttributesToken ENDP
; ULONG __stdcall NtQuerySection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQuerySection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 159
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQuerySection ENDP
; ULONG __stdcall NtQueryQuotaInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtQueryQuotaInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 160
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryQuotaInformationFile ENDP
; ULONG __stdcall NtQueryPortInformationProcess( );
_6_3_9600_sp0_windows_8_1_NtQueryPortInformationProcess PROC STDCALL
mov eax , 161
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryPortInformationProcess ENDP
; ULONG __stdcall NtQueryPerformanceCounter( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryPerformanceCounter PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 162
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryPerformanceCounter ENDP
; ULONG __stdcall NtQueryOpenSubKeysEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeysEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 163
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeysEx ENDP
; ULONG __stdcall NtQueryOpenSubKeys( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 164
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryOpenSubKeys ENDP
; ULONG __stdcall NtQueryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 165
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryObject ENDP
; ULONG __stdcall NtQueryMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 166
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryMutant ENDP
; ULONG __stdcall NtQueryMultipleValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtQueryMultipleValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 167
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryMultipleValueKey ENDP
; ULONG __stdcall NtQueryLicenseValue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryLicenseValue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 168
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryLicenseValue ENDP
; ULONG __stdcall NtQueryKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 169
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryKey ENDP
; ULONG __stdcall NtQueryIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 170
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryIoCompletion ENDP
; ULONG __stdcall NtQueryIntervalProfile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryIntervalProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 171
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryIntervalProfile ENDP
; ULONG __stdcall NtQueryInstallUILanguage( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtQueryInstallUILanguage PROC STDCALL arg_01:DWORD
mov eax , 172
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInstallUILanguage ENDP
; ULONG __stdcall NtQueryInformationWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 173
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationWorkerFactory ENDP
; ULONG __stdcall NtQueryInformationTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 174
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransactionManager ENDP
; ULONG __stdcall NtQueryInformationTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 175
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationTransaction ENDP
; ULONG __stdcall NtQueryInformationToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 176
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationToken ENDP
; ULONG __stdcall NtQueryInformationThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 177
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationThread ENDP
; ULONG __stdcall NtQueryInformationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 178
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationResourceManager ENDP
; ULONG __stdcall NtQueryInformationProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 179
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationProcess ENDP
; ULONG __stdcall NtQueryInformationPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 180
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationPort ENDP
; ULONG __stdcall NtQueryInformationJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 181
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationJobObject ENDP
; ULONG __stdcall NtQueryInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 182
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationFile ENDP
; ULONG __stdcall NtQueryInformationEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 183
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationEnlistment ENDP
; ULONG __stdcall NtQueryInformationAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryInformationAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 184
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryInformationAtom ENDP
; ULONG __stdcall NtQueryFullAttributesFile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryFullAttributesFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 185
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryFullAttributesFile ENDP
; ULONG __stdcall NtQueryEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtQueryEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 186
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryEvent ENDP
; ULONG __stdcall NtQueryEaFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtQueryEaFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 187
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryEaFile ENDP
; ULONG __stdcall NtQueryDriverEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDriverEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 188
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDriverEntryOrder ENDP
; ULONG __stdcall NtQueryDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 189
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryObject ENDP
; ULONG __stdcall NtQueryDirectoryFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 190
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDirectoryFile ENDP
; ULONG __stdcall NtQueryDefaultUILanguage( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtQueryDefaultUILanguage PROC STDCALL arg_01:DWORD
mov eax , 191
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDefaultUILanguage ENDP
; ULONG __stdcall NtQueryDefaultLocale( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDefaultLocale PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 192
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDefaultLocale ENDP
; ULONG __stdcall NtQueryDebugFilterState( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryDebugFilterState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 193
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryDebugFilterState ENDP
; ULONG __stdcall NtQueryBootOptions( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryBootOptions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 194
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryBootOptions ENDP
; ULONG __stdcall NtQueryBootEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryBootEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 195
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryBootEntryOrder ENDP
; ULONG __stdcall NtQueryAttributesFile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtQueryAttributesFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 196
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtQueryAttributesFile ENDP
; ULONG __stdcall NtPulseEvent( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtPulseEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 197
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPulseEvent ENDP
; ULONG __stdcall NtProtectVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtProtectVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 198
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtProtectVirtualMemory ENDP
; ULONG __stdcall NtPropagationFailed( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtPropagationFailed PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 199
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPropagationFailed ENDP
; ULONG __stdcall NtPropagationComplete( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtPropagationComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 200
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPropagationComplete ENDP
; ULONG __stdcall NtPrivilegeObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtPrivilegeObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 201
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegeObjectAuditAlarm ENDP
; ULONG __stdcall NtPrivilegedServiceAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtPrivilegedServiceAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 202
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegedServiceAuditAlarm ENDP
; ULONG __stdcall NtPrivilegeCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtPrivilegeCheck PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 203
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrivilegeCheck ENDP
; ULONG __stdcall NtSetInformationVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtSetInformationVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 204
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtSetInformationVirtualMemory ENDP
; ULONG __stdcall NtPrePrepareEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrePrepareEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 205
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrePrepareEnlistment ENDP
; ULONG __stdcall NtPrePrepareComplete( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrePrepareComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 206
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrePrepareComplete ENDP
; ULONG __stdcall NtPrepareEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrepareEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 207
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrepareEnlistment ENDP
; ULONG __stdcall NtPrepareComplete( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtPrepareComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 208
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPrepareComplete ENDP
; ULONG __stdcall NtPowerInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtPowerInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 209
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPowerInformation ENDP
; ULONG __stdcall NtPlugPlayControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtPlugPlayControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 210
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtPlugPlayControl ENDP
; ULONG __stdcall NtOpenTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtOpenTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 211
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTransactionManager ENDP
; ULONG __stdcall NtOpenTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 212
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTransaction ENDP
; ULONG __stdcall NtOpenTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 213
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenTimer ENDP
; ULONG __stdcall NtOpenThreadTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenThreadTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 214
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThreadTokenEx ENDP
; ULONG __stdcall NtOpenThreadToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenThreadToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 215
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThreadToken ENDP
; ULONG __stdcall NtOpenThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 216
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenThread ENDP
; ULONG __stdcall NtOpenSymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 217
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSymbolicLinkObject ENDP
; ULONG __stdcall NtOpenSession( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSession PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 218
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSession ENDP
; ULONG __stdcall NtOpenSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 219
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSemaphore ENDP
; ULONG __stdcall NtOpenSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 220
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenSection ENDP
; ULONG __stdcall NtOpenResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 221
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenResourceManager ENDP
; ULONG __stdcall NtOpenProcessTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenProcessTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 222
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcessTokenEx ENDP
; ULONG __stdcall NtOpenProcessToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenProcessToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 223
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcessToken ENDP
; ULONG __stdcall NtOpenProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 224
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenProcess ENDP
; ULONG __stdcall NtOpenPrivateNamespace( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenPrivateNamespace PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 225
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenPrivateNamespace ENDP
; ULONG __stdcall NtOpenObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 );
_6_3_9600_sp0_windows_8_1_NtOpenObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD
mov eax , 226
call _label_sysenter
ret 48
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenObjectAuditAlarm ENDP
; ULONG __stdcall NtOpenMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 227
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenMutant ENDP
; ULONG __stdcall NtOpenKeyTransactedEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransactedEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 228
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransactedEx ENDP
; ULONG __stdcall NtOpenKeyTransacted( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransacted PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 229
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyTransacted ENDP
; ULONG __stdcall NtOpenKeyEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 230
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyEx ENDP
; ULONG __stdcall NtOpenKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 231
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKeyedEvent ENDP
; ULONG __stdcall NtOpenKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 232
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenKey ENDP
; ULONG __stdcall NtOpenJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 233
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenJobObject ENDP
; ULONG __stdcall NtOpenIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 234
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenIoCompletion ENDP
; ULONG __stdcall NtOpenFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtOpenFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 235
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenFile ENDP
; ULONG __stdcall NtOpenEventPair( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenEventPair PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 236
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEventPair ENDP
; ULONG __stdcall NtOpenEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 237
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEvent ENDP
; ULONG __stdcall NtOpenEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtOpenEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 238
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenEnlistment ENDP
; ULONG __stdcall NtOpenDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtOpenDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 239
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtOpenDirectoryObject ENDP
; ULONG __stdcall NtNotifyChangeSession( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeSession PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 240
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeSession ENDP
; ULONG __stdcall NtNotifyChangeMultipleKeys( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeMultipleKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD
mov eax , 241
call _label_sysenter
ret 48
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeMultipleKeys ENDP
; ULONG __stdcall NtNotifyChangeKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 242
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeKey ENDP
; ULONG __stdcall NtNotifyChangeDirectoryFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtNotifyChangeDirectoryFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 243
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtNotifyChangeDirectoryFile ENDP
; ULONG __stdcall NtModifyDriverEntry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtModifyDriverEntry PROC STDCALL arg_01:DWORD
mov eax , 244
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtModifyDriverEntry ENDP
; ULONG __stdcall NtModifyBootEntry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtModifyBootEntry PROC STDCALL arg_01:DWORD
mov eax , 245
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtModifyBootEntry ENDP
; ULONG __stdcall NtMapViewOfSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtMapViewOfSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 246
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMapViewOfSection ENDP
; ULONG __stdcall NtMapUserPhysicalPagesScatter( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPagesScatter PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 247
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPagesScatter ENDP
; ULONG __stdcall NtMapUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 248
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMapUserPhysicalPages ENDP
; ULONG __stdcall NtMapCMFModule( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtMapCMFModule PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 249
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMapCMFModule ENDP
; ULONG __stdcall NtMakeTemporaryObject( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtMakeTemporaryObject PROC STDCALL arg_01:DWORD
mov eax , 250
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMakeTemporaryObject ENDP
; ULONG __stdcall NtMakePermanentObject( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtMakePermanentObject PROC STDCALL arg_01:DWORD
mov eax , 251
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtMakePermanentObject ENDP
; ULONG __stdcall NtLockVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtLockVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 252
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLockVirtualMemory ENDP
; ULONG __stdcall NtLockRegistryKey( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtLockRegistryKey PROC STDCALL arg_01:DWORD
mov eax , 253
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLockRegistryKey ENDP
; ULONG __stdcall NtLockProductActivationKeys( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtLockProductActivationKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 254
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLockProductActivationKeys ENDP
; ULONG __stdcall NtLockFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtLockFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 255
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLockFile ENDP
; ULONG __stdcall NtLoadKeyEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtLoadKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 256
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKeyEx ENDP
; ULONG __stdcall NtLoadKey2( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtLoadKey2 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 257
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKey2 ENDP
; ULONG __stdcall NtLoadKey( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtLoadKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 258
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLoadKey ENDP
; ULONG __stdcall NtLoadDriver( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtLoadDriver PROC STDCALL arg_01:DWORD
mov eax , 259
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtLoadDriver ENDP
; ULONG __stdcall NtListenPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtListenPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 260
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtListenPort ENDP
; ULONG __stdcall NtIsUILanguageComitted( );
_6_3_9600_sp0_windows_8_1_NtIsUILanguageComitted PROC STDCALL
mov eax , 261
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtIsUILanguageComitted ENDP
; ULONG __stdcall NtIsSystemResumeAutomatic( );
_6_3_9600_sp0_windows_8_1_NtIsSystemResumeAutomatic PROC STDCALL
mov eax , 262
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtIsSystemResumeAutomatic ENDP
; ULONG __stdcall NtIsProcessInJob( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtIsProcessInJob PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 263
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtIsProcessInJob ENDP
; ULONG __stdcall NtInitiatePowerAction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtInitiatePowerAction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 264
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtInitiatePowerAction ENDP
; ULONG __stdcall NtInitializeRegistry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtInitializeRegistry PROC STDCALL arg_01:DWORD
mov eax , 265
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtInitializeRegistry ENDP
; ULONG __stdcall NtInitializeNlsFiles( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtInitializeNlsFiles PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 266
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtInitializeNlsFiles ENDP
; ULONG __stdcall NtImpersonateThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtImpersonateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 267
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateThread ENDP
; ULONG __stdcall NtImpersonateClientOfPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtImpersonateClientOfPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 268
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateClientOfPort ENDP
; ULONG __stdcall NtImpersonateAnonymousToken( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtImpersonateAnonymousToken PROC STDCALL arg_01:DWORD
mov eax , 269
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtImpersonateAnonymousToken ENDP
; ULONG __stdcall NtGetWriteWatch( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtGetWriteWatch PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 270
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetWriteWatch ENDP
; ULONG __stdcall NtGetNotificationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtGetNotificationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 271
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetNotificationResourceManager ENDP
; ULONG __stdcall NtGetNlsSectionPtr( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtGetNlsSectionPtr PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 272
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetNlsSectionPtr ENDP
; ULONG __stdcall NtGetNextThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetNextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 273
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetNextThread ENDP
; ULONG __stdcall NtGetNextProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtGetNextProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 274
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetNextProcess ENDP
; ULONG __stdcall NtGetMUIRegistryInfo( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtGetMUIRegistryInfo PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 275
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetMUIRegistryInfo ENDP
; ULONG __stdcall NtGetDevicePowerState( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtGetDevicePowerState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 276
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetDevicePowerState ENDP
; ULONG __stdcall NtGetCurrentProcessorNumber( );
_6_3_9600_sp0_windows_8_1_NtGetCurrentProcessorNumber PROC STDCALL
mov eax , 277
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetCurrentProcessorNumber ENDP
; ULONG __stdcall NtGetContextThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtGetContextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 278
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetContextThread ENDP
; ULONG __stdcall NtGetCompleteWnfStateSubscription( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetCompleteWnfStateSubscription PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 279
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetCompleteWnfStateSubscription ENDP
; ULONG __stdcall NtGetCachedSigningLevel( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtGetCachedSigningLevel PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 280
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtGetCachedSigningLevel ENDP
; ULONG __stdcall NtFsControlFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtFsControlFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 281
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFsControlFile ENDP
; ULONG __stdcall NtFreezeTransactions( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtFreezeTransactions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 282
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFreezeTransactions ENDP
; ULONG __stdcall NtFreezeRegistry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtFreezeRegistry PROC STDCALL arg_01:DWORD
mov eax , 283
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFreezeRegistry ENDP
; ULONG __stdcall NtFreeVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtFreeVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 284
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFreeVirtualMemory ENDP
; ULONG __stdcall NtFreeUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtFreeUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 285
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFreeUserPhysicalPages ENDP
; ULONG __stdcall NtFlushWriteBuffer( );
_6_3_9600_sp0_windows_8_1_NtFlushWriteBuffer PROC STDCALL
mov eax , 286
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushWriteBuffer ENDP
; ULONG __stdcall NtFlushVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtFlushVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 287
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushVirtualMemory ENDP
; ULONG __stdcall NtFlushProcessWriteBuffers( );
_6_3_9600_sp0_windows_8_1_NtFlushProcessWriteBuffers PROC STDCALL
mov eax , 288
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushProcessWriteBuffers ENDP
; ULONG __stdcall NtFlushKey( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtFlushKey PROC STDCALL arg_01:DWORD
mov eax , 289
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushKey ENDP
; ULONG __stdcall NtFlushInstructionCache( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtFlushInstructionCache PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 290
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushInstructionCache ENDP
; ULONG __stdcall NtFlushInstallUILanguage( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtFlushInstallUILanguage PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 291
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushInstallUILanguage ENDP
; ULONG __stdcall NtFlushBuffersFile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 292
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFile ENDP
; ULONG __stdcall NtFlushBuffersFileEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFileEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 293
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFlushBuffersFileEx ENDP
; ULONG __stdcall NtFindAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtFindAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 294
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFindAtom ENDP
; ULONG __stdcall NtFilterToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtFilterToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 295
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFilterToken ENDP
; ULONG __stdcall NtFilterTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 );
_6_3_9600_sp0_windows_8_1_NtFilterTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD
mov eax , 296
call _label_sysenter
ret 56
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFilterTokenEx ENDP
; ULONG __stdcall NtFilterBootOption( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtFilterBootOption PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 297
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtFilterBootOption ENDP
; ULONG __stdcall NtExtendSection( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtExtendSection PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 298
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtExtendSection ENDP
; ULONG __stdcall NtEnumerateValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtEnumerateValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 299
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateValueKey ENDP
; ULONG __stdcall NtEnumerateTransactionObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtEnumerateTransactionObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 300
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateTransactionObject ENDP
; ULONG __stdcall NtEnumerateSystemEnvironmentValuesEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtEnumerateSystemEnvironmentValuesEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 301
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateSystemEnvironmentValuesEx ENDP
; ULONG __stdcall NtEnumerateKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtEnumerateKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 302
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateKey ENDP
; ULONG __stdcall NtEnumerateDriverEntries( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtEnumerateDriverEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 303
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateDriverEntries ENDP
; ULONG __stdcall NtEnumerateBootEntries( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtEnumerateBootEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 304
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnumerateBootEntries ENDP
; ULONG __stdcall NtEnableLastKnownGood( );
_6_3_9600_sp0_windows_8_1_NtEnableLastKnownGood PROC STDCALL
mov eax , 305
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtEnableLastKnownGood ENDP
; ULONG __stdcall NtDuplicateToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtDuplicateToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 306
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDuplicateToken ENDP
; ULONG __stdcall NtDuplicateObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtDuplicateObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 307
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDuplicateObject ENDP
; ULONG __stdcall NtDrawText( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDrawText PROC STDCALL arg_01:DWORD
mov eax , 308
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDrawText ENDP
; ULONG __stdcall NtDisplayString( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDisplayString PROC STDCALL arg_01:DWORD
mov eax , 309
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDisplayString ENDP
; ULONG __stdcall NtDisableLastKnownGood( );
_6_3_9600_sp0_windows_8_1_NtDisableLastKnownGood PROC STDCALL
mov eax , 310
call _label_sysenter
ret
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDisableLastKnownGood ENDP
; ULONG __stdcall NtDeviceIoControlFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtDeviceIoControlFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 311
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeviceIoControlFile ENDP
; ULONG __stdcall NtDeleteWnfStateName( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateName PROC STDCALL arg_01:DWORD
mov eax , 312
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateName ENDP
; ULONG __stdcall NtDeleteWnfStateData( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateData PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 313
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteWnfStateData ENDP
; ULONG __stdcall NtDeleteValueKey( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtDeleteValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 314
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteValueKey ENDP
; ULONG __stdcall NtDeletePrivateNamespace( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeletePrivateNamespace PROC STDCALL arg_01:DWORD
mov eax , 315
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeletePrivateNamespace ENDP
; ULONG __stdcall NtDeleteObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtDeleteObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 316
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteObjectAuditAlarm ENDP
; ULONG __stdcall NtDeleteKey( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteKey PROC STDCALL arg_01:DWORD
mov eax , 317
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteKey ENDP
; ULONG __stdcall NtDeleteFile( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteFile PROC STDCALL arg_01:DWORD
mov eax , 318
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteFile ENDP
; ULONG __stdcall NtDeleteDriverEntry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteDriverEntry PROC STDCALL arg_01:DWORD
mov eax , 319
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteDriverEntry ENDP
; ULONG __stdcall NtDeleteBootEntry( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteBootEntry PROC STDCALL arg_01:DWORD
mov eax , 320
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteBootEntry ENDP
; ULONG __stdcall NtDeleteAtom( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtDeleteAtom PROC STDCALL arg_01:DWORD
mov eax , 321
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDeleteAtom ENDP
; ULONG __stdcall NtDelayExecution( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtDelayExecution PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 322
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDelayExecution ENDP
; ULONG __stdcall NtDebugContinue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtDebugContinue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 323
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDebugContinue ENDP
; ULONG __stdcall NtDebugActiveProcess( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtDebugActiveProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 324
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtDebugActiveProcess ENDP
; ULONG __stdcall NtCreateWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 325
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWorkerFactory ENDP
; ULONG __stdcall NtCreateWnfStateName( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateWnfStateName PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 326
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWnfStateName ENDP
; ULONG __stdcall NtCreateWaitCompletionPacket( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateWaitCompletionPacket PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 327
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWaitCompletionPacket ENDP
; ULONG __stdcall NtCreateWaitablePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateWaitablePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 328
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateWaitablePort ENDP
; ULONG __stdcall NtCreateUserProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateUserProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 329
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateUserProcess ENDP
; ULONG __stdcall NtCreateTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtCreateTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 330
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTransactionManager ENDP
; ULONG __stdcall NtCreateTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 331
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTransaction ENDP
; ULONG __stdcall NtCreateToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 );
_6_3_9600_sp0_windows_8_1_NtCreateToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD
mov eax , 332
call _label_sysenter
ret 52
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateToken ENDP
; ULONG __stdcall NtCreateLowBoxToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateLowBoxToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 333
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateLowBoxToken ENDP
; ULONG __stdcall NtCreateTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 , ULONG arg_17 );
_6_3_9600_sp0_windows_8_1_NtCreateTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD , arg_17:DWORD
mov eax , 334
call _label_sysenter
ret 68
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTokenEx ENDP
; ULONG __stdcall NtCreateTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 335
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTimer ENDP
; ULONG __stdcall NtCreateThreadEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateThreadEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 336
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateThreadEx ENDP
; ULONG __stdcall NtCreateThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 337
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateThread ENDP
; ULONG __stdcall NtCreateSymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateSymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 338
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSymbolicLinkObject ENDP
; ULONG __stdcall NtCreateSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 339
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSemaphore ENDP
; ULONG __stdcall NtCreateSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 340
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateSection ENDP
; ULONG __stdcall NtCreateResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 341
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateResourceManager ENDP
; ULONG __stdcall NtCreateProfileEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_3_9600_sp0_windows_8_1_NtCreateProfileEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 342
call _label_sysenter
ret 40
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProfileEx ENDP
; ULONG __stdcall NtCreateProfile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 343
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProfile ENDP
; ULONG __stdcall NtCreateProcessEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtCreateProcessEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 344
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProcessEx ENDP
; ULONG __stdcall NtCreateProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 345
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateProcess ENDP
; ULONG __stdcall NtCreatePrivateNamespace( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreatePrivateNamespace PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 346
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePrivateNamespace ENDP
; ULONG __stdcall NtCreatePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreatePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 347
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePort ENDP
; ULONG __stdcall NtCreatePagingFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreatePagingFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 348
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreatePagingFile ENDP
; ULONG __stdcall NtCreateNamedPipeFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 );
_6_3_9600_sp0_windows_8_1_NtCreateNamedPipeFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD
mov eax , 349
call _label_sysenter
ret 56
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateNamedPipeFile ENDP
; ULONG __stdcall NtCreateMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 350
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateMutant ENDP
; ULONG __stdcall NtCreateMailslotFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateMailslotFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 351
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateMailslotFile ENDP
; ULONG __stdcall NtCreateKeyTransacted( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateKeyTransacted PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 352
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKeyTransacted ENDP
; ULONG __stdcall NtCreateKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 353
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKeyedEvent ENDP
; ULONG __stdcall NtCreateKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_3_9600_sp0_windows_8_1_NtCreateKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 354
call _label_sysenter
ret 28
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateKey ENDP
; ULONG __stdcall NtCreateJobSet( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateJobSet PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 355
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateJobSet ENDP
; ULONG __stdcall NtCreateJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 356
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateJobObject ENDP
; ULONG __stdcall NtCreateIRTimer( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCreateIRTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 357
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateIRTimer ENDP
; ULONG __stdcall NtCreateTimer2( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateTimer2 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 358
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateTimer2 ENDP
; ULONG __stdcall NtCreateIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 359
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateIoCompletion ENDP
; ULONG __stdcall NtCreateFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtCreateFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 360
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateFile ENDP
; ULONG __stdcall NtCreateEventPair( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateEventPair PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 361
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEventPair ENDP
; ULONG __stdcall NtCreateEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 362
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEvent ENDP
; ULONG __stdcall NtCreateEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtCreateEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 363
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateEnlistment ENDP
; ULONG __stdcall NtCreateDirectoryObjectEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObjectEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 364
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObjectEx ENDP
; ULONG __stdcall NtCreateDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 365
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDirectoryObject ENDP
; ULONG __stdcall NtCreateDebugObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtCreateDebugObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 366
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCreateDebugObject ENDP
; ULONG __stdcall NtContinue( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtContinue PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 367
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtContinue ENDP
; ULONG __stdcall NtConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 368
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtConnectPort ENDP
; ULONG __stdcall NtCompressKey( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtCompressKey PROC STDCALL arg_01:DWORD
mov eax , 369
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCompressKey ENDP
; ULONG __stdcall NtCompleteConnectPort( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtCompleteConnectPort PROC STDCALL arg_01:DWORD
mov eax , 370
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCompleteConnectPort ENDP
; ULONG __stdcall NtCompareTokens( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCompareTokens PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 371
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCompareTokens ENDP
; ULONG __stdcall NtCompactKeys( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCompactKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 372
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCompactKeys ENDP
; ULONG __stdcall NtCommitTransaction( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 373
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCommitTransaction ENDP
; ULONG __stdcall NtCommitEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 374
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCommitEnlistment ENDP
; ULONG __stdcall NtCommitComplete( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCommitComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 375
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCommitComplete ENDP
; ULONG __stdcall NtCloseObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCloseObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 376
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCloseObjectAuditAlarm ENDP
; ULONG __stdcall NtClose( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtClose PROC STDCALL arg_01:DWORD
mov eax , 377
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtClose ENDP
; ULONG __stdcall NtClearEvent( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtClearEvent PROC STDCALL arg_01:DWORD
mov eax , 378
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtClearEvent ENDP
; ULONG __stdcall NtCancelWaitCompletionPacket( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelWaitCompletionPacket PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 379
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelWaitCompletionPacket ENDP
; ULONG __stdcall NtCancelTimer( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 380
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelTimer ENDP
; ULONG __stdcall NtCancelSynchronousIoFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCancelSynchronousIoFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 381
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelSynchronousIoFile ENDP
; ULONG __stdcall NtCancelIoFileEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCancelIoFileEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 382
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelIoFileEx ENDP
; ULONG __stdcall NtCancelIoFile( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtCancelIoFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 383
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCancelIoFile ENDP
; ULONG __stdcall NtCallbackReturn( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtCallbackReturn PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 384
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtCallbackReturn ENDP
; ULONG __stdcall NtAssociateWaitCompletionPacket( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtAssociateWaitCompletionPacket PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 385
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAssociateWaitCompletionPacket ENDP
; ULONG __stdcall NtAssignProcessToJobObject( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAssignProcessToJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 386
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAssignProcessToJobObject ENDP
; ULONG __stdcall NtAreMappedFilesTheSame( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAreMappedFilesTheSame PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 387
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAreMappedFilesTheSame ENDP
; ULONG __stdcall NtApphelpCacheControl( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtApphelpCacheControl PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 388
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtApphelpCacheControl ENDP
; ULONG __stdcall NtAlpcSetInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtAlpcSetInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 389
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcSetInformation ENDP
; ULONG __stdcall NtAlpcSendWaitReceivePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtAlpcSendWaitReceivePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 390
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcSendWaitReceivePort ENDP
; ULONG __stdcall NtAlpcRevokeSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcRevokeSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 391
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcRevokeSecurityContext ENDP
; ULONG __stdcall NtAlpcQueryInformationMessage( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformationMessage PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 392
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformationMessage ENDP
; ULONG __stdcall NtAlpcQueryInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 393
call _label_sysenter
ret 20
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcQueryInformation ENDP
; ULONG __stdcall NtAlpcOpenSenderThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 394
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderThread ENDP
; ULONG __stdcall NtAlpcOpenSenderProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 395
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcOpenSenderProcess ENDP
; ULONG __stdcall NtAlpcImpersonateClientOfPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcImpersonateClientOfPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 396
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcImpersonateClientOfPort ENDP
; ULONG __stdcall NtAlpcDisconnectPort( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAlpcDisconnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 397
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDisconnectPort ENDP
; ULONG __stdcall NtAlpcDeleteSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 398
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSecurityContext ENDP
; ULONG __stdcall NtAlpcDeleteSectionView( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSectionView PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 399
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteSectionView ENDP
; ULONG __stdcall NtAlpcDeleteResourceReserve( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteResourceReserve PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 400
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeleteResourceReserve ENDP
; ULONG __stdcall NtAlpcDeletePortSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcDeletePortSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 401
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcDeletePortSection ENDP
; ULONG __stdcall NtAlpcCreateSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 402
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSecurityContext ENDP
; ULONG __stdcall NtAlpcCreateSectionView( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSectionView PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 403
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateSectionView ENDP
; ULONG __stdcall NtAlpcCreateResourceReserve( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreateResourceReserve PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 404
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreateResourceReserve ENDP
; ULONG __stdcall NtAlpcCreatePortSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePortSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 405
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePortSection ENDP
; ULONG __stdcall NtAlpcCreatePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 406
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCreatePort ENDP
; ULONG __stdcall NtAlpcConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 407
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPort ENDP
; ULONG __stdcall NtAlpcConnectPortEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPortEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 408
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcConnectPortEx ENDP
; ULONG __stdcall NtAlpcCancelMessage( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAlpcCancelMessage PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 409
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcCancelMessage ENDP
; ULONG __stdcall NtAlpcAcceptConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_3_9600_sp0_windows_8_1_NtAlpcAcceptConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 410
call _label_sysenter
ret 36
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlpcAcceptConnectPort ENDP
; ULONG __stdcall NtAllocateVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAllocateVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 411
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateVirtualMemory ENDP
; ULONG __stdcall NtAllocateUuids( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtAllocateUuids PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 412
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateUuids ENDP
; ULONG __stdcall NtAllocateUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAllocateUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 413
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateUserPhysicalPages ENDP
; ULONG __stdcall NtAllocateReserveObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAllocateReserveObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 414
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateReserveObject ENDP
; ULONG __stdcall NtAllocateLocallyUniqueId( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtAllocateLocallyUniqueId PROC STDCALL arg_01:DWORD
mov eax , 415
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAllocateLocallyUniqueId ENDP
; ULONG __stdcall NtAlertThreadByThreadId( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtAlertThreadByThreadId PROC STDCALL arg_01:DWORD
mov eax , 416
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlertThreadByThreadId ENDP
; ULONG __stdcall NtAlertThread( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtAlertThread PROC STDCALL arg_01:DWORD
mov eax , 417
call _label_sysenter
ret 4
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlertThread ENDP
; ULONG __stdcall NtAlertResumeThread( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAlertResumeThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 418
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAlertResumeThread ENDP
; ULONG __stdcall NtAdjustPrivilegesToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAdjustPrivilegesToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 419
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustPrivilegesToken ENDP
; ULONG __stdcall NtAdjustGroupsToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_3_9600_sp0_windows_8_1_NtAdjustGroupsToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 420
call _label_sysenter
ret 24
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustGroupsToken ENDP
; ULONG __stdcall NtAdjustTokenClaimsAndDeviceGroups( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 );
_6_3_9600_sp0_windows_8_1_NtAdjustTokenClaimsAndDeviceGroups PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD
mov eax , 421
call _label_sysenter
ret 64
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAdjustTokenClaimsAndDeviceGroups ENDP
; ULONG __stdcall NtAddDriverEntry( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAddDriverEntry PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 422
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAddDriverEntry ENDP
; ULONG __stdcall NtAddBootEntry( ULONG arg_01 , ULONG arg_02 );
_6_3_9600_sp0_windows_8_1_NtAddBootEntry PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 423
call _label_sysenter
ret 8
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAddBootEntry ENDP
; ULONG __stdcall NtAddAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_3_9600_sp0_windows_8_1_NtAddAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 424
call _label_sysenter
ret 12
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAddAtom ENDP
; ULONG __stdcall NtAddAtomEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_3_9600_sp0_windows_8_1_NtAddAtomEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 425
call _label_sysenter
ret 16
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAddAtomEx ENDP
; ULONG __stdcall NtAccessCheckByTypeResultListAndAuditAlarmByHandle( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 , ULONG arg_17 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarmByHandle PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD , arg_17:DWORD
mov eax , 426
call _label_sysenter
ret 68
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarmByHandle ENDP
; ULONG __stdcall NtAccessCheckByTypeResultListAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD
mov eax , 427
call _label_sysenter
ret 64
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultListAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheckByTypeResultList( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultList PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 428
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeResultList ENDP
; ULONG __stdcall NtAccessCheckByTypeAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD
mov eax , 429
call _label_sysenter
ret 64
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByTypeAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheckByType( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckByType PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 430
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckByType ENDP
; ULONG __stdcall NtAccessCheckAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_3_9600_sp0_windows_8_1_NtAccessCheckAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 431
call _label_sysenter
ret 44
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheckAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_3_9600_sp0_windows_8_1_NtAccessCheck PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 432
call _label_sysenter
ret 32
_label_sysenter:
mov edx , esp
;sysenter
db 0Fh , 34h
ret
_6_3_9600_sp0_windows_8_1_NtAccessCheck ENDP
|
3-mid/opengl/source/platform/egl/opengl-surface.adb | charlie5/lace | 20 | 8364 | <reponame>charlie5/lace<filename>3-mid/opengl/source/platform/egl/opengl-surface.adb
with
opengl.surface_Profile.privvy,
opengl.Display .privvy,
eGL.Binding,
interfaces.c.Strings,
System;
package body opengl.Surface
is
use eGL.Binding;
-- Forge
--
procedure define (Self : in out Item; surface_Profile : in opengl.surface_Profile.item'Class;
Display : in opengl.Display.Item;
Window_Id : in Natural)
is
use opengl.Display .privvy,
opengl.surface_Profile.privvy,
System;
begin
Self.egl_Surface := eglCreateWindowSurface (to_eGL (Display),
to_eGL (surface_Profile),
egl.NativeWindowType (Window_Id),
null); -- const EGLint *attribList);
if self.egl_Surface = EGL_NO_SURFACE then
raise opengl.Error with "unable to create an EGL surface for a window";
end if;
Self.Display := Display;
end define;
-- Operations
--
procedure swap_Buffers (Self : in Item)
is
use openGL.Display.privvy,
eGL;
use type EGLBoolean;
Success : egl.EGLBoolean;
begin
Success := eglSwapBuffers (to_eGL (Self.Display),
Self.egl_Surface);
if Success = EGL_FALSE then
raise opengl.Error with "unable to swap egl buffers";
end if;
end;
end opengl.Surface;
|
Cubical/Data/SumFin.agda | dan-iel-lee/cubical | 0 | 2546 | <filename>Cubical/Data/SumFin.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.SumFin where
open import Cubical.Data.SumFin.Base public
open import Cubical.Data.SumFin.Properties public
|
test/link/section-union/good/b.asm | orbea/rgbds | 522 | 6358 | SECTION UNION "a", WRAM0
a1: ; This is here to check that the two `a1` don't conflict
ds 42
a2::
SECTION UNION "b", WRAMX[$DAB0]
ds 2
b2::
SECTION UNION "c", HRAM[$FFC0]
b1: ; Same but in different sections now
ds 5
c2::
SECTION UNION "d", SRAM,ALIGN[12,$BBA]
ds $1000
d2::
SECTION UNION "e", SRAM,ALIGN[8,$BE]
SECTION "output 2", ROM0
dw a1,a2
dw b1,b2
dw c1,c2
|
src/main/antlr4/org/s1ck/gdl/GDL.g4 | xnqio/gdl | 0 | 463 | /*
* Copyright 2017 The GDL Authors
*
* 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.
*/
// Graph Definition Language
grammar GDL;
// starting point for parsing a GDL script
database
: elementList EOF
;
elementList
: (definition ','?)+ | query
;
definition
: graph
| path
;
graph
: header properties? (('[' (path ','?)* ']'))
;
query
: match where*
;
match
: 'MATCH' (path ','?)+
;
path
: vertex (edge vertex)*
;
vertex
: '(' header properties? ')'
;
edge
: '<-' edgeBody? '-' #incomingEdge
| '-' edgeBody? '->' #outgoingEdge
;
edgeBody
: '[' header properties? edgeLength?']'
;
edgeLength
: '*' IntegerLiteral? ('..' IntegerLiteral)?
;
header
: Identifier? label*
;
properties
: '{' (property (',' property)*)? '}'
;
property
: Identifier Colon literal
;
label
: Colon Identifier
;
where
: ('where' | 'WHERE') expression
;
expression : xorExpression ;
xorExpression: andExpression ( XOR andExpression )* ;
andExpression: orExpression ( AND orExpression )* ;
orExpression: notExpression ( OR notExpression )* ;
notExpression : ( NOT )* expression2 ;
expression2 : atom ;
atom : parenthesizedExpression
| comparisonExpression
;
comparisonExpression
: comparisonElement ComparisonOP comparisonElement
;
comparisonElement
: Identifier
| propertyLookup
| literal
;
parenthesizedExpression : '(' expression ')' ;
propertyLookup
: Identifier '.' Identifier
;
literal
: StringLiteral
| BooleanLiteral
| IntegerLiteral
| FloatingPointLiteral
| Null
;
//-------------------------------
// String Literal
//-------------------------------
StringLiteral
: '"' ('\\"'|.)*? '"'
| '\'' ('\\\''|.)*? '\''
;
//-------------------------------
// Boolean Literal
//-------------------------------
BooleanLiteral
: 'true'
| 'TRUE'
| 'false'
| 'FALSE'
;
//-------------------------------
// Integer Literal
//-------------------------------
IntegerLiteral
: DecimalIntegerLiteral
;
fragment
DecimalIntegerLiteral
: DecimalNumeral IntegerTypeSuffix?
;
fragment
DecimalNumeral
: '0'
| '-'? NonZeroDigit Digit*
;
fragment
IntegerTypeSuffix
: [lL]
;
//-------------------------------
// Floating Point Literal
//-------------------------------
FloatingPointLiteral
: DecimalFloatingPointLiteral
;
fragment
DecimalFloatingPointLiteral
: (DecimalFloatingPointNumeral '.' Digits)
| (DecimalFloatingPointNumeral? '.' Digits) FloatTypeSuffix?
;
fragment
DecimalFloatingPointNumeral
: '0'
| '-'? Digits
;
fragment
FloatTypeSuffix
: [fFdD]
;
//-------------------------------
// Comparison
//-------------------------------
AND
: ('a'|'A')('n'|'N')('d'|'D')
;
OR
: ('o'|'O')('r'|'R')
;
XOR
: ('x'|'X')('o'|'O')('r'|'R')
;
NOT
: ('N'|'n')('o'|'O')('t'|'T')
;
ComparisonOP
: '='
| '!='
| '<>'
| '>'
| '<'
| '>='
| '<='
;
//-------------------------------
// General fragments
//-------------------------------
Null
: 'NULL'
;
//-------------------------------
// Identifier
//-------------------------------
Identifier
: (UnderScore | LowerCaseLetter | UpperCaseLetter) (UnderScore | Character)* // e.g. _temp, _0, t_T, g0, alice, birthTown
;
Characters
: Character+
;
Character
: UpperCaseLetter
| LowerCaseLetter
| Digit
;
UpperCaseLetters
: UpperCaseLetter+
;
UpperCaseLetter
: [A-Z]
;
LowerCaseLetters
: LowerCaseLetter+
;
LowerCaseLetter
: [a-z]
;
fragment
Digits
: Digit+
;
fragment
Digit
: [0-9]
;
fragment
NonZeroDigit
: [1-9]
;
fragment
UnderScore
: '_'
;
Colon
: ':'
;
PERIOD
: '.'
;
WS
: [ \t\n\r]+ -> skip
;
COMMENT
: '/*' .*? '*/' -> skip
;
LINE_COMMENT
: '//' ~[\r\n]* -> skip
;
|
oeis/171/A171064.asm | neoneye/loda-programs | 11 | 8290 | <reponame>neoneye/loda-programs
; A171064: G.f.: -x*(x-1)*(1+x)/(1-x-7*x^2-x^3+x^4).
; Submitted by <NAME>
; 0,1,1,7,15,64,175,631,1905,6433,20224,66529,212625,692119,2226799,7217728,23284815,75343591,243328225,786800449,2542156800,8217744577,26556314401,85835882791,277405671375,896595420736,2897714688751,9365452422487,30268644993105,97827931218529,316176183904000,1021874895004321,3302667468557745,10674139986273463,34498510977277999,111498283454745664,360359332813407375,1164671687987631559,3764186790158950849,12165749655431033473,39319369541717913600,127079132231906467201,410716281889203945025
lpb $0
sub $0,1
add $1,$3
sub $3,$2
add $4,$2
add $4,$3
sub $4,$5
add $4,1
add $4,$2
mov $5,$4
mov $4,$2
mov $2,$3
add $2,$1
add $4,$1
add $5,$4
mov $3,$5
add $5,1
lpe
mov $0,$3
|
P5/P5_TestCode/P5_L1_testcase5/P5_L1_testcase5/mips5.asm | alxzzhou/BUAA_CO_2020 | 1 | 28625 | ori $s0, 4
jal tag
addu $t0, $ra, $ra
ori $t0, $0, 1
tag:
addu $t1, $ra, $s0
addu $t2, $ra, $s0
addu $t3, $ra, $s0
jal tag2
addu $t4, $s0, $ra
ori $t0, $0, 1
tag2:
addu $t4, $s0, $ra
addu $t5, $s0, $ra
addu $t6, $s0, $ra
addu $t7, $s0, $ra |
programs/oeis/314/A314753.asm | neoneye/loda | 22 | 21520 | ; A314753: Coordination sequence Gal.4.52.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,13,19,23,27,32,37,41,45,51,55,59,64,69,73,77,83,87,91,96,101,105,109,115,119,123,128,133,137,141,147,151,155,160,165,169,173,179,183,187,192,197,201,205,211,215,219,224
mov $5,$0
mul $0,2
mov $1,2
mov $2,2
lpb $0
sub $0,4
sub $0,$4
trn $0,2
add $1,$4
add $1,4
mov $3,$4
trn $3,$0
add $0,1
sub $1,4
mov $4,2
sub $4,$3
lpe
add $1,$2
lpb $5
add $1,4
sub $5,1
lpe
sub $1,3
mov $0,$1
|
programs/oeis/096/A096944.asm | neoneye/loda | 22 | 245884 | <filename>programs/oeis/096/A096944.asm
; A096944: Seventh column of (1,5)-Pascal triangle A096940.
; 5,31,112,308,714,1470,2772,4884,8151,13013,20020,29848,43316,61404,85272,116280,156009,206283,269192,347116,442750,559130,699660,868140,1068795,1306305,1585836,1913072,2294248,2736184,3246320,3832752
mov $1,$0
add $0,5
bin $0,$1
add $1,30
mul $0,$1
div $0,6
|
oeis/055/A055244.asm | neoneye/loda-programs | 11 | 242752 | <filename>oeis/055/A055244.asm
; A055244: Number of certain stackings of n+1 squares on a double staircase.
; Submitted by <NAME>(s4)
; 1,1,3,6,12,23,43,79,143,256,454,799,1397,2429,4203,7242,12432,21271,36287,61739,104791,177476,299978,506111,852457,1433593,2407443,4037454,6762708,11314391,18909139,31569799,52657247,87751624,146111758,243090847,404132957,671381621,1114602747,1849230354,3066167256,5080977751,8415059303,13929531491,23045999527,38110434188,62992745618,104074394879,171874667473,283727804401,468188740899,772281556374,1273421577372,2099019424919,3458708573563,5697311860927,9381871868207,15444619025296,25417777623382
mov $1,4
mov $3,$0
lpb $0
sub $0,1
add $1,1
mov $2,$1
sub $3,2
add $3,$0
add $1,$3
mov $3,$2
add $3,4
lpe
mov $0,$1
div $0,5
add $0,1
|
programs/oeis/020/A020490.asm | neoneye/loda | 22 | 244636 | <reponame>neoneye/loda
; A020490: Numbers k such that phi(k) <= sigma_0(k).
; 1,2,3,4,6,8,10,12,18,24,30
mov $4,$0
add $4,1
mov $9,$0
lpb $4
mov $0,$9
sub $4,1
sub $0,$4
mov $6,$0
mov $7,0
mov $8,$0
add $8,1
lpb $8
mov $0,$6
mov $2,0
mov $3,0
sub $8,1
sub $0,$8
add $0,8
lpb $0
dif $0,4
seq $2,267776 ; Triangle read by rows giving successive states of cellular automaton generated by "Rule 209" initiated with a single ON (black) cell.
add $2,2
add $3,$2
mul $3,$2
lpe
mov $5,$3
div $5,9
add $7,$5
lpe
add $1,$7
lpe
mov $0,$1
|
Projetos/F-Assembly/src/nasm/max.nasm | mariaeduardabicalho/Z01 | 2 | 15094 | ; Arquivo: Max.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 27/03/2017
; Log :
; - <NAME> portado para Z01
; Calcula R2 = max(R0, R1) (R0,R1,R2 se referem a RAM[0],RAM[1],RAM[2])
; ou seja, o maior valor que estiver, ou em R0 ou R1 sera copiado para R2
; Estamos considerando número inteiros
;faz o jump direto para o início
leaw $INIT, %A
jmp
nop
;cria função da ram0
RAM0:
leaw $0, %A
movw (%A), %S
leaw $2, %A
movw %S, (%A)
leaw $PARAR, %A
jmp
nop
;cria função da ram1
RAM1:
leaw $1, %A
movw (%A), %S
leaw $2, %A
movw %S, (%A)
leaw $PARAR, %A
jmp
nop
;inicia código passando 0 pra A, armazenando em D,
;e passando 1 pra A
INIT:
leaw $0, %A
movw (%A), %D
leaw $1, %A
;realiza a subtração
subw %D, (%A), %D
;condição "if"
leaw $RAM0, %A
jg %D
nop
;condição "if"
leaw $RAM1, %A
jle %D
nop
;para o código
PARAR:
nop |
src/fot/FOTC/Data/Nat/PropertiesATP.agda | asr/fotc | 11 | 7424 | ------------------------------------------------------------------------------
-- Arithmetic properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module FOTC.Data.Nat.PropertiesATP where
open import FOTC.Base
open import FOTC.Data.Nat
open import FOTC.Data.Nat.UnaryNumbers
------------------------------------------------------------------------------
-- Totality properties
pred-N : ∀ {n} → N n → N (pred₁ n)
pred-N nzero = prf
where postulate prf : N (pred₁ zero)
{-# ATP prove prf #-}
pred-N (nsucc {n} Nn) = prf
where postulate prf : N (pred₁ (succ₁ n))
{-# ATP prove prf #-}
+-N : ∀ {m n} → N m → N n → N (m + n)
+-N {n = n} nzero Nn = prf
where postulate prf : N (zero + n)
{-# ATP prove prf #-}
+-N {n = n} (nsucc {m} Nm) Nn = prf (+-N Nm Nn)
where postulate prf : N (m + n) → N (succ₁ m + n)
{-# ATP prove prf #-}
∸-N : ∀ {m n} → N m → N n → N (m ∸ n)
∸-N {m} Nm nzero = prf
where postulate prf : N (m ∸ zero)
{-# ATP prove prf #-}
∸-N {m} Nm (nsucc {n} Nn) = prf (∸-N Nm Nn)
where postulate prf : N (m ∸ n) → N (m ∸ succ₁ n)
{-# ATP prove prf pred-N #-}
*-N : ∀ {m n} → N m → N n → N (m * n)
*-N {n = n} nzero Nn = prf
where postulate prf : N (zero * n)
{-# ATP prove prf #-}
*-N {n = n} (nsucc {m} Nm) Nn = prf (*-N Nm Nn)
where postulate prf : N (m * n) → N (succ₁ m * n)
{-# ATP prove prf +-N #-}
------------------------------------------------------------------------------
Sx≢x : ∀ {n} → N n → succ₁ n ≢ n
Sx≢x nzero h = prf
where postulate prf : ⊥
{-# ATP prove prf #-}
Sx≢x (nsucc {n} Nn) h = prf (Sx≢x Nn)
where postulate prf : succ₁ n ≢ n → ⊥
{-# ATP prove prf #-}
+-leftIdentity : ∀ n → zero + n ≡ n
+-leftIdentity n = +-0x n
+-rightIdentity : ∀ {n} → N n → n + zero ≡ n
+-rightIdentity nzero = +-leftIdentity zero
+-rightIdentity (nsucc {n} Nn) = prf (+-rightIdentity Nn)
where postulate prf : n + zero ≡ n → succ₁ n + zero ≡ succ₁ n
{-# ATP prove prf #-}
+-assoc : ∀ {m} → N m → ∀ n o → m + n + o ≡ m + (n + o)
+-assoc nzero n o = prf
where postulate prf : zero + n + o ≡ zero + (n + o)
{-# ATP prove prf #-}
+-assoc (nsucc {m} Nm) n o = prf (+-assoc Nm n o)
where postulate prf : m + n + o ≡ m + (n + o) →
succ₁ m + n + o ≡ succ₁ m + (n + o)
{-# ATP prove prf #-}
x+Sy≡S[x+y] : ∀ {m} → N m → ∀ n → m + succ₁ n ≡ succ₁ (m + n)
x+Sy≡S[x+y] nzero n = prf
where postulate prf : zero + succ₁ n ≡ succ₁ (zero + n)
{-# ATP prove prf #-}
x+Sy≡S[x+y] (nsucc {m} Nm) n = prf (x+Sy≡S[x+y] Nm n)
where postulate prf : m + succ₁ n ≡ succ₁ (m + n) →
succ₁ m + succ₁ n ≡ succ₁ (succ₁ m + n)
{-# ATP prove prf #-}
+-comm : ∀ {m n} → N m → N n → m + n ≡ n + m
+-comm {n = n} nzero Nn = prf
where postulate prf : zero + n ≡ n + zero
{-# ATP prove prf +-rightIdentity #-}
+-comm {n = n} (nsucc {m} Nm) Nn = prf (+-comm Nm Nn)
where postulate prf : m + n ≡ n + m → succ₁ m + n ≡ n + succ₁ m
{-# ATP prove prf x+Sy≡S[x+y] #-}
x+S0≡Sx : ∀ {n} → N n → n + succ₁ zero ≡ succ₁ n
x+S0≡Sx nzero = +-leftIdentity (succ₁ zero)
x+S0≡Sx (nsucc {n} Nn) = prf (x+S0≡Sx Nn)
where postulate prf : n + succ₁ zero ≡ succ₁ n →
succ₁ n + succ₁ zero ≡ succ₁ (succ₁ n)
{-# ATP prove prf #-}
0∸x : ∀ {n} → N n → zero ∸ n ≡ zero
0∸x nzero = ∸-x0 zero
0∸x (nsucc {n} Nn) = prf (0∸x Nn)
where postulate prf : zero ∸ n ≡ zero → zero ∸ succ₁ n ≡ zero
{-# ATP prove prf #-}
S∸S : ∀ {m n} → N m → N n → succ₁ m ∸ succ₁ n ≡ m ∸ n
S∸S {m} Nm nzero = prf
where postulate prf : succ₁ m ∸ succ₁ zero ≡ m ∸ zero
{-# ATP prove prf #-}
S∸S {m} Nm (nsucc {n} Nn) = prf (S∸S Nm Nn)
where postulate prf : succ₁ m ∸ succ₁ n ≡ m ∸ n →
succ₁ m ∸ succ₁ (succ₁ n) ≡ m ∸ succ₁ n
{-# ATP prove prf #-}
x∸x≡0 : ∀ {n} → N n → n ∸ n ≡ zero
x∸x≡0 nzero = ∸-x0 zero
x∸x≡0 (nsucc {n} Nn) = prf (x∸x≡0 Nn)
where postulate prf : n ∸ n ≡ zero → succ₁ n ∸ succ₁ n ≡ zero
{-# ATP prove prf S∸S #-}
Sx∸x≡S0 : ∀ {n} → N n → succ₁ n ∸ n ≡ succ₁ zero
Sx∸x≡S0 nzero = prf
where postulate prf : succ₁ zero ∸ zero ≡ succ₁ zero
{-# ATP prove prf #-}
Sx∸x≡S0 (nsucc {n} Nn) = prf (Sx∸x≡S0 Nn)
where postulate prf : succ₁ n ∸ n ≡ succ₁ zero →
succ₁ (succ₁ n) ∸ succ₁ n ≡ succ₁ zero
{-# ATP prove prf S∸S #-}
[x+Sy]∸y≡Sx : ∀ {m n} → N m → N n → (m + succ₁ n) ∸ n ≡ succ₁ m
[x+Sy]∸y≡Sx {n = n} nzero Nn = prf
where postulate prf : zero + succ₁ n ∸ n ≡ succ₁ zero
{-# ATP prove prf Sx∸x≡S0 #-}
[x+Sy]∸y≡Sx (nsucc {m} Nm) nzero = prf
where postulate prf : succ₁ m + succ₁ zero ∸ zero ≡ succ₁ (succ₁ m)
{-# ATP prove prf x+S0≡Sx #-}
[x+Sy]∸y≡Sx (nsucc {m} Nm) (nsucc {n} Nn) = prf ([x+Sy]∸y≡Sx (nsucc Nm) Nn)
where postulate prf : succ₁ m + succ₁ n ∸ n ≡ succ₁ (succ₁ m) →
succ₁ m + succ₁ (succ₁ n) ∸ succ₁ n ≡ succ₁ (succ₁ m)
{-# ATP prove prf S∸S +-N x+Sy≡S[x+y] #-}
[x+y]∸[x+z]≡y∸z : ∀ {m n o} → N m → N n → N o → (m + n) ∸ (m + o) ≡ n ∸ o
[x+y]∸[x+z]≡y∸z {n = n} {o} nzero Nn No = prf
where postulate prf : (zero + n) ∸ (zero + o) ≡ n ∸ o
{-# ATP prove prf #-}
[x+y]∸[x+z]≡y∸z {n = n} {o} (nsucc {m} Nm) Nn No = prf ([x+y]∸[x+z]≡y∸z Nm Nn No)
where postulate prf : (m + n) ∸ (m + o) ≡ n ∸ o →
(succ₁ m + n) ∸ (succ₁ m + o) ≡ n ∸ o
{-# ATP prove prf +-N S∸S #-}
*-leftZero : ∀ n → zero * n ≡ zero
*-leftZero = *-0x
*-rightZero : ∀ {n} → N n → n * zero ≡ zero
*-rightZero nzero = *-leftZero zero
*-rightZero (nsucc {n} Nn) = prf (*-rightZero Nn)
where postulate prf : n * zero ≡ zero → succ₁ n * zero ≡ zero
{-# ATP prove prf #-}
postulate *-leftIdentity : ∀ {n} → N n → succ₁ zero * n ≡ n
{-# ATP prove *-leftIdentity +-rightIdentity #-}
x*Sy≡x+xy : ∀ {m n} → N m → N n → m * succ₁ n ≡ m + m * n
x*Sy≡x+xy {n = n} nzero Nn = prf
where postulate prf : zero * succ₁ n ≡ zero + zero * n
{-# ATP prove prf #-}
x*Sy≡x+xy {n = n} (nsucc {m} Nm) Nn = prf (x*Sy≡x+xy Nm Nn)
(+-assoc Nn m (m * n))
(+-assoc Nm n (m * n))
where
-- N.B. We had to feed the ATP with the instances of the associate law
postulate prf : m * succ₁ n ≡ m + m * n →
(n + m) + (m * n) ≡ n + (m + (m * n)) → -- Associative law
(m + n) + (m * n) ≡ m + (n + (m * n)) → -- Associateve law
succ₁ m * succ₁ n ≡ succ₁ m + succ₁ m * n
{-# ATP prove prf +-comm #-}
*-comm : ∀ {m n} → N m → N n → m * n ≡ n * m
*-comm {n = n} nzero Nn = prf
where postulate prf : zero * n ≡ n * zero
{-# ATP prove prf *-rightZero #-}
*-comm {n = n} (nsucc {m} Nm) Nn = prf (*-comm Nm Nn)
where postulate prf : m * n ≡ n * m → succ₁ m * n ≡ n * succ₁ m
{-# ATP prove prf x*Sy≡x+xy #-}
*-rightIdentity : ∀ {n} → N n → n * succ₁ zero ≡ n
*-rightIdentity nzero = prf
where postulate prf : zero * succ₁ zero ≡ zero
{-# ATP prove prf #-}
*-rightIdentity (nsucc {n} Nn) = prf (*-rightIdentity Nn)
where postulate prf : n * succ₁ zero ≡ n →
succ₁ n * succ₁ zero ≡ succ₁ n
{-# ATP prove prf #-}
*∸-leftDistributive : ∀ {m n o} → N m → N n → N o → (m ∸ n) * o ≡ m * o ∸ n * o
*∸-leftDistributive {m} {o = o} Nm nzero No = prf
where postulate prf : (m ∸ zero) * o ≡ m * o ∸ zero * o
{-# ATP prove prf #-}
*∸-leftDistributive {o = o} nzero (nsucc {n} Nn) No = prf
where postulate prf : (zero ∸ succ₁ n) * o ≡ zero * o ∸ succ₁ n * o
{-# ATP prove prf 0∸x *-N #-}
*∸-leftDistributive (nsucc {m} Nm) (nsucc {n} Nn) nzero = prf
where
postulate prf : (succ₁ m ∸ succ₁ n) * zero ≡ succ₁ m * zero ∸ succ₁ n * zero
{-# ATP prove prf ∸-N *-comm #-}
*∸-leftDistributive (nsucc {m} Nm) (nsucc {n} Nn) (nsucc {o} No) =
prf (*∸-leftDistributive Nm Nn (nsucc No))
where
postulate prf : (m ∸ n) * succ₁ o ≡ m * succ₁ o ∸ n * succ₁ o →
(succ₁ m ∸ succ₁ n) * succ₁ o ≡
succ₁ m * succ₁ o ∸ succ₁ n * succ₁ o
{-# ATP prove prf [x+y]∸[x+z]≡y∸z S∸S *-N #-}
*+-leftDistributive : ∀ {m n o} → N m → N n → N o → (m + n) * o ≡ m * o + n * o
*+-leftDistributive {m} {n} Nm Nn nzero = prf
where postulate prf : (m + n) * zero ≡ m * zero + n * zero
{-# ATP prove prf *-comm +-rightIdentity *-N +-N #-}
*+-leftDistributive {n = n} nzero Nn (nsucc {o} No) = prf
where postulate prf : (zero + n) * succ₁ o ≡ zero * succ₁ o + n * succ₁ o
{-# ATP prove prf #-}
*+-leftDistributive (nsucc {m} Nm) nzero (nsucc {o} No) = prf
where
postulate prf : (succ₁ m + zero) * succ₁ o ≡ succ₁ m * succ₁ o + zero * succ₁ o
{-# ATP prove prf +-rightIdentity *-N #-}
*+-leftDistributive (nsucc {m} Nm) (nsucc {n} Nn) (nsucc {o} No) =
prf (*+-leftDistributive Nm (nsucc Nn) (nsucc No))
where
postulate
prf : (m + succ₁ n) * succ₁ o ≡ m * succ₁ o + succ₁ n * succ₁ o →
(succ₁ m + succ₁ n) * succ₁ o ≡ succ₁ m * succ₁ o + succ₁ n * succ₁ o
{-# ATP prove prf +-assoc *-N #-}
xy≡0→x≡0∨y≡0 : ∀ {m n} → N m → N n → m * n ≡ zero → m ≡ zero ∨ n ≡ zero
xy≡0→x≡0∨y≡0 {n = n} nzero Nn h = prf
where postulate prf : zero ≡ zero ∨ n ≡ zero
{-# ATP prove prf #-}
xy≡0→x≡0∨y≡0 (nsucc {m} Nm) nzero h = prf
where postulate prf : succ₁ m ≡ zero ∨ zero ≡ zero
{-# ATP prove prf #-}
xy≡0→x≡0∨y≡0 (nsucc {m} Nm) (nsucc {n} Nn) SmSn≡0 = ⊥-elim (0≢S prf)
where postulate prf : zero ≡ succ₁ (n + m * succ₁ n)
{-# ATP prove prf #-}
xy≡1→x≡1 : ∀ {m n} → N m → N n → m * n ≡ 1' → m ≡ 1'
xy≡1→x≡1 {n = n} nzero Nn h = ⊥-elim prf
where postulate prf : ⊥
{-# ATP prove prf #-}
xy≡1→x≡1 (nsucc nzero) Nn h = refl
xy≡1→x≡1 (nsucc (nsucc {m} Nm)) nzero h = ⊥-elim prf
where postulate prf : ⊥
{-# ATP prove prf *-rightZero #-}
xy≡1→x≡1 (nsucc (nsucc {m} Nm)) (nsucc {n} Nn) h = ⊥-elim (0≢S prf)
where postulate prf : zero ≡ succ₁ (m + n * succ₁ (succ₁ m))
{-# ATP prove prf *-comm #-}
|
source/BBEdit.popclipext/bbedit.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 2786 | <filename>source/BBEdit.popclipext/bbedit.applescript<gh_stars>1000+
tell application "BBEdit"
activate
make new text window with properties {contents:"{popclip text}"}
end tell |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0_notsx.log_21829_224.asm | ljhsiun2/medusa | 9 | 29732 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rcx
lea addresses_A_ht+0xdfde, %r8
nop
add $36958, %r15
movb $0x61, (%r8)
nop
nop
nop
nop
dec %rcx
pop %rcx
pop %rax
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r8
push %r9
push %rbx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_WC+0x10296, %r10
dec %rsi
movw $0x5152, (%r10)
nop
nop
nop
nop
and $10820, %rsi
// Store
lea addresses_D+0x23f6, %rdx
nop
nop
lfence
mov $0x5152535455565758, %rdi
movq %rdi, %xmm1
vmovups %ymm1, (%rdx)
nop
nop
nop
sub %r8, %r8
// Store
lea addresses_normal+0x84c6, %r9
nop
nop
nop
nop
nop
sub $51447, %rdx
movw $0x5152, (%r9)
add $62208, %rdx
// Store
lea addresses_normal+0x167f6, %rdi
nop
sub $15058, %rbx
mov $0x5152535455565758, %rdx
movq %rdx, %xmm0
movups %xmm0, (%rdi)
xor $1039, %rdx
// Load
lea addresses_UC+0x19d88, %r10
nop
add $63403, %r8
mov (%r10), %bx
nop
nop
nop
nop
nop
dec %r8
// Store
lea addresses_WT+0xa036, %rbx
nop
dec %r8
mov $0x5152535455565758, %rsi
movq %rsi, (%rbx)
cmp $50790, %rsi
// Store
lea addresses_D+0x121b6, %r10
nop
nop
nop
add %r8, %r8
mov $0x5152535455565758, %rdi
movq %rdi, (%r10)
nop
nop
nop
nop
nop
sub %rdx, %rdx
// Faulty Load
lea addresses_normal+0x167f6, %r10
nop
nop
add $52652, %r9
mov (%r10), %edi
lea oracles, %r10
and $0xff, %rdi
shlq $12, %rdi
mov (%r10,%rdi,1), %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %r9
pop %r8
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'AVXalign': True, 'size': 16, 'NT': True, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}}
{'src': {'type': 'addresses_UC', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 6}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 5}}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 4, 'NT': True, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 2}}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
|
final lab/finalversion.asm | chenzhicun/SJTU-EI209-Computer-Organization-Lab | 4 | 104056 | <reponame>chenzhicun/SJTU-EI209-Computer-Organization-Lab<gh_stars>1-10
;--------------------------------------------------------------------------
;
; Build this with the "Source" menu using
; "Build All" option
;
;--------------------------------------------------------------------------
;
; 课程设计程序通用框架
;
;--------------------------------------------------------------------------
; 功能:通过8253定时,产生中断信号,在4位数码管上稳定显示0,1,2,3四个数字 |
; 编写:《计算机组成原理》课程组 |
; 版本:
;--------------------------------------------------------------------------
DOSSEG
.MODEL SMALL ; 设定8086汇编程序使用Small model
.8086 ; 设定采用8086汇编指令集
;-----------------------------------------------------------
; 定义堆栈段 |
;-----------------------------------------------------------
.stack 100h ; 定义256字节容量的堆栈
;-------------------------------------------------------------------------
; 符号定义 |
;-------------------------------------------------------------------------
;
;
; 8253芯片端口地址 (Port Address):
L8253T0 EQU 100h ; Even Timer0's address in I/O space, 108H as well.
; 101H, 109H for high order byte access.
L8253T1 EQU 102h ; Timer1's address in I/O space
; 103H, 10BH for high order byte access.
L8253T2 EQU 104h ; Timer2'saddress in I/O space
; 105H, 10DH for high order byte access.
L8253CS EQU 106h ; 8253 Control Register's address in I/O space
; 107H, 10FH for high order byte access.
;
; 8255芯片端口地址 (Port Address):
L8255PA EQU 121h ; Odd Port A's address in I/O space, 129H as well.
; 120H, 128H for low order byte access.
L8255PB EQU 123h ; Odd Port B's address in I/O space, 12BH as well.
; 122H, 12AH for low order byte access.
L8255PC EQU 125h ; Odd Port C's address in I/O space, 13DH as well.
; 124H, 12CH for low order byte access.
L8255CS EQU 127h ; 8255 Control Register's port number in I/O space, 12FH as well
; 126H, 12EH for low order byte access.
;
; 中断矢量号定义
IRQNum EQU 20h ; 中断矢量号,要根据学号计算得到后更新此定义。
Patch_Proteus EQU IN AL, 0 ; Simulation Patch for Proteus, please ignore this line
;=======================================================================
; 宏定义
;=======================================================================
; 修补Proteus仿真的BUG,参见程序段中的使用说明
WaitForHWInt MACRO IRQNum ; IRQNum is the HW INT number
MOV AL, IRQNum ;
OUT 0,AL ;
ENDM
;-----------------------------------------------------------
; 定义数据段 |
;-----------------------------------------------------------
.data ; 定义数据段;
TimerCountDisplay dw 0 ;计数,用于刷新数码管
;DisplayDigit函数的两个参数,DisplayDigit在DisplayIndex处的数码管显示DisplayVal数值
DisplayIndex db 0 ;DisplayIndex可取0,1,2,3 分别对应从左往右第1,2,3,4个数码管
DisplayVal db 0 ;DisplayVal可取0,1,2...,9
TimeFirst db 1 ;显示time的时候的第一位
TimeSecond db 9 ;显示time的时候的第二位
TimeThird db 5 ;显示time的时候的第三位
TimeFourth db 9 ;显示time的时候的第四位
CountFirst db 1 ;显示countdown的时候的第一位
CountSecond db 0 ;显示countdown的时候的第二位
CountThird db 0 ;显示countdown的时候的第三位
CountFourth db 0 ;显示countdown的时候的第四位
DelayShort dw 60
; SEGTAB示字符0-F
SEGTAB DB 3FH ; 7-Segment Tube, 共阴极类型的7段数码管示意图
DB 06H ;
DB 5BH ; a a a
DB 4FH ; f b
DB 66H ; f b
DB 6DH ; f b
DB 7DH ; g g g
DB 07H ; e c
DB 7FH ; e c
DB 6FH ; e c
DB 77H ; d d d h h h
DB 7CH ; ----------------------------------
DB 39H ; b7 b6 b5 b4 b3 b2 b1 b0
DB 5EH ; DP g f e d c b a
DB 79H ;
DB 71H ;
;-----------------------------------------------------------
; 定义代码段 |
;-----------------------------------------------------------
.code ; Code segment definition
.startup ; 定义汇编程序执行入口点
;------------------------------------------------------------------------
Patch_Proteus ; Simulation Patch for Proteus,
; Please ignore the above code line.
;------------------------------------------------------------------------
START:
CLI ; clear IF
MOV AX, @DATA
MOV DS, AX ; 初始化DS段寄存器
;需要先初始化好中断,再设置8253;否则定时中断产生后,执行的ISR未必是我们写的ISR
MOV BL, IRQNum ; 取得中断矢量号
CALL INT_INIT ; 初始化中断向量表
CALL INIT8255 ; 初始化8255
CALL INIT8253 ; 初始化8253
STI ; set IF
MOV CX,10
Display_Again:
L1: CALL DisplayDate
LOOP L1
MOV DX,L8255PC
IN AL,DX
MOV CL,AL
AND CL,00010000B
JCXZ L4
MOV CX,10
MOV TimerCountDisplay,0
L2: CALL DisplayTime
LOOP L2
MOV DX,L8255PC
IN AL,DX
MOV CL,AL
AND CL,00010000B
JCXZ L5
MOV CX,10
MOV TimerCountDisplay,0
MOV CountFirst,1
MOV CountSecond,0
MOV CountThird,0
MOV CountFourth,0
L3: CALL DisplayCountdown
LOOP L3
MOV DX,L8255PC
IN AL,DX
MOV CL,AL
AND CL,00010000B
JCXZ L6
MOV CX,10
JMP Display_Again
L4: MOV CX,10
JMP L1
L5: MOV CX,10
JMP L2
L6: MOV CX,10
JMP L3
HLT ; 停止主程序运行
;=====================================================================================
;--------------------------------------------
; |
; 日期显示函数 |
; |
;--------------------------------------------
DisplayDate PROC
MOV DisplayVal,0
MOV DisplayIndex,0
CALL DisplayDigit
CALL DELAY
MOV DisplayVal,5
MOV DisplayIndex,1
CALL DisplayDigit
CALL DELAY
MOV DisplayVal,0
MOV DisplayIndex,2
CALL DisplayDigit
CALL DELAY
MOV DisplayVal,8
MOV DisplayIndex,3
CALL DisplayDigit
CALL DELAY
RET
DisplayDate ENDP
;--------------------------------------------
; |
; 时间显示函数 |
; |
;--------------------------------------------
DisplayTime PROC
;进入这个函数前把TimerCountDisplay打成0
CMP TimerCountDisplay, 6000
JLE Display1
MOV TimerCountDisplay, 0
INC TimeFourth
CMP TimeFourth, 10
JZ CARRY1
T1:CMP TimeThird, 6
JZ CARRY2
T2:CMP TimeSecond, 10
JZ CARRY3
T3:CMP TimeFirst, 2
JNZ Display1
CMP TimeSecond, 4
JNZ Display1
MOV TimeFirst,0
MOV TimeSecond,0
MOV TimeThird,0
MOV TimeFourth,0
Display1: MOV AL,TimeFirst
MOV DisplayVal,AL
MOV DisplayIndex,0
CALL DisplayDigit
CALL DELAY
MOV AL,TimeSecond
MOV DisplayVal,AL
INC DisplayIndex
CALL DisplayDigit
CALL DELAY
MOV AL,TimeThird
MOV DisplayVal,AL
INC DisplayIndex
CALL DisplayDigit
CALL DELAY
MOV AL,TimeFourth
MOV DisplayVal,AL
INC DisplayIndex
CALL DisplayDigit
CALL DELAY
JMP TIMEEND
CARRY1: MOV TimeFourth, 0
INC TimeThird
JMP T1
CARRY2: MOV TimeThird, 0
INC TimeSecond
JMP T2
CARRY3: MOV TimeSecond, 0
INC TimeFirst
JMP T3
TIMEEND:RET
DisplayTime ENDP
;--------------------------------------------
; |
; 倒计时显示函数 |
; |
;--------------------------------------------
DisplayCountdown PROC
;注意在进入这个函数之前,需要将count的初始值设成1000
;进入这个函数前把TimerCountDisplay打成0
CMP TimerCountDisplay, 100
JLE Display2
MOV TimerCountDisplay, 0
CMP CountFourth,0
JZ BORROW1
C1: DEC CountFourth
Display2:MOV DisplayIndex,0
MOV AL,CountFirst
MOV DisplayVal,AL
CALL DisplayDigit
CALL DELAY
INC DisplayIndex
MOV AL,CountSecond
MOV DisplayVal,AL
CALL DisplayDigit
CALL DELAY
INC DisplayIndex
MOV AL,CountThird
MOV DisplayVal,AL
CALL DisplayDigit
CALL DELAY
INC DisplayIndex
MOV AL,CountFourth
MOV DisplayVal,AL
CALL DisplayDigit
CALL DELAY
JMP CountEnd
BORROW1: CMP CountThird,0
JZ BORROW2
C2: DEC CountThird
MOV CountFourth,10
JMP C1
BORROW2: CMP CountSecond,0
JZ BORROW3
C3: DEC CountSecond
MOV CountThird,10
JMP C2
BORROW3: CMP CountFirst,0
JZ Display2
DEC CountFirst
MOV CountSecond,10
JMP C3
CountEnd:RET
DisplayCountdown ENDP
;--------------------------------------------
; |
; 数码管显示函数 |
; |
;--------------------------------------------
DisplayDigit PROC ; Display DisplayVal on the DisplayIndex digit
PUSH CX
MOV DX, L8255PA
;根据DisplayIndex,选中当前要刷新的数码管
MOV AL, 01h
MOV CL, DisplayIndex
SHL AL, CL
NOT AL
OUT DX, AL
;根据DisplayVal,确定当前选中的数码管要显示的数值
MOV AX, OFFSET SEGTAB
XOR BH, BH
MOV BL, DisplayVal
ADD BX, AX
MOV AL, BYTE PTR [BX]
MOV DX, L8255PB
OUT DX, AL
POP CX
RET
DisplayDigit ENDP
;--------------------------------------------
; |
; 粗略的延时函数 |
; |
;--------------------------------------------
DELAY PROC
PUSH CX
MOV CX, DelayShort
D1: LOOP D1
POP CX
RET
DELAY ENDP
;--------------------------------------------
; |
; INIT 8255 |
; |
;--------------------------------------------
INIT8255 PROC
; Init 8255 in Mode 0, L8255PA Output, L8255PB Output, L8255PC LOW Input, L8255PC UP Input
MOV DX, L8255CS
MOV AL, 10001001B ; Control Word
; 发送控制字到8255
OUT DX, AL
RET
INIT8255 ENDP
;--------------------------------------------
; |
; INIT 8253 |
; |
;--------------------------------------------
INIT8253 PROC
; 设定Timer0
MOV AL,00110110B ; 设定Timer0,2字节写入,方式3方波,二进制计数
MOV DX,L8253CS ; 指向8253控制寄存器1
OUT DX,AL
MOV AX, 10000 ; 计数值=10000 每10ms产生一次中断
MOV DX, L8253T0 ; 指向Timer0
OUT DX,AL ; 先送低位字节
MOV AL,AH
OUT DX,AL ; 再送高位字节
; 设定Timer1
MOV AL,01010110B ; 设定Timer1,只写低8位,方式3方波,二进制
MOV DX,L8253CS ; 指向8253控制寄存器
OUT DX,AL ;
MOV AX,100 ; 计数值 = 100
MOV DX, L8253T1 ; 指向Timer1
OUT DX,AL ; 送出8位计数值
; 设定Timer2
RET
INIT8253 ENDP
;-------------------------------------------------------------
; | |
; Function:INTERRUPT Vector Table INIT |
; Input: BL = Interrupt number |
; Output: None |
; |
;-------------------------------------------------------------
INT_INIT PROC
CLI ; Disable interrupt
MOV AX, 0
MOV ES, AX ; 准备操作中断向量表
XOR BH, BH ;
MOV BL, IRQNum ; 取得中断矢量号
SHL BX, 1 ;
SHL BX, 1 ; 指向中断入口表地址
MOV AX, OFFSET MYIRQ ; 中断服务程序的偏移地址送AX
MOV ES:[BX], AX ; 中断服务程序的偏移地址写入向量表
MOV AX, SEG MYIRQ ; 中断服务程序的段基址送AX
MOV ES:[BX+2], AX ; 中断服务程序的段基址写入向量表
RET
INT_INIT ENDP
;--------------------------------------------------------------
; | |
; FUNCTION: INTERRUPT SERVICE Routine (ISR) |
; |
; |
; |
;--------------------------------------------------------------
MYIRQ PROC
PUSH DX ; 保存DX
PUSH AX ; 保存AX
inc TimerCountDisplay ; 8253每产生1次中断, TimerCountDisplay就会相应地加1
POP AX
POP DX ; 取回DX
IRET ; 中断返回
MYIRQ ENDP
END ; 指示汇编程序结束编译 |
reverse-linked-list/utils.asm | undead-carbon/fizzy-buzzer | 0 | 15107 | <reponame>undead-carbon/fizzy-buzzer<gh_stars>0
; Utilities for reverselinkedlist.asm
STDIN equ 0
STDOUT equ 1
STDERR equ 2
; 16*8 = 128 bits (64 val + 64 addr)
NODESIZE equ 16
; exit(0)
_exit:
mov rax, 60
mov rdi, 0
syscall
ret
; convert the string in rax to an int & store in number
_atoi:
mov r11, rax
call _clrNum
; used to build up the integer
; rax is the only reg used by mul
xor rax, rax
; constant 10 because mul doesn't allow operand to be a value o.O
mov r13, 10
loop1_:
xor r12, r12
mov r12b, [r11]
cmp r12b, 0
je loop1_end
cmp r12b, 10
je loop1_end
sub r12, 48 ; conversion from ascii
inc r11
mul r13
add rax, r12
jmp loop1_
loop1_end:
mov [number], rax
ret
; clear the number buffer by setting it to all zeros
_clrNum:
push rax
xor rax, rax
mov qword [number], rax
pop rax
ret
; convert value in rax to string and store in buffer
_itoa:
; modulus
mov r10, 10
; number of chars
mov r11, 0
; place digits onto stack
loop2_:
mov rdx, 0
idiv r10
push rdx
inc r11
cmp rax, 0
jne loop2_
; addr of next write loc in buffer
mov r10, buffer
; pop off chars and move to buffer
loop3_:
pop r12
add r12, 48 ; convert to ascii repr
mov [r10], r12 ; write to buffer
inc r10
dec r11
cmp r11, 0
jne loop3_
mov r12, 0
mov [r10], r12 ; the delimiter
ret
; print the text pointed to by rax. Delimited by 0
_print:
push rax ; start of the string
mov r10, 0 ; string length
loop_:
mov bl, [rax]
cmp bl, 0
je loop_end
inc rax
inc r10
jmp loop_
loop_end:
mov rax, 1
mov rdi, 1
pop rsi
mov rdx, r10
syscall
ret
%macro println 0
call _print
mov rax, newline
call _print
%endmacro
%macro movPtr 2
push rbx
mov qword rbx, %2
mov qword %1, rbx
pop rbx
%endmacro
; literally the same thing as movPtr but renamed so that it gives the correct idea to the reader (yes, me)
%macro movVal 2
push rbx
mov qword rbx, %2
mov qword %1, rbx
pop rbx
%endmacro
; specifically to do dst = src->next
%macro movNxt 2
push rbx
mov qword rbx, %2 ; get addr
lea rbx, [rbx+8] ; shift
mov qword rbx, [rbx] ; get loc pointed to by next
mov qword %1, rbx ; put loc into dest
pop rbx
%endmacro
; specifically to do dst->next = src
%macro movNxtAlt 2
push rbx
mov qword rbx, %1
lea rbx, [rbx+8]
push rdx
mov qword rdx, %2
mov qword [rbx], rdx
pop rdx
pop rbx
%endmacro
%macro cmpPtr 2
push r14
push r15
mov r14, %1
mov r15, %2
cmp r14, r15
pop r15
pop r14
%endmacro
; given the address of the node print its value
%macro printNode 1
push rax
push rdx
mov qword rax, %1
mov qword rax, [rax]
call _itoa
mov rax, buffer
call _print
mov rax, space
call _print
pop rdx
pop rax
%endmacro
; clear the buffer by setting it to all zeros
_clrBuf:
push rax
mov al, 0
mov rsi, buffer
mov rdi, buffer
add rdi, 16
stosb
pop rax
ret
; get the number from stdin and store it in buffer
_getInput:
call _clrBuf
mov rax, 0
mov rdi, 0
mov rsi, buffer
syscall
ret
|
regtests/ado-tests.adb | My-Colaborations/ada-ado | 0 | 10201 | <filename>regtests/ado-tests.adb
-----------------------------------------------------------------------
-- ADO Sequences -- Database sequence generator
-- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2017, 2018, 2019 <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 Ada.Exceptions;
with Ada.Calendar;
with ADO.Statements;
with ADO.Objects;
with ADO.Sessions;
with ADO.Utils;
with Regtests;
with Regtests.Simple.Model;
with Regtests.Images.Model;
with Util.Assertions;
with Util.Measures;
with Util.Log;
with Util.Log.Loggers;
with Util.Beans.Objects;
with Util.Test_Caller;
package body ADO.Tests is
use Ada.Exceptions;
use ADO.Statements;
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create ("ADO.Tests");
package Caller is new Util.Test_Caller (Test, "ADO");
procedure Assert_Has_Message (T : in Test;
E : in Exception_Occurrence);
procedure Assert_Has_Message (T : in Test;
E : in Exception_Occurrence) is
Message : constant String := Exception_Message (E);
begin
Log.Info ("Exception: {0}", Message);
T.Assert (Message'Length > 0,
"Exception " & Exception_Name (E) & " does not have any message");
end Assert_Has_Message;
procedure Set_Up (T : in out Test) is
begin
null;
end Set_Up;
-- ------------------------------
-- Check:
-- Object_Ref.Load
-- Object_Ref.Is_Null
-- ------------------------------
procedure Test_Load (T : in out Test) is
DB : ADO.Sessions.Session := Regtests.Get_Database;
Object : Regtests.Simple.Model.User_Ref;
begin
T.Assert (Object.Is_Null, "Object_Ref.Is_Null: Empty object must be null");
Object.Load (DB, -1);
T.Assert (False, "Object_Ref.Load: Load must raise NOT_FOUND exception");
exception
when ADO.Objects.NOT_FOUND =>
T.Assert (Object.Is_Null, "Object_Ref.Load: Must not change the object");
end Test_Load;
-- ------------------------------
-- Check:
-- Object_Ref.Load
-- Object_Ref.Save
-- <Model>.Set_xxx (Unbounded_String)
-- <Model>.Create
-- ------------------------------
procedure Test_Create_Load (T : in out Test) is
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
Object : Regtests.Simple.Model.User_Ref;
Check : Regtests.Simple.Model.User_Ref;
begin
-- Initialize and save an object
Object.Set_Name ("A simple test name");
Object.Save (DB);
T.Assert (Object.Get_Id > 0, "Saving an object did not allocate an identifier");
-- Load the object
Check.Load (DB, Object.Get_Id);
T.Assert (not Check.Is_Null, "Object_Ref.Load: Loading the object failed");
end Test_Create_Load;
-- ------------------------------
-- Check:
-- Various error checks on database connections
--
-- Master_Connection.Rollback
-- ------------------------------
procedure Test_Not_Open (T : in out Test) is
DB : ADO.Sessions.Master_Session;
begin
begin
DB.Rollback;
T.Fail ("Master_Connection.Rollback should raise an exception");
exception
when E : ADO.Sessions.Session_Error =>
Assert_Has_Message (T, E);
end;
begin
DB.Commit;
T.Fail ("Master_Connection.Commit should raise an exception");
exception
when E : ADO.Sessions.Session_Error =>
Assert_Has_Message (T, E);
end;
end Test_Not_Open;
-- ------------------------------
-- Check id generation
-- ------------------------------
procedure Test_Allocate (T : in out Test) is
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
Key : ADO.Objects.Object_Key (Of_Type => ADO.Objects.KEY_INTEGER,
Of_Class => Regtests.Simple.Model.ALLOCATE_TABLE);
PrevId : Identifier := NO_IDENTIFIER;
S : Util.Measures.Stamp;
begin
for I in 1 .. 200 loop
declare
Obj : Regtests.Simple.Model.Allocate_Ref;
begin
Obj.Save (DB);
Key := Obj.Get_Key;
if PrevId /= NO_IDENTIFIER then
T.Assert (Objects.Get_Value (Key) = PrevId + 1, "Invalid allocated identifier: "
& Objects.To_String (Key) & " previous=" & Identifier'Image (PrevId));
end if;
PrevId := Objects.Get_Value (Key);
end;
end loop;
Util.Measures.Report (S, "Allocate 200 ids");
end Test_Allocate;
-- ------------------------------
-- Check:
-- Object.Save (with creation)
-- Object.Find
-- Object.Save (update)
-- ------------------------------
procedure Test_Create_Save (T : in out Test) is
use type ADO.Sessions.Connection_Status;
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
Ref : Regtests.Simple.Model.Allocate_Ref;
Ref2 : Regtests.Simple.Model.Allocate_Ref;
begin
T.Assert (DB.Get_Status = ADO.Sessions.OPEN,
"The database connection is open");
Ref.Set_Name ("Testing the allocation");
Ref.Save (DB);
T.Assert (Ref.Get_Id > 0, "Object must have an id");
Ref.Set_Name ("Testing the allocation: update");
Ref.Save (DB);
Ref2.Load (DB, Ref.Get_Id);
end Test_Create_Save;
-- ------------------------------
-- Check:
-- Object.Save (with creation)
-- ------------------------------
procedure Test_Perf_Create_Save (T : in out Test) is
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
S : Util.Measures.Stamp;
begin
DB.Begin_Transaction;
for I in 1 .. 1_000 loop
declare
Ref : Regtests.Simple.Model.Allocate_Ref;
begin
Ref.Set_Name ("Testing the allocation");
Ref.Save (DB);
T.Assert (Ref.Get_Id > 0, "Object must have an id");
end;
end loop;
DB.Commit;
Util.Measures.Report (S, "Create 1000 rows");
end Test_Perf_Create_Save;
procedure Test_Delete_All (T : in out Test) is
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
Stmt : ADO.Statements.Delete_Statement
:= DB.Create_Statement (Regtests.Simple.Model.ALLOCATE_TABLE);
Result : Natural;
begin
DB.Begin_Transaction;
Stmt.Execute (Result);
Log.Info ("Deleted {0} rows", Natural'Image (Result));
DB.Commit;
T.Assert (Result > 100, "Too few rows were deleted");
end Test_Delete_All;
-- ------------------------------
-- Test string insert.
-- ------------------------------
procedure Test_String (T : in out Test) is
use Ada.Strings.Unbounded;
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
User : Regtests.Simple.Model.User_Ref;
Usr2 : Regtests.Simple.Model.User_Ref;
Name : Nullable_String;
begin
Name.Is_Null := False;
for I in 1 .. 127 loop
Append (Name.Value, Character'Val (I));
end loop;
Append (Name.Value, ' ');
Append (Name.Value, ' ');
Append (Name.Value, ' ');
Append (Name.Value, ' ');
DB.Begin_Transaction;
User.Set_Name (Name);
User.Save (DB);
DB.Commit;
-- Check that we can load the image and the blob.
Usr2.Load (DB, User.Get_Id);
Util.Tests.Assert_Equals (T, To_String (Name.Value), String '(Usr2.Get_Name),
"Invalid name inserted for user");
Usr2.Set_Name (ADO.Null_String);
Usr2.Save (DB);
User.Load (DB, Usr2.Get_Id);
T.Assert (User.Get_Name.Is_Null, "Name must be null after save");
end Test_String;
-- ------------------------------
-- Test blob insert.
-- ------------------------------
procedure Test_Blob (T : in out Test) is
use Ada.Streams;
procedure Assert_Equals is
new Util.Assertions.Assert_Equals_T (Ada.Streams.Stream_Element);
DB : ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
Img : Regtests.Images.Model.Image_Ref;
Size : constant Natural := 100;
Data : ADO.Blob_Ref := ADO.Create_Blob (Size);
Img2 : Regtests.Images.Model.Image_Ref;
begin
for I in 1 .. Size loop
Data.Value.Data (Ada.Streams.Stream_Element_Offset (I)) := Integer'Pos ((64 + I) mod 255);
end loop;
DB.Begin_Transaction;
Img.Set_Image (Data);
Img.Set_Create_Date (Ada.Calendar.Clock);
Img.Save (DB);
DB.Commit;
-- Check that we can load the image and the blob.
Img2.Load (DB, Img.Get_Id);
T.Assert (Img2.Get_Image.Is_Null = False, "No image blob loaded");
-- And verify that the blob data matches what we inserted.
Util.Tests.Assert_Equals (T, Size, Integer (Img2.Get_Image.Value.Len),
"Invalid blob length");
for I in 1 .. Data.Value.Len loop
Assert_Equals (T, Data.Value.Data (I), Img2.Get_Image.Value.Data (I),
"Invalid blob content at " & Stream_Element_Offset'Image (I));
end loop;
-- Create a blob initialized with a file content.
Data := ADO.Create_Blob ("Makefile");
T.Assert (not Data.Is_Null, "Null blob returned by Create_Blob");
T.Assert (Data.Value.Len > 100, "Blob length initialized from file is too small");
declare
Content : Ada.Streams.Stream_Element_Array (1 .. 10);
Img3 : Regtests.Images.Model.Image_Ref;
begin
for I in Content'Range loop
Content (I) := Ada.Streams.Stream_Element_Offset'Pos (I + 30);
end loop;
Data := ADO.Create_Blob (Content);
T.Assert (not Data.Is_Null, "Null blob returned by Create_Blob (Stream_Element_Array)");
T.Assert (Data.Value.Len = 10, "Blob length initialized from array is too small");
DB.Begin_Transaction;
Img3.Set_Image (Data);
Img3.Set_Create_Date (Ada.Calendar.Clock);
Img3.Save (DB);
DB.Commit;
-- Check that we can load the image and the blob.
Img2.Load (DB, Img3.Get_Id);
T.Assert (Img2.Get_Image.Is_Null = False, "No image blob loaded");
Img2.Set_Image (ADO.Null_Blob);
Img2.Save (DB);
DB.Commit;
end;
end Test_Blob;
-- ------------------------------
-- Test the To_Object and To_Identifier operations.
-- ------------------------------
procedure Test_Identifier_To_Object (T : in out Test) is
Val : Util.Beans.Objects.Object := ADO.Utils.To_Object (ADO.NO_IDENTIFIER);
begin
T.Assert (Util.Beans.Objects.Is_Null (Val),
"To_Object must return null for ADO.NO_IDENTIFIER");
T.Assert (ADO.Utils.To_Identifier (Val) = ADO.NO_IDENTIFIER,
"To_Identifier must return ADO.NO_IDENTIFIER for null");
Val := ADO.Utils.To_Object (1);
T.Assert (not Util.Beans.Objects.Is_Null (Val),
"To_Object must not return null for a valid Identifier");
T.Assert (ADO.Utils.To_Identifier (Val) = 1,
"To_Identifier must return the correct identifier");
end Test_Identifier_To_Object;
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test Object_Ref.Load", Test_Load'Access);
Caller.Add_Test (Suite, "Test Object_Ref.Save", Test_Create_Load'Access);
Caller.Add_Test (Suite, "Test Master_Connection init error", Test_Not_Open'Access);
Caller.Add_Test (Suite, "Test Sequences.Factory", Test_Allocate'Access);
Caller.Add_Test (Suite, "Test Object_Ref.Save/Create/Update",
Test_Create_Save'Access);
Caller.Add_Test (Suite, "Test Object_Ref.Create (DB Insert)",
Test_Perf_Create_Save'Access);
Caller.Add_Test (Suite, "Test Statement.Delete_Statement (delete all)",
Test_Delete_All'Access);
Caller.Add_Test (Suite, "Test insert string",
Test_String'Access);
Caller.Add_Test (Suite, "Test insert blob",
Test_Blob'Access);
Caller.Add_Test (Suite, "Test ADO.Utils.To_Object/To_Identifier",
Test_Identifier_To_Object'Access);
end Add_Tests;
end ADO.Tests;
|
Task/Image-noise/Ada/image-noise-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 9498 | <filename>Task/Image-noise/Ada/image-noise-1.ada
with Lumen.Image;
package Noise is
function Create_Image (Width, Height : Natural) return Lumen.Image.Descriptor;
end Noise;
|
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_copy_callee.asm | meesokim/z88dk | 0 | 84493 | <filename>libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_copy_callee.asm<gh_stars>0
; void *obstack_copy_callee(struct obstack *ob, void *address, size_t size)
SECTION code_alloc_obstack
PUBLIC _obstack_copy_callee
_obstack_copy_callee:
pop af
pop hl
pop de
pop bc
push af
INCLUDE "alloc/obstack/z80/asm_obstack_copy.asm"
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1970.asm | ljhsiun2/medusa | 9 | 9119 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1970.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14292, %rsi
nop
nop
and %r13, %r13
movb $0x61, (%rsi)
nop
nop
nop
nop
sub $17878, %rsi
lea addresses_WT_ht+0x1b968, %rbx
nop
nop
nop
nop
nop
cmp $60190, %r15
movl $0x61626364, (%rbx)
nop
nop
nop
and $33338, %rsi
lea addresses_UC_ht+0x8526, %rsi
lea addresses_D_ht+0x12006, %rdi
nop
nop
nop
nop
nop
add $65513, %r14
mov $80, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %r13, %r13
lea addresses_WC_ht+0x1cab8, %rsi
lea addresses_WT_ht+0x139d0, %rdi
nop
nop
and $24395, %r10
mov $30, %rcx
rep movsb
nop
dec %r14
lea addresses_UC_ht+0x6bb8, %rsi
clflush (%rsi)
and %r15, %r15
vmovups (%rsi), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $1, %xmm6, %rbx
nop
nop
nop
nop
inc %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r14
push %r8
push %rax
push %rdi
push %rdx
// Store
lea addresses_US+0xed18, %r8
clflush (%r8)
nop
nop
nop
cmp %rdx, %rdx
movb $0x51, (%r8)
nop
nop
sub %rdx, %rdx
// Faulty Load
lea addresses_UC+0x142b8, %rdx
nop
nop
nop
nop
inc %r14
mov (%rdx), %r10d
lea oracles, %rdi
and $0xff, %r10
shlq $12, %r10
mov (%rdi,%r10,1), %r10
pop %rdx
pop %rdi
pop %rax
pop %r8
pop %r14
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': True, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 1, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 2, 'size': 4, 'same': False, 'NT': True}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 8, 'size': 32, 'same': False, 'NT': False}}
{'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
*/
|
src/demologic.ads | Kidev/DemoAdaPhysics2D | 5 | 6889 | <gh_stars>1-10
with Worlds; use Worlds;
with Entities; use Entities;
with Materials; use Materials;
with Menus; use Menus;
with Vectors2D; use Vectors2D;
with Links; use Links;
package DemoLogic is
Hold : Natural := 0;
LastX, LastY : Integer := 0;
GlobalGravity : Vec2D := (0.0, 0.0);
MaxHold : constant Natural := 40;
EntCreatorMat : Materials.Material := Materials.RUBBER;
EntEditorMat : Materials.Material := Materials.VACUUM;
EntLinkerType : LinkTypes := LTRope;
EntLinkerSelected : EntityClassAcc := null;
type Modes is (M_Frozen, M_Disabled, M_Circle, M_Rectangle, M_Edit, M_Link);
Mode : Modes := M_Disabled;
CurWorld : World;
Quit : Boolean := False;
type VisualCue is record
X, Y, R : Integer;
EntType : EntityTypes;
Mat : Material;
Selected : EntityClassAcc := null;
end record;
function Inputs(W : in out World; Frozen : in out Boolean;
Cooldown : Integer; Cue : in out VisualCue) return Boolean;
procedure ModeActions(Frozen : in out Boolean);
procedure CreateEntity(W : in out World; X, Y : Integer; H : Natural)
with Pre => X >= 0 and X <= 240 and Y >= 0 and Y <= 320 and H <= MaxHold;
procedure DisplayEntity(X, Y : Integer; H : Natural; Cue : in out VisualCue)
with Pre => X >= 0 and X <= 240 and Y >= 0 and Y <= 320 and H <= MaxHold;
procedure CreateCircle(W : in out World; X, Y : Integer; H : Natural)
with Pre => X >= 0 and X <= 240 and Y >= 0 and Y <= 320 and H <= MaxHold;
procedure CreateRectangle(W : in out World; X, Y : Integer; H : Natural)
with Pre => X >= 0 and X <= 240 and Y >= 0 and Y <= 320 and H <= MaxHold;
procedure ShowActionMenu;
procedure ToggleGravity(This : in out Menu);
function GetMatName(This : Material) return String;
function GetLinkTypeName(This : LinkTypes) return String;
procedure GotoNextSolidMat(This : in out Menu)
with Post => IsSolidMaterial(EntCreatorMat);
procedure GotoNextMat(This : in out Menu);
procedure GotoNextLinkType(This : in out Menu);
function GetGravityStr return String;
procedure QuitDemo(This : in out Menu);
private
procedure SetLEDs(R, G : Boolean);
procedure TryToEditAt(W : in out World; X, Y : Integer);
procedure TryToLinkAt(W : in out World; X, Y : Integer);
end DemoLogic;
|
oeis/000/A000910.asm | neoneye/loda-programs | 11 | 18717 | ; A000910: 5*C(n,6).
; 0,0,0,0,0,0,5,35,140,420,1050,2310,4620,8580,15015,25025,40040,61880,92820,135660,193800,271320,373065,504735,672980,885500,1151150,1480050,1883700,2375100,2968875,3681405,4530960,5537840,6724520,8115800,9738960,11623920,13803405,16313115,19191900,22481940,26228930,30482270,35295260,40725300,46834095,53687865,61357560,69919080,79453500,90047300,101792600,114787400,129135825,144948375,162342180,181441260,202376790,225287370,250319300,277626860,307372595,339727605,374871840,412994400,454293840
bin $0,6
mul $0,5
|
extern/game_support/stm32f4/src/stm32f4-spi.ads | AdaCore/training_material | 15 | 252 | ------------------------------------------------------------------------------
-- --
-- Hardware Abstraction Layer for STM32 Targets --
-- --
-- Copyright (C) 2014, 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 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. --
-- --
-- As a special exception 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/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This file provides definitions for the STM32F4 (ARM Cortex M4F
-- from ST Microelectronics) Serial Peripheral Interface (SPI) facility.
package STM32F4.SPI is
type SPI_Port is limited private;
type SPI_Data_Direction is
(D2Lines_FullDuplex, D2Lines_RxOnly, D1Line_Rx, D1Line_Tx);
type SPI_Data_Size is (Data_16, Data_8);
type SPI_Mode is (Master, Slave);
type SPI_CLock_Polarity is (High, Low);
type SPI_CLock_Phase is (P1Edge, P2Edge);
type SPI_Slave_Management is (Soft, Hard);
type SPI_Baud_Rate_Prescaler is
(BRP_2, BRP_4, BRP_8, BRP_16, BRP_32, BRP_64, BRP_128, BRP_256);
type SPI_First_Bit is (MSB, LSB);
type SPI_Configuration is record
Direction : SPI_Data_Direction;
Mode : SPI_Mode;
Data_Size : SPI_Data_Size;
Clock_Polarity : SPI_Clock_Polarity;
Clock_Phase : SPI_Clock_Phase;
Slave_Management : SPI_Slave_Management;
Baud_Rate_Prescaler : SPI_Baud_Rate_Prescaler;
First_Bit : SPI_First_Bit;
CRC_Poly : Half_Word;
end record;
procedure Configure (Port : in out SPI_Port; Conf : SPI_Configuration);
procedure Enable (Port : in out SPI_Port);
procedure Disable (Port : in out SPI_Port);
function Enabled (Port : SPI_Port) return Boolean;
procedure Send (Port : in out SPI_Port; Data : Half_Word);
function Data (Port : SPI_Port) return Half_Word
with Inline;
procedure Send (Port : in out SPI_Port; Data : Byte);
function Data (Port : SPI_Port) return Byte
with Inline;
function Rx_Is_Empty (Port : SPI_Port) return Boolean
with Inline;
function Tx_Is_Empty (Port : SPI_Port) return Boolean
with Inline;
function Busy (Port : SPI_Port) return Boolean
with Inline;
function Channel_Side_Indicated (Port : SPI_Port) return Boolean
with Inline;
function Underrun_Indicated (Port : SPI_Port) return Boolean
with Inline;
function CRC_Error_Indicated (Port : SPI_Port) return Boolean
with Inline;
function Mode_Fault_Indicated (Port : SPI_Port) return Boolean
with Inline;
function Overrun_Indicated (Port : SPI_Port) return Boolean
with Inline;
function Frame_Fmt_Error_Indicated (Port : SPI_Port) return Boolean
with Inline;
private
type SPI_Control_Register is record
Clock_Phase : Bits_1;
Clock_Polarity : Bits_1;
Master_Select : Bits_1;
Baud_Rate_Ctrl : Bits_3;
SPI_Enable : Bits_1;
LSB_First : Bits_1; -- Frame Format
Slave_Select : Bits_1;
Soft_Slave_Mgt : Bits_1; -- Software Slave Management
RXOnly : Bits_1;
Data_Frame_Fmt : Bits_1; -- 1=16-bit 0=8-bit
CRC_Next : Bits_1; -- 1=CRC Phase 0=No CRC Phase
CRC_Enable : Bits_1;
Output_BiDir : Bits_1; -- Output enable in bidirectional mode
BiDir_Mode : Bits_1; -- Bidirectional data mode enable
end record with Pack, Volatile, Size => 16;
type SPI_Control_Register2 is record
RX_DMA_Enable : Bits_1;
TX_DMA_Enable : Bits_1;
SS_Out_Enable : Bits_1;
Reserved_1 : Bits_1;
Frame_Fmt : Bits_1; -- 0=Motorola Mode 1=TI Mode
Err_Int_Enable : Bits_1;
RX_Not_Empty_Int_Enable : Bits_1;
TX_Empty_Int_Enable : Bits_1;
Reserved_2 : Bits_8;
end record with Pack, Volatile, Size => 16;
type SPI_I2S_Config_Register is record
Channel_Length : Bits_1;
Data_Length : Bits_2;
Clock_Polarity : Bits_1;
I2S_Standard : Bits_2; -- 00==Philips 01=MSB (L) 10=LSB (R) 11=PCM
Reserved_1 : Bits_1;
PCM_Frame_Sync : Bits_1; -- 0=Short 1=Long
Config_Mode : Bits_2; -- 00=SlaveTX 01=SlaveRX 10=MasterTX11=MasterRX
Enable : Bits_1;
Mode_Select : Bits_1; -- 0=SPI Mode 1=I2S Mode
Reserved_2 : Bits_4;
end record with Pack, Volatile, Size => 16;
type SPI_I2S_Prescale_Register is record
Linear_Prescler : Bits_8;
Odd_Factor : Bits_1;
Master_CLK_Out_Enable : Bits_1;
Reserved : Bits_6;
end record with Pack, Volatile, Size => 16;
type SPI_Status_Register is record
RX_Buffer_Not_Empty : Boolean;
TX_Buffer_Empty : Boolean;
Channel_Side : Boolean;
Underrun_Flag : Boolean;
CRC_Error_Flag : Boolean;
Mode_Fault : Boolean;
Overrun_Flag : Boolean;
Busy_Flag : Boolean;
Frame_Fmt_Error : Boolean;
Reserved : Bits_7;
end record with Pack, Volatile, Size => 16;
type SPI_Port is record
CTRL1 : SPI_Control_Register;
Reserved_1 : Half_Word;
CTRL2 : SPI_Control_Register2;
Reserved_2 : Half_Word;
Status : SPI_Status_Register;
Reserved_3 : Half_Word;
Data : Half_Word;
Reserved_4 : Half_Word;
CRC_Poly : Half_Word; -- Default = 16#0007#
Reserved_5 : Half_Word;
RX_CRC : Half_Word;
Reserved_6 : Half_Word;
TX_CRC : Half_Word;
Reserved_7 : Half_Word;
I2S_Conf : SPI_I2S_Config_Register;
Reserved_8 : Half_Word;
I2S_PreScal : SPI_I2S_Prescale_Register;
Reserved_9 : Half_Word;
end record with Pack, Volatile, Size => 9 * 32;
end STM32F4.SPI;
|
dino/lcs/base/6BC9.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 93068 | <gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
016DC0 tst.b ($1,A6)
016DC4 beq $16dd0 [base+6BA9, base+6BB9, base+6BC9]
016DC8 subq.b #1, ($1,A6)
016DCC bra $16f28 [base+6BA9, base+6BB9, base+6BC9]
016DF0 move.b #$a, ($1,A6)
016DF6 move.b #$0, ($2,A6) [base+6BA9, base+6BB9, base+6BC9]
016E22 move.b #$a, ($1,A6)
016E28 move.b #$0, ($2,A6) [base+6BA9, base+6BB9, base+6BC9]
016E98 move.b #$3, ($1,A6)
016E9E move.b #$1, ($2,A6) [base+6BA9, base+6BB9, base+6BC9]
016F00 move.b #$a, ($1,A6)
016F06 move.b #$0, ($2,A6) [base+6BA9, base+6BB9, base+6BC9]
017278 move.b #$a, ($1,A6)
01727E move.b #$0, ($2,A6) [base+6BA9, base+6BB9, base+6BC9]
copyright zengfr site:http://github.com/zengfr/romhack
|
asm/loop.asm | dspinellis/effective-debugging | 36 | 2037 | <reponame>dspinellis/effective-debugging
_DATA SEGMENT ; Data area
$SG2748 DB '%d', 0aH, 00H ; printf format string
_DATA ENDS
PUBLIC _main ; Export main
EXTRN _printf:PROC ; Import printf
_TEXT SEGMENT ; Code area
_i$ = -4 ; Stack offset where i is stored
_main PROC
push ebp ; Function entry boilerplate
mov ebp, esp
push ecx
mov DWORD PTR _i$[ebp], 0 ; i = 0
jmp SHORT $LN3@main ; Jump to loop's end
$LN2@main: ; Loop's top label
mov eax, DWORD PTR _i$[ebp] ; Get i into register eax
add eax, 1 ; Increment by one
mov DWORD PTR _i$[ebp], eax ; Store eax back to i
$LN3@main: ; Loop's end label
cmp DWORD PTR _i$[ebp], 10 ; Compare i to 10
jge SHORT $LN1@main ; If greater or equal
; terminate loop
mov ecx, DWORD PTR _i$[ebp] ; Get i into register ecx
push ecx ; Push ecx as argument to printf
push OFFSET $SG2748 ; Push printf format string
; argument
call _printf ; Call printf
add esp, 8 ; Free pushed printf arguments
jmp SHORT $LN2@main ; Jump to loop's top
$LN1@main: ; Loop's exit label
xor eax, eax ; Zero eax as main's return value
mov esp, ebp ; Function exit boilerplate
pop ebp
ret 0
_main ENDP
_TEXT ENDS
END
|
archive/agda-1/IsLiteralSequent.agda | m0davis/oscar | 0 | 320 | <gh_stars>0
module IsLiteralSequent where
open import OscarPrelude
open import Sequent
open import IsLiteralFormula
record IsLiteralSequent (Φ : Sequent) : Set
where
constructor _╱_
field
isLiteralStatement : IsLiteralFormula (statement Φ)
isLiteralSuppositions : All IsLiteralFormula (suppositions Φ)
open IsLiteralSequent public
instance EqIsLiteralSequent : ∀ {Φ} → Eq (IsLiteralSequent Φ)
Eq._==_ EqIsLiteralSequent ( φᵗ₁ ╱ φˢs₁ ) ( φᵗ₂ ╱ φˢs₂ ) = decEq₂ (cong isLiteralStatement) (cong isLiteralSuppositions) (φᵗ₁ ≟ φᵗ₂) (φˢs₁ ≟ φˢs₂)
|
savefile/maps/2275_GlitchlandMansion.asm | stranck/fools2018-1 | 35 | 11878 | <reponame>stranck/fools2018-1
SECTION "Map_2275", ROM0[$B800]
Map_2275_Header:
hdr_tileset 22
hdr_dimensions 11, 8
hdr_pointers_a Map_2275_Blocks, Map_2275_TextPointers
hdr_pointers_b Map_2275_Script, Map_2275_Objects
hdr_pointers_c Map_2275_InitScript, Map_2275_RAMScript
hdr_palette $08
hdr_music MUSIC_CINNABAR_MANSION, AUDIO_3
hdr_connection NORTH, $0000, 0, 0
hdr_connection SOUTH, $0000, 0, 0
hdr_connection WEST, $0000, 0, 0
hdr_connection EAST, $0000, 0, 0
Map_2275_Objects:
hdr_border $2e
hdr_warp_count 5
hdr_warp 3, 2, 2, 9, $2276
hdr_warp 7, 15, 4, 6, $223A
hdr_warp 6, 15, 4, 6, $223A
hdr_warp 5, 15, 4, 6, $223A
hdr_warp 4, 15, 4, 6, $223A
hdr_sign_count 1
hdr_signpost 14, 13, $02
hdr_object_count 1
hdr_object SPRITE_HIKER, 11, 3, STAY, NONE, $01
Map_2275_RAMScript:
rs_end
Map_2275_Blocks:
db $3c,$3d,$3d,$3d,$3d,$3c,$3d,$3d,$3d,$3d,$3e
db $44,$6e,$35,$35,$35,$44,$06,$07,$53,$0e,$5d
db $50,$49,$49,$58,$2d,$48,$49,$49,$4a,$0e,$5d
db $44,$0e,$3f,$3b,$0e,$0e,$52,$0e,$0e,$0e,$5d
db $44,$11,$3f,$3b,$0a,$0e,$12,$0e,$47,$0e,$66
db $44,$11,$3f,$3b,$0a,$0e,$12,$0b,$0e,$0e,$46
db $44,$11,$3f,$3b,$0a,$0e,$55,$77,$0e,$47,$46
db $48,$58,$3f,$3b,$57,$49,$49,$49,$49,$49,$4a
Map_2275_TextPointers:
dw Map_2275_TX1
dw Map_2275_TX2
Map_2275_InitScript:
ld hl, Map_2275_ReturnCoords
call ArePlayerCoordsInArray
ret nc
ld a, $0e
ld [$c744], a
ret
Map_2275_Script:
ret
Map_2275_ReturnCoords:
db 2, 3, $ff
Map_2275_TX1:
TX_ASM
jp EnhancedTextOnly
text "This place has a very"
next "unsettling atmosphere..."
para "Well, how do you get"
next "upstairs? I think there"
cont "must be a switch somewhere."
done
Map_2275_TX2:
TX_ASM
ld a, $0e
ld [$c744], a
ld hl, .txt
call PrintTextEnhanced
jp TextScriptEnd
.txt
text "A secret switch."
para "You pressed it."
tx_snd SFX_SWITCH
done
|
boot/BIOS/stage_1/boot_loader.asm | Andrispowq/HackOS | 10 | 95333 | [org 0x7C00]
[bits 16]
global _start
; Jump across the BPB
jmp short _start
nop
; The BIOS parameter block
FAT32_OSName db "Hack OS"
FAT32_BytesPerSector dw 0
FAT32_SectorsPerCluster db 0
FAT32_ReservedSectors dw 0
FAT32_NumFATs db 0
FAT32_RootEntries dw 0
FAT32_TotalSectors dw 0
FAT32_MediaType db 0
FAT32_SectorsPerFat dw 0
FAT32_SectorsPerTrack dw 0
FAT32_HeadsPerCylinder dw 0
FAT32_HiddenSectors dd 0
FAT32_LargeTotalSectors dd 0
; The extension block
FAT32_SectorsPerFAT32 dd 0
FAT32_Flags dw 0
FAT32_Version dw 0
FAT32_RootDirStart dd 0
FAT32_FSInfoSector dw 0
FAT32_BackupBootSector dw 0
; Reserved
FAT32_Reserved0 dd 0 ;FirstDataSector
FAT32_Reserved1 dd 0 ;ReadCluster
FAT32_Reserved2 dd 0 ;ReadCluster
FAT32_PhysicalDriveNum db 0
FAT32_Reserved3 db 0
FAT32_BootSignature db 0
FAT32_VolumeSerial dd 0
FAT32_VolumeLabel db "HACKOS PART" ; 11 bytes
FAT32_FSName db "FAT32 " ; 8 bytes
_start:
cli
xor ax, ax
mov ss, ax
mov sp, ax
mov ds, ax
mov es, ax
jmp 0x0:safe_start
safe_start:
mov [BootDrive], dl ; Remember that the BIOS sets us the boot drive in 'dl' on boot
mov sp, 0x7C00 ; set the stack
mov bp, sp
sti
call EnableA20
mov bx, BootLoaderString
call Print
call PrintHex
call PrintLn
; Load the second stage: from LBA 2, size 64
mov ax, 2
mov bx, KernelOffset
mov cx, 64
mov dl, [BootDrive]
call ReadDisk
jmp 0x0:KernelOffset
jmp $
%include "print.asm"
%include "disk_reader.asm"
%include "a20_gate.asm"
KernelOffset: equ 0x8000
BootDrive: db 0
BootLoaderString: db "HackOS bootloader loaded! Disk: ", 0x00
times 510 - ($ - $$) nop
dw 0xAA55 |
extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads | AdaCore/training_material | 15 | 27864 | <filename>extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package xopintrin_h is
-- Copyright (C) 2007-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/>.
-- Integer multiply/add instructions.
-- skipped func _mm_maccs_epi16
-- skipped func _mm_macc_epi16
-- skipped func _mm_maccsd_epi16
-- skipped func _mm_maccd_epi16
-- skipped func _mm_maccs_epi32
-- skipped func _mm_macc_epi32
-- skipped func _mm_maccslo_epi32
-- skipped func _mm_macclo_epi32
-- skipped func _mm_maccshi_epi32
-- skipped func _mm_macchi_epi32
-- skipped func _mm_maddsd_epi16
-- skipped func _mm_maddd_epi16
-- Packed Integer Horizontal Add and Subtract
-- skipped func _mm_haddw_epi8
-- skipped func _mm_haddd_epi8
-- skipped func _mm_haddq_epi8
-- skipped func _mm_haddd_epi16
-- skipped func _mm_haddq_epi16
-- skipped func _mm_haddq_epi32
-- skipped func _mm_haddw_epu8
-- skipped func _mm_haddd_epu8
-- skipped func _mm_haddq_epu8
-- skipped func _mm_haddd_epu16
-- skipped func _mm_haddq_epu16
-- skipped func _mm_haddq_epu32
-- skipped func _mm_hsubw_epi8
-- skipped func _mm_hsubd_epi16
-- skipped func _mm_hsubq_epi32
-- Vector conditional move and permute
-- skipped func _mm_cmov_si128
-- skipped func _mm_perm_epi8
-- Packed Integer Rotates and Shifts
-- Rotates - Non-Immediate form
-- skipped func _mm_rot_epi8
-- skipped func _mm_rot_epi16
-- skipped func _mm_rot_epi32
-- skipped func _mm_rot_epi64
-- Rotates - Immediate form
-- Shifts
-- skipped func _mm_shl_epi8
-- skipped func _mm_shl_epi16
-- skipped func _mm_shl_epi32
-- skipped func _mm_shl_epi64
-- skipped func _mm_sha_epi8
-- skipped func _mm_sha_epi16
-- skipped func _mm_sha_epi32
-- skipped func _mm_sha_epi64
-- Compare and Predicate Generation
-- pcom (integer, unsigned bytes)
-- skipped func _mm_comlt_epu8
-- skipped func _mm_comle_epu8
-- skipped func _mm_comgt_epu8
-- skipped func _mm_comge_epu8
-- skipped func _mm_comeq_epu8
-- skipped func _mm_comneq_epu8
-- skipped func _mm_comfalse_epu8
-- skipped func _mm_comtrue_epu8
--pcom (integer, unsigned words)
-- skipped func _mm_comlt_epu16
-- skipped func _mm_comle_epu16
-- skipped func _mm_comgt_epu16
-- skipped func _mm_comge_epu16
-- skipped func _mm_comeq_epu16
-- skipped func _mm_comneq_epu16
-- skipped func _mm_comfalse_epu16
-- skipped func _mm_comtrue_epu16
--pcom (integer, unsigned double words)
-- skipped func _mm_comlt_epu32
-- skipped func _mm_comle_epu32
-- skipped func _mm_comgt_epu32
-- skipped func _mm_comge_epu32
-- skipped func _mm_comeq_epu32
-- skipped func _mm_comneq_epu32
-- skipped func _mm_comfalse_epu32
-- skipped func _mm_comtrue_epu32
--pcom (integer, unsigned quad words)
-- skipped func _mm_comlt_epu64
-- skipped func _mm_comle_epu64
-- skipped func _mm_comgt_epu64
-- skipped func _mm_comge_epu64
-- skipped func _mm_comeq_epu64
-- skipped func _mm_comneq_epu64
-- skipped func _mm_comfalse_epu64
-- skipped func _mm_comtrue_epu64
--pcom (integer, signed bytes)
-- skipped func _mm_comlt_epi8
-- skipped func _mm_comle_epi8
-- skipped func _mm_comgt_epi8
-- skipped func _mm_comge_epi8
-- skipped func _mm_comeq_epi8
-- skipped func _mm_comneq_epi8
-- skipped func _mm_comfalse_epi8
-- skipped func _mm_comtrue_epi8
--pcom (integer, signed words)
-- skipped func _mm_comlt_epi16
-- skipped func _mm_comle_epi16
-- skipped func _mm_comgt_epi16
-- skipped func _mm_comge_epi16
-- skipped func _mm_comeq_epi16
-- skipped func _mm_comneq_epi16
-- skipped func _mm_comfalse_epi16
-- skipped func _mm_comtrue_epi16
--pcom (integer, signed double words)
-- skipped func _mm_comlt_epi32
-- skipped func _mm_comle_epi32
-- skipped func _mm_comgt_epi32
-- skipped func _mm_comge_epi32
-- skipped func _mm_comeq_epi32
-- skipped func _mm_comneq_epi32
-- skipped func _mm_comfalse_epi32
-- skipped func _mm_comtrue_epi32
--pcom (integer, signed quad words)
-- skipped func _mm_comlt_epi64
-- skipped func _mm_comle_epi64
-- skipped func _mm_comgt_epi64
-- skipped func _mm_comge_epi64
-- skipped func _mm_comeq_epi64
-- skipped func _mm_comneq_epi64
-- skipped func _mm_comfalse_epi64
-- skipped func _mm_comtrue_epi64
-- FRCZ
-- skipped func _mm_frcz_ps
-- skipped func _mm_frcz_pd
-- skipped func _mm_frcz_ss
-- skipped func _mm_frcz_sd
-- skipped func _mm256_frcz_ps
-- skipped func _mm256_frcz_pd
-- PERMIL2
end xopintrin_h;
|
asm/x86_64/functions.asm | sweetporkbones/scratchpad | 9 | 161025 | <reponame>sweetporkbones/scratchpad
section .rodata
hello: db "Hello, World! %d", 10
section .text
extern printf
extern exit
global _start
_start:
mov rdi, 0
call hello_world
call exit
hello_world:
; init stuff
push rbp
mov rbp, rsp
; main code
mov al, 0 ; supposedly important for varargs
mov rsi, 42
mov rdi, hello
call printf
; cleanup
pop rbp
ret
|
ruby-antlr-hash-2-json/src/main/antlr/ua/k/co/play/rah2j/Keywords.g4 | msangel/playground | 0 | 2118 | grammar Keywords;
@lexer::header { // place this header action only in lexer, not the parser
import java.util.*;
}
// explicitly define keyword token types to avoid implicit def warnings
tokens { BEGIN, END, IF, THEN, WHILE }
@lexer::members { // place this class member only in lexer
Map<String,Integer> keywords = new HashMap<String,Integer>() {{
put("begin", KeywordsParser.BEGIN);
put("end", KeywordsParser.END);
put("if", KeywordsParser.IF);
put("then", KeywordsParser.THEN);
put("while", KeywordsParser.WHILE);
}};
}
stat: BEGIN stat* END
| IF expr THEN stat
| WHILE expr stat
| ID '=' expr ';'
;
expr: INT | CHAR ;
ID : [a-zA-Z]+
{
if ( keywords.containsKey(getText()) ) {
setType(keywords.get(getText())); // reset token type
}
}
;
/** Convert 3-char 'x' input sequence to string x */
CHAR: '\'' . '\'' {setText( String.valueOf(getText().charAt(1)) );} ;
INT : [0-9]+ ;
WS : [ \t\n\r]+ -> skip ;
|
src/ada-core/src/linted-lock_free_queue.ads | mstewartgallus/linted | 0 | 27564 | <filename>src/ada-core/src/linted-lock_free_queue.ads
-- Copyright 2017 <NAME>
--
-- 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.
generic
type Element_T is private;
type Ix is mod <>;
with function Is_Valid (Element : Element_T) return Boolean;
package Linted.Lock_Free_Queue with
Initializes => (State),
Abstract_State => (State with External) is
pragma Elaborate_Body;
procedure Try_Enqueue (Element : Element_T; Success : out Boolean) with
Global => (In_Out => State),
Depends => (State =>+ Element, Success => State),
Pre => Is_Valid (Element);
procedure Try_Dequeue (Element : out Element_T; Success : out Boolean) with
Global => (In_Out => State),
Depends => (State =>+ null, Element => State, Success => State),
Post => (if Success then Is_Valid (Element));
end Linted.Lock_Free_Queue;
|
ada-blinky-sfp/src/main.adb | hfegran/efx32_ada_examples | 0 | 29503 | <filename>ada-blinky-sfp/src/main.adb
with Ada.Real_time; use Ada.Real_Time;
with Leds; use Leds;
procedure Main is
Duration : constant Time_Span := Milliseconds(100);
begin
Led_Init;
loop
Blink(LED0, Blue, Duration);
Blink(LED1, Green, Duration);
Blink(LED0, Cyan, Duration);
Blink(LED1, Red, Duration);
Blink(LED0, Magenta, Duration);
Blink(LED1, Yellow, Duration);
Blink(LED0, White, Duration);
Blink(LED1, Blue, Duration);
Blink(LED0, Green, Duration);
Blink(LED1, Cyan, Duration);
Blink(LED0, Red, Duration);
Blink(LED1, Magenta, Duration);
Blink(LED0, Yellow, Duration);
Blink(LED1, White, Duration);
end loop;
end Main;
|
include/sf-graphics-glsl.ads | Fabien-Chouteau/ASFML | 0 | 27179 | <gh_stars>0
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the use of this software.
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it freely,
-- subject to the following restrictions:
-- 1. The origin of this software must not be misrepresented;
-- you must not claim that you wrote the original software.
-- If you use this software in a product, an acknowledgment
-- in the product documentation would be appreciated but is not required.
-- 2. Altered source versions must be plainly marked as such,
-- and must not be misrepresented as being the original software.
-- 3. This notice may not be removed or altered from any source distribution.
--//////////////////////////////////////////////////////////
--//////////////////////////////////////////////////////////
with Sf.System.Vector2;
with Sf.System.Vector3;
package Sf.Graphics.Glsl is
--//////////////////////////////////////////////////////////
--//////////////////////////////////////////////////////////
--//////////////////////////////////////////////////////////
--//////////////////////////////////////////////////////////
-- 2D vectors
subtype sfGlslVec2 is Sf.System.Vector2.sfVector2f;
subtype sfGlslIvec2 is Sf.System.Vector2.sfVector2i;
type sfGlslBvec2 is record
x : aliased sfBool;
y : aliased sfBool;
end record;
-- 3D vectors
subtype sfGlslVec3 is Sf.System.Vector3.sfVector3f;
type sfGlslIvec3 is record
x : aliased sfInt32;
y : aliased sfInt32;
z : aliased sfInt32;
end record;
type sfGlslBvec3 is record
x : aliased sfBool;
y : aliased sfBool;
z : aliased sfBool;
end record;
-- 4D vectors
type sfGlslVec4 is record
x : aliased float;
y : aliased float;
z : aliased float;
w : aliased float;
end record;
type sfGlslIvec4 is record
x : aliased sfInt32;
y : aliased sfInt32;
z : aliased sfInt32;
w : aliased sfInt32;
end record;
type sfGlslBvec4 is record
x : aliased sfBool;
y : aliased sfBool;
z : aliased sfBool;
w : aliased sfBool;
end record;
-- matrices
type sfGlslMat3_c_array_array is array (0 .. 8) of aliased float;
type sfGlslMat3 is record
c_array : aliased sfGlslMat3_c_array_array;
end record;
type sfGlslMat4_c_array_array is array (0 .. 15) of aliased float;
type sfGlslMat4 is record
c_array : aliased sfGlslMat4_c_array_array;
end record;
private
pragma Convention (C_Pass_By_Copy, sfGlslBvec2);
pragma Convention (C_Pass_By_Copy, sfGlslIvec3);
pragma Convention (C_Pass_By_Copy, sfGlslBvec3);
pragma Convention (C_Pass_By_Copy, sfGlslVec4);
pragma Convention (C_Pass_By_Copy, sfGlslIvec4);
pragma Convention (C_Pass_By_Copy, sfGlslBvec4);
pragma Convention (C_Pass_By_Copy, sfGlslMat3);
pragma Convention (C_Pass_By_Copy, sfGlslMat4);
end Sf.Graphics.Glsl;
|
source/gmp-z-inside.ads | ytomino/gmp-ada | 4 | 19579 | with Ada.Streams;
with C.gmp;
package GMP.Z.Inside is
pragma Preelaborate;
function Reference (X : in out MP_Integer)
return not null access C.gmp.mpz_struct;
function Constant_Reference (X : MP_Integer)
return not null access constant C.gmp.mpz_struct;
pragma Inline (Reference); -- renamed
pragma Inline (Constant_Reference); -- renamed
procedure Read (
Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : not null access C.gmp.mpz_struct);
procedure Write (
Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : not null access constant C.gmp.mpz_struct);
pragma Inline (Read); -- renamed
pragma Inline (Write); -- renamed
private
function Reference (X : in out MP_Integer)
return not null access C.gmp.mpz_struct
renames Controlled.Reference;
function Constant_Reference (X : MP_Integer)
return not null access constant C.gmp.mpz_struct
renames Controlled.Constant_Reference;
procedure Read (
Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : not null access C.gmp.mpz_struct)
renames Z.Read;
procedure Write (
Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Item : not null access constant C.gmp.mpz_struct)
renames Z.Write;
end GMP.Z.Inside;
|
libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_base10.asm | Frodevan/z88dk | 640 | 100287 | <filename>libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_base10.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48__dtoa_base10
EXTERN am48_dmulpow10, am48_dmul10a, mm48__right
am48__dtoa_base10:
; convert double from standard form "a * 2^n"
; to a form multiplied by power of 10 "b * 10^e"
; where 1 <= b < 10 with b in double format
;
; mainly original math48 code
;
; enter : AC'= double x, x positive
;
; exit : AC'= b where 1 <= b < 10 all mantissa bits only
; C = max number of significant decimal digits (11)
; D = base 10 exponent e
;
; uses : af, bc, de, hl, af', bc', de', hl'
; x = a * 2^n = b * 10^e
; e = n * log(2) = n * 0.301.. = n * 0.01001101...(base 2) = INT((n*77 + 5)/256)
exx
ld a,l
exx
; A = n (binary exponent)
; AC'= x
sub $80 ; remove bias
ld l,a
sbc a,a
ld h,a ; hl = signed n
push hl ; save n
add hl,hl
add hl,hl
push hl ; save 4*n
add hl,hl
ld c,l
ld b,h ; bc = 8*n
add hl,hl
add hl,hl
add hl,hl ; hl = 64*n
add hl,bc
pop bc
add hl,bc
pop bc
add hl,bc ; hl = 77*n
ld bc,5
add hl,bc ; rounding fudge factor
ld a,h ; a = INT((77*n+5)/256)
cp -39
jr nz, no_correction
inc a
no_correction:
push af ; save exponent e
neg
call nz, am48_dmulpow10 ; x *= 10^-e
pop de ; d = exponent e
exx
; AC = b
; D'= exponent e
ld a,l
cp $80+1 ; remaining fraction part < 1 ?
jr nc, align_digit ; if no
exx
; AC'= b
; D = exponent e
dec d ; e--
call am48_dmul10a ; b *= 10
exx
align_digit:
; AC = b, 1 < b < 10
; D'= exponent e
; there is one decimal digit in four bits of AC
; align these bits so they are the first four in register B
set 7,b ; restore mantissa bit
ld a,$80+4
sub l
ld l,0
jr z, rotation_done ; if exponent is 4
digit_loop:
call mm48__right ; shift mantissa bits right
rr l
dec a
jr nz, digit_loop
rotation_done:
exx
ld c,11 ; max significant digits
ret
|
programs/oeis/068/A068962.asm | jmorken/loda | 1 | 240348 | ; A068962: Number of successive terms of A028356 that add to n; or length of n-th term of A028355.
; 1,1,1,1,2,3,2,4,3,4,5,5,5,5,6,7,7,7,7,8,9,8,10,9,10,11,11,11,11,12,13,13,13,13,14,15,14,16,15,16,17,17,17,17,18,19,19,19,19,20,21,20,22,21,22,23,23,23,23,24,25,25,25,25,26,27,26,28,27,28,29,29,29,29,30,31,31,31,31,32,33,32,34,33,34,35,35,35,35,36,37,37,37,37,38,39,38,40,39,40,41,41,41,41,42,43,43,43,43,44,45,44,46,45,46,47,47,47,47,48,49,49,49,49,50,51,50,52,51,52,53,53,53,53,54,55,55,55,55,56,57,56,58,57,58,59,59,59,59,60,61,61,61,61,62,63,62,64,63,64,65,65,65,65,66,67,67,67,67,68,69,68,70,69,70,71,71,71,71,72,73,73,73,73,74,75,74,76,75,76,77,77,77,77,78,79,79,79,79,80,81,80,82,81,82,83,83,83,83,84,85,85,85,85,86,87,86,88,87,88,89,89,89,89,90,91,91,91,91,92,93,92,94,93,94,95,95,95,95,96,97,97,97,97,98,99,98,100,99,100
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,1
add $0,$3
sub $0,1
cal $0,109340 ; Expansion of x^2*(1+x+4*x^2)/((1+x+x^2)*(1-x)^3).
mov $2,$3
mov $4,$0
div $4,5
lpb $2
mov $1,$4
sub $2,1
lpe
lpe
lpb $5
sub $1,$4
mov $5,0
lpe
add $1,1
|
agda-rr/ett-rr.agda | kyoDralliam/exceptional-tt | 0 | 11678 | {-# OPTIONS --rewriting --prop --confluence-check #-}
open import Agda.Primitive
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.List
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
open import Agda.Builtin.Sigma
open import Agda.Builtin.Unit
open import Data.Vec.Base
open import Data.Bool
open import Data.Sum
variable ℓ ℓ₁ ℓ₂ ℓ₃ ℓ₄ : Level
{-
Axiomatisation of ExTT
-}
postulate raise : (A : Set ℓ) → A
-- we now state rewrite rules for raise
postulate raise-Pi : (A : Set ℓ) (B : A → Set ℓ₁) →
raise ((a : A) → B a) ≡ λ a → raise (B a)
{-# REWRITE raise-Pi #-}
postulate raise-Sigma : (A : Set ℓ) (B : A → Set ℓ₁) →
raise (Σ A B) ≡ (raise A , raise (B (raise A)))
{-# REWRITE raise-Sigma #-}
nat-rec : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) → (n : Nat) → P n
nat-rec P P0 PS zero = P0
nat-rec P P0 PS (suc n) = PS n (nat-rec P P0 PS n)
postulate raise-nat-rec : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) →
nat-rec P P0 PS (raise Nat) ≡ raise (P (raise Nat))
{-# REWRITE raise-nat-rec #-}
postulate catch-nat : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) →
(Praise : P (raise Nat)) → (n : Nat) → P n
postulate catch-nat-zero : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) →
(Praise : P (raise Nat)) → catch-nat P P0 PS Praise 0 ≡ P0
postulate catch-nat-suc : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) →
(Praise : P (raise Nat)) → (n : Nat) →
catch-nat P P0 PS Praise (suc n) ≡ PS n (catch-nat P P0 PS Praise n)
postulate catch-nat-raise : (P : Nat → Set ℓ) (P0 : P 0) (PS : (n : Nat) → P n → P (suc n)) →
(Praise : P (raise Nat)) → catch-nat P P0 PS Praise (raise Nat) ≡ Praise
{-# REWRITE catch-nat-zero #-}
{-# REWRITE catch-nat-suc #-}
{-# REWRITE catch-nat-raise #-}
record Unk ℓ : Set (lsuc ℓ) where
constructor box
field
type : Set ℓ
elem : type
postulate raise-Unk : ∀ ℓ → raise (Unk ℓ) ≡ box (raise (Set ℓ)) (raise _)
{-# REWRITE raise-Unk #-}
|
oeis/154/A154806.asm | neoneye/loda-programs | 11 | 22083 | <filename>oeis/154/A154806.asm
; A154806: Numbers such that every run length in base 2 is 4.
; 15,240,3855,61680,986895,15790320,252645135,4042322160,64677154575,1034834473200,16557351571215,264917625139440,4238682002231055,67818912035696880,1085102592571150095,17361641481138401520
mul $0,2
seq $0,83589 ; Expansion of 1/((1-4*x)*(1-x^4)).
mul $0,15
|
test/Succeed/Issue4267.agda | cruhland/agda | 1,989 | 10034 | <reponame>cruhland/agda
-- Andreas, 2019-12-08, issue #4267, reported and test case by csattler
-- Problem: definitions from files (A1) imported by a module
-- (Issue4267) may leak into the handling of an independent module
-- (B).
-- The root issue here is that having a signature stImports that
-- simply accumulates the signatures of all visited modules is
-- unhygienic.
module Issue4267 where
open import Issue4267.A0
open import Issue4267.A1 -- importing A1 here (in main) affects how B is type-checked
open import Issue4267.B
-- After the fix of #4267, these imports should succeed without unsolved metas.
|
src/third_party/nasm/test/riprel2.asm | Mr-Sheep/naiveproxy | 2,219 | 243548 | ;Testname=unoptimized; Arguments=-fbin -oriprel2.bin -O0; Files=stdout stderr riprel.bin
;Testname=optimized; Arguments=-fbin -oriprel2.bin -Ox; Files=stdout stderr riprel.bin
bits 64
default rel
mov dword [foo],12345678h
mov qword [foo],12345678h
mov [foo],rax
mov dword [foo],12345678h
foo:
|
Cubical/Data/FinSet/FiniteChoice.agda | howsiyu/cubical | 0 | 1056 | {-
Axiom of Finite Choice
- Yep, it's a theorem actually.
-}
{-# OPTIONS --safe #-}
module Cubical.Data.FinSet.FiniteChoice where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv renaming (_∙ₑ_ to _⋆_)
open import Cubical.HITs.PropositionalTruncation as Prop
open import Cubical.Data.Nat
open import Cubical.Data.Unit
open import Cubical.Data.Empty
open import Cubical.Data.Sum
open import Cubical.Data.Sigma
open import Cubical.Data.SumFin
open import Cubical.Data.FinSet.Base
open import Cubical.Data.FinSet.Properties
private
variable
ℓ ℓ' : Level
choice≃Fin :
{n : ℕ}(Y : Fin n → Type ℓ) → ((x : Fin n) → ∥ Y x ∥) ≃ ∥ ((x : Fin n) → Y x) ∥
choice≃Fin {n = 0} Y =
isContr→≃Unit (isContrΠ⊥)
⋆ Unit≃Unit*
⋆ invEquiv (propTruncIdempotent≃ isPropUnit*)
⋆ propTrunc≃ (invEquiv (isContr→≃Unit* (isContrΠ⊥ {A = Y})))
choice≃Fin {n = suc n} Y =
Π⊎≃
⋆ Σ-cong-equiv-fst (ΠUnit (λ x → ∥ Y (inl x) ∥))
⋆ Σ-cong-equiv-snd (λ _ → choice≃Fin {n = n} (λ x → Y (inr x)))
⋆ Σ-cong-equiv-fst (propTrunc≃ (invEquiv (ΠUnit (λ x → Y (inl x)))))
⋆ ∥∥-×-≃
⋆ propTrunc≃ (invEquiv (Π⊎≃ {E = Y}))
module _
(X : Type ℓ)(p : isFinOrd X)
(Y : X → Type ℓ') where
private
e = p .snd
choice≃' : ((x : X) → ∥ Y x ∥) ≃ ∥ ((x : X) → Y x) ∥
choice≃' =
equivΠ {B' = λ x → ∥ Y (invEq e x) ∥} e (transpFamily p)
⋆ choice≃Fin _
⋆ propTrunc≃ (invEquiv (equivΠ {B' = λ x → Y (invEq e x)} e (transpFamily p)))
module _
(X : FinSet ℓ)
(Y : X .fst → Type ℓ') where
choice≃ : ((x : X .fst) → ∥ Y x ∥) ≃ ∥ ((x : X .fst) → Y x) ∥
choice≃ =
Prop.rec
(isOfHLevel≃ 1 (isPropΠ (λ x → isPropPropTrunc)) isPropPropTrunc)
(λ p → choice≃' (X .fst) (_ , p) Y) (X .snd .snd)
choice : ((x : X .fst) → ∥ Y x ∥) → ∥ ((x : X .fst) → Y x) ∥
choice = choice≃ .fst
|
oeis/192/A192146.asm | neoneye/loda-programs | 11 | 175678 | ; A192146: 1-sequence of reduction of pentagonal numbers sequence by x^2 -> x+1.
; Submitted by <NAME>
; 0,5,17,61,166,421,981,2177,4634,9564,19244,37934,73502,140373,264783,494143,913618,1675387,3050075,5516865,9920880,17747270,31597272,56013036,98903436,174003461,305107901,533345617,929655934,1616151649
lpb $0
add $0,1
mov $2,$0
seq $2,118658 ; a(n) = 2*F(n-1) = L(n) - F(n), where F(n) and L(n) are Fibonacci and Lucas numbers respectively.
mov $3,$0
sub $0,1
mul $2,$3
mov $3,$0
mul $0,3
add $0,2
mul $2,$0
mov $0,$3
sub $0,1
add $1,$2
lpe
mov $0,$1
div $0,4
|
source/libgela/gela-containers-vectors.ads | faelys/gela-asis | 4 | 2979 | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- - - - - - - - - - - - - - - - --
-- Read copyright and license at the end of this file --
------------------------------------------------------------------------------
-- $Revision: 209 $ $Date: 2013-11-30 21:03:24 +0200 (Сб., 30 нояб. 2013) $
-- Purpose:
generic
type Item_Type is private;
type Index_Type is range <>;
package Gela.Containers.Vectors is
pragma Preelaborate;
type Vector is private;
procedure Add
(Object : in out Vector;
Item : in Item_Type);
procedure Clear (Object : in out Vector);
procedure Free (Object : in out Vector);
function Length (Object : Vector) return Index_Type'Base;
function Get (Object : Vector; Index : Index_Type) return Item_Type;
procedure Set
(Object : in out Vector;
Index : in Index_Type;
Item : in Item_Type);
procedure Copy
(Target : in out Vector;
Source : in Vector);
private
type Vector_Node;
type Vector is access all Vector_Node;
Default_Size : constant Index_Type := 8 * 4096 / Item_Type'Size;
type Table is array (Index_Type range <>) of Item_Type;
type Vector_Node (Size : Index_Type) is record
Data : Table (1 .. Size);
Last : Index_Type'Base := 0;
Next : Vector;
end record;
end Gela.Containers.Vectors;
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <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.
-- * Neither the name of the <NAME>, 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 OWNER 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.
------------------------------------------------------------------------------
|
0-env_std_tester/test.asm | brown9804/Dragon12_MC9S12DP256 | 0 | 168503 | <reponame>brown9804/Dragon12_MC9S12DP256<gh_stars>0
; Test.asm --- Test program for DRAGON12-Plus2 Rev. A board
; (c)2012, EVBplus.com
; Author: <NAME>
; Date: 4/12/12
;
; The new Dragon12-Plus2 board added a 3.3V power supply, a Micro SD memory
; card holder, Bluetooth, Xbee and Nordic nRF24L01+ wireless interfaces.
; It also provides Arduino Shield Compatible headers and an automatic power
; switching circuit for selecting power from USB port or external AC
; adapter.
;
;
; Functions: This is the factory test program for checking on-board
; hardware only. It's not intended for teaching a user how to
; write HCS12 code. In fact it was ported from our 68HC11
; test program, so most instructions were written in 68HC11 code.
;
; It displays states of the DIP switch SW1 and the
; pushbuttons SW2(PH3)-SW5(PH0) of port H on the 8 LEDs of port B.
;
; It checks the IR detector and display the result on the LCD
; display.
;
; It turns on and off the LED D13 via the capactive touch switch.
; It scans the keypad and displays the key number on the
; 7-segment LED display while playing a song. It allows to
; adjust the trimmer pot to change LED display's brightness.
;
; The shifting speed of the 7-segment display is controlled by
; the photosensor Q1(the darker ambient light, the faster shifting),
;
; The music playing tempo is controlled by the temperature sensor U14,
; (the hotter temp, the slower tempo).
;
; Instructions:
; Before running the test program, place all individual DIP
; switches of the SW1 at upper (north) positions.
;
; 1. After running the test program, test each individual switch and
; see the corresponding LED indicator on the PB0-PB7.
; LCD display shows: "PRESS SW2 & SW5 "
; "WHEN 8DIP-SWs UP"
;
; 2. Test the pushbutton switches PH0-PH3 only when all
; PH0-PH3 switches on the DIP switch SW1 are in the upper positions.
; LCD display shows: "PRESS SW2 & SW5 "
; "WHEN 8DIP-SWs UP"
;
; 3. When all individual DIP switches of the SW1 in the upper postions.
; Press the pushbutton switches SW2 and SW5 simultaneously, and the
; music should come out. The hex number 0 to F should be
; shifting out on the 7 segment LED display.
; LCD display shows: "TEST IR DETECTOR"
; " NO IR DETECTED "
; 4. Adjust the trimmer pot, the 7 segment LED display's brightness
; should change. If you press any key on the keypad, the 7 segment
; display will display the key number that you pressed.
; The key number 2 will turn on the relay.
; LCD display shows: "TEST IR DETECTOR"
; " NO IR DETECTED "
; 5. Get a TV remote control, point it to the IR detector and press down
; any button on the remote control, the RX LED next to the IR detector
; should come on, then observe the message on the LCD display.
; LCD display shows: "TEST IR DETECTOR"
; " IR DETECTED "
;
; 6. Place your hand over the photosensor Q1, the 7-segment display will
; shift faster.
; 7. Use your finger to press the temp sensor (U14) very hard. Your warm
; body temperature will slow the tempo of music slightly.
; 8. Press the capacitive touch switch, the LED D13 wiill come on.
;
;; The following signal definitions apply to the 4X4 keypad:
; PA0 connects COL0 of the keypad
; PA1 connects COL1 of the keypad
; PA2 connects COL2 of the keypad
; PA3 connects COL3 of the keypad
; PA4 connects ROW0 of the keypad
; PA5 connects ROW1 of the keypad
; PA6 connects ROW2 of the keypad
; PA7 connects ROW3 of the keypad
RED: EQU $10 ; PP4
BLUE: EQU $20 ; PP5
GREEN: EQU $40 ; PP6
LM45 equ 1 ; new temp sensor for newer Dragon12 board
;MCP9701A equ 1 ; temp sensor for very old Dragon12 board
MULTI_MODE: equ $10
SINGLE_MODE: equ 0
SCAN_MODE: equ $20
NO_SCAN_MODE: equ 0
TRIMMER_ADC7: equ 7 ; reading input from AN07
TEMP_ADC5: equ 5 ; reading input from AN07
LIGHT_ADC4: equ 4 ; reading input from AN07
DIG0: equ 8 ; PP3
DIG1: equ 4 ; PP2
DIG2: equ 2 ; PP1
DIG3: equ 1 ; PP0
DB0: equ 1
DB1: equ 2
DB2: equ 4
DB3: equ 8
DB4: equ $10
DB5: equ $20
DB6: equ $40
DB7: equ $80
OL5: equ DB2
OM5: equ DB3
ONE_MS: equ 4000 ; 4000 x 250ns = 1 ms at 24 MHz bus speed
FIVE_MS: equ 20000
TEN_MS: equ 40000
FIFTY_US: equ 200
REG_SEL: equ DB0 ; 0=reg, 1=data
NOT_REG_SEL: equ $FE
ENABLE: equ DB1
NOT_ENABLE: equ $FD
LCD: equ portk
LCD_RS: equ portk
LCD_EN: equ portk
TB1MS: equ 24000 ; 1ms time base of 24,000 instruction cycles
; ; 24,000 x 1/24MHz = 1ms at 24 MHz bus speed
F3500HZ: equ 3429
REGBLK: equ $0
#include reg9s12.h ; include register equates
org $1000
ram: rmb 1
temp: rmb 1
shift_cnt: rmb 2
select: rmb 1
spk_tone: rmb 2
sound_dur: rmb 1
xsound_save: rmb 2
sound_repeat: rmb 1
xsound_beg: rmb 2
sound_start: rmb 1
rest_note: rmb 1
d1ms_flag: rmb 1
key_flag: rmb 1
disptn: rmb 4
key4: rmb 4
xsave: rmb 2
disp_ram: rmb 3
adctl_image: rmb 1
brtness: rmb 1
temp_reading rmb 1
light_reading: rmb 2
RGB_count: rmb 1
IR_flag: rmb 1
turn_led_on: rmb 1
count_5ms: rmb 1
count10: rmb 1
touch_flag: rmb 1
pkimg: rmb 1
temp1: rmb 1
LCDimg: equ pkimg
LCD_RSimg: equ pkimg
LCD_ENimg: equ pkimg
ramend: rmb 1
ALLRAM: equ ramend-ram ;total ram used
STACK: equ $2000
;
; Segment conversion table:
; Binary number: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
; Converted to 7-segment char: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
;
; Binary number: $10,$11,$12,$13,$14,$15,$16,$17
; Converted to 7-segment char: G H h J L n o o
;
; Binary number: $18,$19,$1A,$1B,$1C,$1D,$1E,$1F,$20
; Converted to 7-segment char: P r t U u y _ -- Blank
; for 24 MHz bus speed
; 1200000 / 261.63 Hz = note count
;
c3 equ 45866 ; 261.63 Hz at 24 MHz
c3s equ 43293 ; 277.18 Hz at 24 MHz
d3 equ 40864 ; 293.66 Hz at 24 MHz
d3s equ 38569 ; 311.13 Hz at 24 MHz
e3 equ 36404 ; 329.63 Hz at 24 MHz
f3 equ 34361 ; 349.23 Hz at 24 MHz
f3s equ 32433 ; 369.99 Hz at 24 MHz
g3 equ 30613 ; 391.99 Hz at 24 MHz
g3s equ 28894 ; 415.31 Hz at 24 MHz
a3 equ 27273 ; 440.00 Hz at 24 MHz
a3s equ 25742 ; 466.16 Hz at 24 MHz
b3 equ 24297 ; 493.88 Hz at 24 MHz
c4 equ 22934 ; 523.25 Hz at 24 MHz
c4s equ 21646 ; 554.37 Hz at 24 MHz
d4 equ 20431 ; 587.33 Hz at 24 MHz
d4s equ 19285 ; 622.25 Hz at 24 MHz
e4 equ 18202 ; 659.26 Hz at 24 MHz
f4 equ 17181 ; 698.46 Hz at 24 MHz
f4s equ 16216 ; 739.99 Hz at 24 MHz
g4 equ 15306 ; 783.99 Hz at 24 MHz
g4s equ 14447 ; 830.61 Hz at 24 MHz
a4 equ 13636 ; 880.00 Hz at 24 MHz
a4s equ 12871 ; 932.32 Hz at 24 MHz
b4 equ 12149 ; 987.77 Hz at 24 MHz
c5 equ 11467 ; 1046.50 Hz at 24 MHz
c5s equ 10823 ; 1108.73 Hz at 24 MHz
d5 equ 10216 ; 1174.66 Hz at 24 MHz
d5s equ 9642 ; 1244.51 Hz at 24 MHz
e5 equ 9101 ; 1318.51 Hz at 24 MHz
f5 equ 8590 ; 1396.91 Hz at 24 MHz
f5s equ 8108 ; 1479.98 Hz at 24 MHz
g5 equ 7653 ; 1567.98 Hz at 24 MHz
g5s equ 7225 ; 1661.22 Hz at 24 MHz
a5 equ 6818 ; 1760.00 Hz at 24 MHz
a5s equ 6435 ; 1864.66 Hz at 24 MHz
b5 equ 6074 ; 1975.53 Hz at 24 MHz
c6 equ 5733 ; 2093.00 Hz at 24 MHz
c6s equ 5412 ; 2217.46 Hz at 24 MHz
d6 equ 5109 ; 2349.32 Hz at 24 MHz
d6s equ 4821 ; 2489.02 Hz at 24 MHz
e6 equ 4551 ; 2637.02 Hz at 24 MHz
f6 equ 4295 ; 2793.83 Hz at 24 MHz
f6s equ 4054 ; 2959.96 Hz at 24 MHz
g6 equ 3827 ; 3135.97 Hz at 24 MHz
g6s equ 3612 ; 3322.44 Hz at 24 MHz
a6 equ 3409 ; 3520.00 Hz at 24 MHz
a6s equ 3218 ; 3729.31 Hz at 24 MHz
b6 equ 3037 ; 3951.07 Hz at 24 MHz
c7 equ 2867 ; 4186.01 Hz at 24 MHz
c7s equ 2706 ; 4434.92 Hz at 24 MHz
d7 equ 2554 ; 4698.64 Hz at 24 MHz
d7s equ 2411 ; 4978.03 Hz at 24 MHz
e7 equ 2275 ; 5274.04 Hz at 24 MHz
f7 equ 2148 ; 5587.66 Hz at 24 MHz
f7s equ 2027 ; 5919.92 Hz at 24 MHz
g7 equ 1913 ; 6271.93 Hz at 24 MHz
g7s equ 1806 ; 6644.88 Hz at 24 MHz
a7 equ 1705 ; 7040.00 Hz at 24 MHz
a7s equ 1609 ; 7458.63 Hz at 24 MHz
b7 equ 1519 ; 7902.13 Hz at 24 MHz
c8 equ 1 ; for rest note
note_c equ 0
note_cs equ 1
note_d equ 2
note_ds equ 3
note_e equ 4
note_f equ 5
note_fs equ 6
note_g equ 7
note_gs equ 8
note_a equ 9
note_as equ 10
note_b equ 11
; dur18= 1/8 note, dur14= 1/4 note, $fe= rest_note, $ff = end of song
dur18 equ 50
dur14 equ 100
org $2000
jmp start
;
NOTE_TABLE:
fdb c3,c3s,d3,d3s,e3,f3,f3s,g3,g3s,a3,a3s,b3
fdb 0,0,0,0 ; dummy byte
fdb c4,c4s,d4,d4s,e4,f4,f4s,g4,g4s,a4,a4s,b4
fdb 0,0,0,0 ; dummy byte
fdb c5,c5s,d5,d5s,e5,f5,f5s,g5,g5s,a5,a5s,b5
fdb 0,0,0,0 ; dummy byte
fdb c6,c6s,d6,d6s,e6,f6,f6s,g6,g6s,a6,a6s,b6
fdb 0,0,0,0 ; dummy byte
fdb c7,c7s,d7,d7s,e7,f7,f7s,g7,g7s,a7,a7s,b7
fdb 0,0,0,0 ; dummy byte
fdb c8
;
segm_ptrn: ; segment pattern
fcb $3f,$06,$5b,$4f,$66,$6d,$7d,$07 ;0-7
; 0, 1, 2, 3, 4, 5, 6, 7
fcb $7f,$6f,$77,$7c,$39,$5e,$79,$71 ;8-$0f
; 8, 9, A, b, C, d, E, F
fcb $3d,$76,$74,$1e,$38,$54,$63,$5c ;10-17
; G, H, h, J L n o o
fcb $73,$50,$78,$3e,$1c,$6e,$08,$40 ;18-1f
; P, r, t, U, u Y - -
fcb $00,$01,$48,$41,$09,$49 ;20-23
; blk, -, =, =, =, =
;
seven_segment:
pshx
pshb
ldx #segm_ptrn
psha
anda #$3f
tab
abx
ldaa 0,x ; get segment
pulb
andb #$80 ; add DP
aba
pulb
pulx
rts
; keypad scan for 4X4 keypad (pin 1-4 = col 0-3, pin 5-8 = row 0-3)
; at exit: if a key is down, the carry bit =1 and the accumulator B
; holds the key number
; if no key is dwon the carry bit =0
keypad:
; ldaa #00001111b
ldaa #$0F ; pa0-pa3 are outputs, pa4-pa7 are inputs
staa ddra
ldab #15
; ldaa #11110111b
ldaa #$F7 ; pa3=low, pa0-pa2=high
staa temp ; save it at temp
next_row:
staa porta
ldaa #10 ; add delay before checking key down
k_dly: deca
bne k_dly
ldaa porta
anda #$F0 ; only read 4 MSBs pa4-pa7
cmpa #$F0
bne keyin ; a key is pressed
decb
cmpb #11
beq no_keyin ; after 4 tests, accu B will be 11
ror temp
ldaa temp
jmp next_row
no_keyin:
clc
rts ; no key input
keyin: rola
bcc key_ok
subb #4
jmp keyin
key_ok: sec
rts
;
; this routine will read adc input on the pin AN7 and store 4 consecutive
;
adc_conv:
adda #SINGLE_MODE+NO_SCAN_MODE
;
; if you want to read multi-channel input, change above statement to
; adda #MULTI_MODE+NO_SCAN_MODE
;
staa adctl_image
ldx #REGBLK
jsr conv
rts
conv: ldaa adctl_image
staa atd0ctl5,x
not_ready:
brclr atd0stat,x $80 not_ready
rts
BLANK_MSG:
FCC " "
MSG1: FCC "PRESS SW2 & SW5 "
MSG2: FCC "WHEN 8DIP-SWs UP"
TEST_MSG:
FCC "TEST IR DETECTOR"
YES_MSG:
FCC " IR DETECTED "
NO_MSG: FCC " NO IR DETECTED "
; The LCD routine uses 4-bit transfer via port K:
; PK0 ------- RS ( register select, 0 = register transfer, 1 = data transfer).
; PK1 ------- Enable ( write pulse )
; PK2 ------- Data Bit 4 of LCD
; PK3 ------- Data Bit 5 of LCD
; PK4 ------- Data Bit 6 of LCD
; PK5 ------- Data Bit 7 of LCD
;
; The LCD routine has been simplified for users to understand it easier.
;
; Timing of 4-bit data transfer is shown on page 11 of the Seiko LCD
; application note on the distribution CD. The file name is Seikolcd.pdf
;
lcd_ini:
ldaa #$ff
staa ddrk ; port K = output
clra
staa pkimg
staa portk
ldx #inidsp ; point to init. codes.
pshb ; output instruction command.
jsr sel_inst
ldab 0,x
inx
onext: ldaa 0,x
jsr wrt_nibble ; initiate write pulse.
inx
jsr delay_5ms ; every nibble is delayed for 5ms
decb ; in reset sequence to simplify coding
bne onext
pulb
rts
inidsp: fcb 12 ; number of high nibbles
* ; use high nibbles only, low nibbles are ignored
fcb $30 ; 1st reset code, must delay 4.1ms after sending
fcb $30 ; 2nd reste code, must delay 100us after sending
; all following 10 nibbles must be delay 40us each after sending
fcb $30 ; 3rd reset code,
fcb $20 ; 4th reste code,
fcb $20 ; 4 bit mode, 2 line, 5X7 dot
fcb $80 ; 4 bit mode, 2 line, 5X7 dot
fcb $00 ; cursor increment, disable display shift
fcb $60 ; cursor increment, disable display shift
fcb $00 ; display on, cursor off, no blinking
fcb $C0 ; display on, cursor off, no blinking
fcb $00 ; clear display memory, set cursor to home pos
fcb $10 ; clear display memory, set cursor to home pos
*
sel_data:
psha
; bset LCD_RSimg REG_SEL ; select instruction
ldaa LCD_RSimg
oraa #REG_SEL
bra sel_ins
sel_inst:
psha
; bclr LCD_RSimg REG_SEL ; select instruction
ldaa LCD_RSimg
anda #NOT_REG_SEL
sel_ins:
staa LCD_RSimg
staa LCD_RS
pula
rts
lcd_line1:
jsr sel_inst ; select instruction
ldaa #$80 ; starting address for the line1
bra line3
lcd_line2:
jsr sel_inst
ldaa #$C0 ; starting address for the line2
line3: jsr wrt_byte
jsr sel_data
jsr msg_out
rts
;
; at entry, x must point to the begining of the message,
; b = number of the character to be sent out
msg_out:
ldaa 0,x
jsr wrt_byte
inx
decb
bne msg_out
rts
wrt_nibble:
anda #$f0 ; mask out 4 low bits
lsra
lsra ; 4 MSB bits go to pk2-pk5
staa temp1 ; save high nibble
ldaa LCDimg ; get LCD port image
anda #$03 ; need low 2 bits
oraa temp1 ; add it with high nibble
staa LCDimg ; save it
staa LCD ; output data to LCD port
jsr enable_pulse
rts
*
; @ enter, a=data to output
;
wrt_byte:
pshx
psha ; save it tomporarily.
anda #$f0 ; mask out 4 low bits.
lsra
lsra ; 4 MSB bits go to pk2-pk5
staa temp1 ; save nibble value.
ldaa LCDimg ; get LCD port image.
anda #$03 ; need low 2 bits.
oraa temp1 ; add in low 4 bits.
staa LCDimg ; save it
staa LCD ; output data
;
bsr enable_pulse
pula
asla ; move low bits over.
asla
staa temp1 ; store temporarily.
;
ldaa LCDimg ; get LCD port image.
anda #$03 ; need low 2 bits.
oraa temp1 ; add in loiw 4 bits.
staa LCDimg ; save it
staa LCD ; output data
;
bsr enable_pulse
jsr delay_50us
pulx
rts
;
enable_pulse:
; bset LCD_ENimg ENABLE ; ENABLE=high
ldaa LCD_ENimg
oraa #ENABLE
staa LCD_ENimg
staa LCD_EN
; bclr LCD_ENimg ENABLE ; ENABLE=low
ldaa LCD_ENimg
anda #NOT_ENABLE
staa LCD_ENimg
staa LCD_EN
rts
delay_10ms:
pshx
ldx #TEN_MS
bsr del1
pulx
rts
delay_5ms:
pshx
ldx #FIVE_MS
bsr del1
pulx
rts
delay_50us:
pshx
ldx #FIFTY_US
bsr del1
pulx
rts
;
; 250ns delay at 24MHz bus speed
;
del1: dex ; 1 cycle
inx ; 1 cycle
dex ; 1 cycle
bne del1 ; 3 cylce
rts
disp_data:
fcb 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4
clrall: pshx
ldx #ram
clrr clr 0,x
inx
deca
bne clrr
pulx
rts
;
PHONE_PAD:
fcb 1,2,3,$A,4,5,6,$B,7,8,9,$C,$F,0,$E,$D
Kconvert:
ldx #PHONE_PAD
abx
ldab 0,x
rts
; without touching A = #$21
; light touching A = #$35
; use #$2A for the value to compare
test_touch_sw:
ldx #REGBLK
bset ddrt,x DB4 ; make PT4 as output
bset ptt,x DB4 ; PT4= high to charge cap
inx
dex
inx
dex
bclr ddrt,x DB4 ; make PT4 as input
clra
test_again:
brclr ptit,x DB4 done
inca
jmp test_again
done: cmpa #$2A
rts
start: lds #STACK
sei
ldx #timer6
stx $3E62 ; initialize the int vetctor
ldx #timer5_spk
stx $3E64
ldx #REGBLK
ldaa #$0f ; turn off 7-segment display and RGB LED
staa ptp,x ; portp = 00001111
;
bset pucr,x,1 ; enable pullup on portA
ldaa #$FF
staa ddrb,x ; portb = output
staa ddrp,x ; portp = output
staa ddrj,x ; make port J an output port
clr ptj,x ; make PJ1 low to enable LEDs
clr ddrh,x ; porth = input
bset ddrs,x DB6 ; set PS6 as output for D13 LED
bclr pts,x DB6 ; turn off D13 LED
bset ddre,x,DB2 ; make PE2(relay) output
ldaa #$80
staa tscr,x ; enable timer
ldaa #DB5+DB6
staa tios,x ; select t6 as an output compare
staa tmsk1,x
bset atd0ctl2,x $80 ; enable adc operation
bset atd0ctl3,x $40 ; 8 conversion needed for an07
ldx #F3500HZ ; 3.5kHz
stx spk_tone
jsr spk_off
ldaa #ALLRAM
jsr clrall
jsr delay_10ms ; delay 20ms during power up
jsr delay_10ms
jsr lcd_ini ; initialize the LCD
ldx #MSG1 ; msg1 for line1, x points to msg1
ldab #16 ; send out 16 characters
jsr lcd_line1
;
ldx #MSG2 ; msg2 for line2, x points to msg2
ldab #16 ; send out 16 characters
jsr lcd_line2
;
ldx #REGBLK
back2: ldaa ptih,x
staa portb,x
anda #$9
bne back2
jsr delay_10ms
ldaa ptih,x
cmpa #$F6
bne back2
; Ph0 and ph3 are down
ldx #TEST_MSG ; test msg for line1
ldab #16 ; send out 16 characters
jsr lcd_line1
;
ldx #BLANK_MSG ; blank msg for line2
ldab #16 ; send out 16 characters
jsr lcd_line2
cli
jsr spk_on
jsr start_sound ; start sound
ldx #disp_data
stx xsave
begin:
jsr keypad
bcc nokey
jsr delay_10ms
jsr keypad
bcc nokey
; key down
jsr Kconvert ; convert key numbers to phone pad numbers
tba ; move key number to ACCU A
jsr seven_segment ; convert Accu A to segment pattern, bit 7= DP
oraa #$80 ; to show up DP
ldx #REGBLK
staa portb,x
cmpb #1
beq key1
cmpb #2
bne nokey2
bset porte,x,DB2 ; turn on relay
jmp nokey2
key1: bset porte,x,DB3 ; turn on opto-coupler
nokey2: bclr ptp,x,DIG0 ; turn on digit 0
bclr ptp,x,DIG1 ; turn on digit 1
bclr ptp,x,DIG2 ; turn on digit 2
bclr ptp,x,DIG3 ; turn on digit 3
jmp begin
nokey: ldx #REGBLK
brset ptit,x DB3 no_IR_light
ldaa #30
staa IR_flag
ldx #YES_MSG ; yes_msg for line2
ldab #16 ; send out 16 characters
jsr lcd_line2
jmp IR_cont
;
no_IR_light:
ldaa IR_flag
beq no_IR_msg
dec IR_flag
jmp IR_cont
no_IR_msg:
ldx #NO_MSG ; no_msg for line2
ldab #16 ; send out 16 characters
jsr lcd_line2
;
IR_cont:
jsr test_touch_sw
bcs no_touch_sw
inc touch_flag
ldaa touch_flag
cmpa #10 ; 10 ms for key debounce
bgt touch_down
jmp cont
touch_down:
dec touch_flag
ldx #REGBLK
bset pts,x DB6 ; turn on D13 LED
jmp cont
no_touch_sw:
clr touch_flag
ldx #REGBLK
bclr pts,x DB6 ; turn off D13 LED
cont:
ldx #REGBLK
bclr porte,x,DB2+DB3 ; turn off relay and opto-coupler
ldaa #TRIMMER_ADC7 ; set channel number before calling
jsr adc_conv
ldaa adr07h+REGBLK
staa brtness
ldaa #TEMP_ADC5 ; set channel number before calling
jsr adc_conv
ldaa adr05h+REGBLK
#ifdef LM45
asla ; double the temp reading
asla ; double it again to make it more sensive
#endif
staa temp_reading
ldaa #LIGHT_ADC4 ; set channel number before calling
jsr adc_conv
ldaa adr04h+REGBLK
ldab #20
mul
std light_reading
ldx xsave
jsr move ; move 4 bytes of
ldaa #1
staa turn_led_on ; turn_on_led
jsr sel_digit
ldaa brtness ; was read from adc
beq turn_off ; if =0, turn off display
back: ldx #13 ; make approx. 3.25 us delay
;
; approx. 250 ns delay
;
back1: dex
inx
dex ; 1 cycles
bne back1 ; 3 cycles
deca
bne back
turn_off:
clr turn_led_on
dec select
jsr sel_digit
ldx shift_cnt
inx
stx shift_cnt
cpx light_reading ; the darker the faster
blt wait
clr shift_cnt
clr shift_cnt+1
ldx xsave
inx
cpx #disp_data+16
bne beg1
ldx #disp_data
beg1: stx xsave
inc RGB_count
ldaa RGB_count
anda #3
beq no_RGB
deca
beq do_red
deca
beq do_green
ldaa #BLUE
jmp set_RGB
do_green:
ldaa #GREEN
jmp set_RGB
do_red: ldaa #RED
jmp set_RGB
no_RGB: clra
set_RGB:
psha
ldaa ptp+REGBLK
anda #$0f
staa ptp+REGBLK
pula
oraa ptp+REGBLK
staa ptp+REGBLK
wait: tst d1ms_flag
beq wait
clr d1ms_flag
jmp begin
;
; this routine moves 4 bytes of data into display
; pattern and converts the pattern to seven segment code.
; @ enter, x points the source address
;
move: ldy #disptn
mnext: ldaa 0,x
jsr seven_segment ; convert Accu A to segment pattern, bit 7= DP
staa 0,y
inx
iny
cpy #disptn+4
bne mnext
rts
;
; multiplexing display one digit at a time
;
sel_digit:
ldx #REGBLK
inc select
ldab select
andb #3
tstb
beq digit3
decb
beq digit2
decb
beq digit1
;
digit0:
ldaa disptn+3
staa portb,x
tst turn_led_on
bne dig0_on
clr portb,x
dig0_on:
bclr ptp,x,DIG0 ; turn on digit 0
bset ptp,x,DIG1 ; turn off all other digits
bset ptp,x,DIG2
bset ptp,x,DIG3
rts
digit1:
ldaa disptn+2
staa portb,x
tst turn_led_on
bne dig1_on
clr portb,x
dig1_on:
bset ptp,x,DIG0
bclr ptp,x,DIG1 ; turn on digi1
bset ptp,x,DIG2 ; turn off all other digits
bset ptp,x,DIG3
rts
digit2:
ldaa disptn+1
staa portb,x
tst turn_led_on
bne dig2_on
clr portb,x
dig2_on:
bset ptp,x,DIG0
bset ptp,x,DIG1
bclr ptp,x,DIG2 ; turn on digit 2
bset ptp,x,DIG3 ; turn off all other digits
rts
digit3:
ldaa disptn
staa portb,x
tst turn_led_on
bne dig3_on
clr portb,x
dig3_on:
bset ptp,x,DIG0
bset ptp,x,DIG1
bset ptp,x,DIG2
bclr ptp,x,DIG3 ; turn on digi3
rts
spk_on:
pshx
ldx #REGBLK
bclr tctl1,x OM5
bset tctl1,x OL5 ; toggle speaker
pulx
rts
spk_off:
pshx
ldx #REGBLK
bset tctl1,x OM5
bclr tctl1,x OL5 ; turn off speaker
pulx
rts
timer6:
inc count_5ms
ldaa count_5ms
cmpa #5
bne tmr3
clr count_5ms
;
; processing every 5ms
ldaa sound_start
beq tmr3
ldaa sound_dur ; duration
deca
staa sound_dur
bne tmr3
ldx xsound_save
repeat: ldab 0,x
cmpb #255
beq sound_end
ldaa 1,x
cmpa #255
beq sound_end
suba #$2e ; ambient reading
adda temp_reading ; sound_dur wil vary
staa sound_dur
inx
inx
stx xsound_save
cmpb #$fe
bne not_rest
ldaa #1
staa rest_note
jsr spk_off
jmp tmr3
not_rest:
clr rest_note
jsr spk_on
ldx #NOTE_TABLE
aslb
abx
ldx 0,x
stx spk_tone
jmp tmr3
sound_end:
ldaa sound_repeat
beq no_rep
ldx xsound_beg
jmp repeat
no_rep: ldx #F3500HZ ; 3.5kHz
stx spk_tone
jsr spk_off
clr sound_start
tmr3: ldx #REGBLK ; in interrupt servicing routine
inc d1ms_flag
ldd #TB1MS ; 1 ms time base
addd tc6,x
std tc6,x
ldaa #DB6
staa tflg1,x ; clear flag
rti
timer5_spk:
ldx #REGBLK ; in interrupt servicing routine
ldd spk_tone
addd tc5,x
std tc5,x
ldaa #DB5
staa tflg1,x ; clear flag
rti
start_sound:
ldx #SONG
stx xsound_beg
ldaa #1
staa sound_repeat
ldab 0,x
ldaa 1,x
staa sound_dur
inx
inx
stx xsound_save
ldx #NOTE_TABLE
aslb
abx
ldx 0,x
stx spk_tone
ldaa #1
staa sound_start
rts
SONG: fcb $20+note_e,dur18
fcb $20+note_ds,dur18
fcb $20+note_e,dur18
fcb $20+note_ds,dur18
fcb $20+note_e,dur18
fcb $10+note_b,dur18
fcb $20+note_d,dur18
fcb $20+note_c,dur18
fcb $10+note_a,dur14
; fcb $fe,dur18
; fcb 255,255
fcb $00+note_e,dur18
fcb $00+note_a,dur18
fcb $10+note_c,dur18
fcb $10+note_e,dur18
fcb $10+note_a,dur18
fcb $10+note_b,dur14
fcb $00+note_gs,dur18
fcb $10+note_d,dur18
fcb $10+note_e,dur18
fcb $10+note_gs,dur18
fcb $10+note_b,dur18
fcb $20+note_c,dur14
fcb $00+note_e,dur18
fcb $00+note_a,dur18
fcb $10+note_e,dur18
fcb $fe,dur14
fcb 255,255
org $3e62
fdb timer6
org $3e64
fdb timer5_spk
end |
examples/AIM6/HelloAgda/Everything.agda | cruhland/agda | 1,989 | 13337 | module Everything where
import Records
import Basics
import Modules
import With
import Families
import Datatypes
import Bool
import Naturals
|
disasm.asm | Uxeron/Disasm | 0 | 95614 | <gh_stars>0
.MODEL small
.STACK 100h
.DATA
helpMessage db "<NAME>, 4gr, Disasembleris", 10, 13, "Pirmas argumentas - .COM failas", 10, 13, "Antras argumentas - isvesties .ASM failas", 10, 13, "/? - parodo pagalbos pranesima", 10, 13, "$"
file1Loc db 30h DUP(0)
fileOLoc db 30h DUP(0)
fileError db "-- Duomenu failas nerastas", 10, 13, "$"
argError db "-- Neteisingi argumentai", 10, 13, "$"
handle1 dw 0
handle2 dw 0
argSize dw 0
f1Size dw 0
f2Size dw 0
bufSize equ 0FFh ; Input buffer size
bufLen equ 39h ; Output buffer size, DO NOT CHANGE!
f1buf db bufSize DUP(0)
f2buf db bufLen DUP(0)
include codes.asm
nCode db 0
mod_ db 0
bits_ db 0
v db 0
w db 0
s db 0
reg db 0
rom db 0
num db 0
sc db 0
offst dw 0
imm dw 0
adr dw 0
wrptr db 0
signed db 0
nam db 0
pref db 4h
memAdd dw 100h
.CODE
start:
MOV AX, @data ; Set DS to start of data segment
MOV DS, AX
JMP readArguments
skipSpaces PROC
loopstart:
CMP byte ptr ES:[SI], " " ; If symbol is not a space, exit function
JNE found
INC SI
CMP SI, [argSize] ; Check if SI hasn't reached the end of arguments
JE nfound ; If so, show help/erros message
JMP loopstart
skipSpaces ENDP
found:
STC ; If found, set carry flag
RET
nfound:
CLC ; If not found, unset carry flag
RET
readName PROC
MOV DI, 0h ; Reset DI
loopstart1:
CMP byte ptr ES:[SI], " " ; If character is a space, end word
JE found
MOV DL, byte ptr ES:[SI] ; Temporarily store character in DL register
MOV byte ptr [BX+DI], DL ; Move character to filename buffer
INC SI
INC DI
CMP SI, [argSize] ; Check if SI hasn't reached the end of arguments
JE nfound ; If so, end function
JMP loopstart1
readName ENDP
readArguments:
MOV CX, 0h
MOV CL, ES:[80h] ; Get argument length
CMP CX, 0h ; If length is 0, print help message
JE help
ADD CX, 81h ; Store maximum argument length + 81h offset
MOV [argSize], CX
MOV SI, 81h
CALL skipSpaces ; Remove leading spaces
JNC argHelpPrint
CMP byte ptr ES:[SI], '/' ; If found "/", assume "?" symbol. Even if "?" symbol doesn't exist, arguments would be invalid
JE help ; If true, display help message
MOV BX, offset file1Loc ; Select file1 to write
CALL readName ; Read filename
JNC argHelpPrint ; If argument length ended, show help/error message
CALL skipSpaces ; Remove spaces
JNC argHelpPrint
MOV BX, offset fileOLoc ; Select fileO to write
CALL readName ; Read filename
JC argHelpPrint ; If argument length didn't end (there are more arguments), show help/error message
JMP openFiles
argHelpPrint:
MOV DX, offset argError ; Display help/error message
MOV AH, 09h
INT 21h
help:
MOV DX, offset helpMessage ; Display help message
MOV AH, 09h
INT 21h
JMP exit
error:
MOV DX, offset fileError ; Select error message
MOV AH, 09h ; Select buffer output to screen function
INT 21h
JMP help
openFiles:
; Open input file
MOV AH, 3Dh ; Select open file (3Dh) function
MOV AL, 00h ; Open file as read-only
MOV DX, offset file1Loc ; Select filename
INT 21h
JC error ; If file doesn't exist, exit program
MOV [handle1], AX ; Save handle to file in memory
; Create output file
MOV AH, 3Ch ; Select create file function
MOV CX, 0h ; Clear file creation flags
MOV DX, offset fileOLoc ; Select filename
INT 21h
MOV [handle2], AX ; Save handle to file in memory
;JMP setup ;-----------------------------------------------------------------------------------
readData:
MOV AH, 3Fh
MOV BX, [handle1]
MOV CX, bufSize
MOV DX, offset f1buf
INT 21h
MOV [f1Size], AX
setup:
;INT 3h
LEA SI, f1buf
MOV [f2Size], SI
processOPCode:
;INT 3h
; Clear output buffer
MOV DI, outOffset
MOV CX, bufLen
PUSH SI
LEA SI, emptySpace
REP MOVSB
POP SI
; Reset output buffer pointer
MOV DI, outOffset
;LEA SI, f1buf
;INT 3h
; Write command address
MOV AL, byte ptr [memAdd+1]
CALL writeByte
MOV AL, byte ptr [memAdd]
CALL writeByte
MOV AX, ' :'
STOSW
MOV AX, ' '
STOSW
_continue:
; Read command number
CALL loadByte
MOV BL, 0Ah
MUL BL
MOV BX, AX
LEA BP, [codes + BX]
; Read command name
;INT 3h
MOV AL, DS:[BP]
MOV [nCode], AL
; Execute command analysis functions
_executeFunctionLoop:
;INT 3h
INC BP
CMP byte ptr DS:[BP], 0h
JE _outputAssemblyCode
MOV BL, DS:[BP]
MOV BH, 0h
MOV AL, 02h
MUL BL
MOV BL, AL
CALL [functions+BX]
JMP _executeFunctionLoop
_outputAssemblyCode:
PUSH SI
LEA SI, [f2buf]
MOV DI, outOffset
MOV CX, bufLen
__outputAssemblyCodeLoop:
MOV AL, ES:[DI]
MOV DS:[SI], AL
INC SI
INC DI
LOOP __outputAssemblyCodeLoop
MOV AH, 40h
MOV DX, offset f2buf
MOV BX, [handle2]
MOV CX, bufLen
INT 21h
_checkDataSize:
POP SI
PUSH SI
;SUB SI, f2Size
MOV AX, [f1Size]
ADD AX, [f2Size]
ADC AH, 0h
INT 3h
SUB AX, SI
CMP f1Size, bufSize
JNE __eof
CMP AX, 6h
JB seekBack
__eof:
CMP AX, 1h
JL finish
POP SI
JMP processOPCode
;JMP finish
seekBack:
MOV CX, 0FFFFh
MOV DX, AX
NEG DX
MOV AH, 42h
MOv AL, 01h
MOV BX, [handle1]
INT 21h
JMP readData
finish:
MOV AH, 3Eh
MOV BX, [handle1]
INT 21h
MOV AH, 3Eh
MOV BX, [handle2]
INT 21h
exit:
MOV AH, 4Ch ; Select return control to OS function
INT 21h
writeByte PROC ; Write number stored in AL as ASCII symbols into output buffer
PUSH CX ; Save CX
PUSH AX ; Save AX
MOV BL, 10h ; Will be dividing by 10h
MOV AH, 0h ; Clear AH
PUSH AX ; Save AX
DIV BL ; Divide AL by 10h (get 1st number)
CALL num2ASCII ; Convert number to ASCII symbol
STOSB ; Write symbol to output buffer
POP AX ; Load AX
ROL AL, 4h ; Swap the two hexadecimal AL numbers
DIV BL ; Divide AL by 10h (get 2nd number)
CALL num2ASCII ; Convert number to ASCII symbol
STOSB ; Write symbol to output buffer
POP AX ; Restore AX
POP CX ; Restore CX
RET
writeByte ENDP
num2ASCII PROC ; Convert number stored in AL to ASCII symbol
CMP AL, 9h
JG _alpha
ADD AL, 30h
RET
_alpha:
ADD AL, 37h
RET
num2ASCII ENDP
loadByte PROC ; Read a byte from input buffer to AL
MOV AH, 0h
MOV AL, [SI] ; Load byte
CALL writeByte ; Write byte to output buffer
INC SI ; Select next byte
INC [memAdd]
RET
loadByte ENDP
writePrefix PROC ; Write the segment register prefix
CMP byte ptr [pref], 4h
JB _pref
RET
_pref:
;INT 3h
PUSH AX
PUSH BX
MOV AH, 0h
MOV AL, [pref]
ADD AL, AL
LEA BX, regsS
ADD BX, AX
MOV AX, [BX]
XCHG AH, AL
STOSW
MOV AL, ':'
STOSB
MOV byte ptr [pref], 4h
POP BX
POP AX
RET
writePrefix ENDP
writePtr PROC ; Write Byte/Word ptr
;INT 3h
PUSH SI
CMP byte ptr [W], 0h
JNE _ptrW
LEA SI, bptr
JMP _ptrB
_ptrW:
LEA SI, wptr
_ptrB:
MOV CX, 9h
REP MOVSB
POP SI
MOV byte ptr [wrptr], 0h
RET
writePtr ENDP
readOffset PROC ; Read offset, subfunction of fwROM
;INT 3h
CMP byte ptr [mod_], 01h
JE _readOff0
CMP byte ptr [mod_], 02h
JE _readOff0
CMP byte ptr [mod_], 00h
JNE _readOffEnd
CMP byte ptr [rom], 6h
JNE _readOffEnd
CALL loadByte ; Load byte for processing
MOV byte ptr [offst], AL
CALL loadByte
MOV byte ptr [offst+1], AL ; Byte read is MSB, save in 1st byte of offst
;CALL signOffset
RET
_readOff0:
CALL loadByte ; Load byte for processing
; If w = 0, read only a single byte and save it in MSB position
MOV byte ptr [offst], AL
CMP byte ptr [mod_], 2
JNE _readOffEnd
_readOff3:
CALL loadByte
MOV byte ptr [offst+1], AL ; Byte read is MSB, save in 1st byte of offst
_readOffEnd:
CALL signOffset
RET
readOffset ENDP
signOffset PROC ; Make offset signed
INT 3h
CMP [mod_], 01h
JNE _sign2B
MOV AL, byte ptr [offst]
CMP AL, 80h
JB _signEnd
MOV [signed], 1h
NEG AL
MOV byte ptr [offst], AL
RET
_sign2B:
MOV AX, [offst]
CMP AX, 8000h
JB _signEnd
MOV [signed], 1h
NEG AX
MOV [offst], AX
RET
_signEnd:
RET
signOffset ENDP
frMW PROC ; Main analysis function for frMWR and frMWN functions
CALL loadByte ; Load byte to AL for processing
; Save 2 copies of AX for processing
PUSH AX
PUSH AX
; Extract mod_
MOV CX, 40h
DIV CL
MOV [mod_], AL
; Extract r/m
POP AX
ROR AL, 3h
MOV CX, 20h
DIV CL
MOV [rom], AL
; Extract reg
POP AX
ROL AL, 2h
DIV CL
MOV [reg], AL
RET
frMW ENDP
frMWR PROC ; Split byte into mod, reg and r/m
CALL frMW
CALL readOffset
RET
frMWR ENDP
frMWN PROC ; Split byte int mod, reg and r/m and select name by reg code
;INT 3h
CALL frMW
MOV DX, AX ; Save offset in DX
MOV DH, 0h
; Get name block offset
MOV AL, [sc]
MOV CX, 8h
MUL CL
ADD AX, DX
; Get actual nameCode
MOV BX, offset subNames
ADD BX, AX
MOV AL, [BX]
MOV [nCode], AL
CALL readOffset
RET
frMWN ENDP
frBIT PROC ; Split byte into reg, sc, v, w and s
;INT 3h
INC BP
MOV AL, DS:[BP]
MOV AH, 0h
; Save 4 copies of AX for processing
PUSH AX
PUSH AX
PUSH AX
PUSH AX
; Extract reg
ROL AL, 1h
MOV CX, 20h
DIV CL
MOV [reg], AL
MOV [num], AL
; Extract sc
POP AX
ROL AL, 4h
MOV CX, 40h
DIV CL
MOV [sc], AL
; Extract V
POP AX
AND AL, 2h
JZ _vEqZ
MOV [v], 1h
JMP _vNEqZ
_vEqZ:
MOV [v], 0h
_vNEqZ:
; Extract W
POP AX
AND AL, 1h
JZ _wEqZ
MOV [w], 1h
JMP _wNEqZ
_wEqZ:
MOV [w], 0h
_wNEqZ:
; Extract S
POP AX
AND AL, 80h
JZ _sEqZ
MOV [s], 1h
JMP _sNEqZ
_sEqZ:
MOV [s], 0h
_sNEqZ:
RET
frBIT ENDP
frOFF PROC ; Read single-byte sized offset
CALL loadByte
MOV byte ptr [offst], AL
RET
frOFF ENDP
frILM PROC ; Read immediate MSB LSB
CALL loadByte ; Load byte for processing
MOV byte ptr [imm], AL ; Byte read is LSB, save in 2nd byte of imm
CMP byte ptr [s], 1
JE _ILMEnd
CMP byte ptr [w], 1
JNE _ILMEnd
CALL loadByte ; w == 1, read another byte
MOV byte ptr [imm+1], AL ; Byte read is MSB, save in 1st byte of imm
_ILMEnd:
RET
frILM ENDP
frALM PROC ; Read address MSB LSB
CALL loadByte ; Load byte for processing
MOV byte ptr [adr], AL ; Byte read is LSB, save in 2nd byte of adr
CALL loadByte ; Load 2nd byte for processing
MOV byte ptr [adr+1], AL ; Byte read is MSB, save in 1st byte of adr
RET
frALM ENDP
fwROM PROC ; Write r/m
CMP byte ptr [mod_], 3h
JNE _mem ; r/m is register
MOV BL, [rom] ; Load r/m number into BX
CALL fwREG2 ; Write reg into output buffer
MOV byte ptr [wrptr], 0
RET
_mem: ; r/m is memory
CMP byte ptr [wrptr], 0
JE _noPtr
CALL writePtr
_noPtr:
CALL writePrefix
MOV AL, '['
STOSB
CMP byte ptr [rom], 4h ; Check if r/m is less than 4, which would mean that it falls into "mem" name block
JNB _mem2
; 0 <= r/m < 4
;INT 3h
MOV BH, 0h
MOV BL, [rom] ; Load r/m number into BX
MOV AL, 5h
MUL BL
MOV BL, AL
PUSH SI ; Save SI
LEA SI, [mem + BX] ; Load start of name from "mem" name block to SI
MOV CX, 5h
REP MOVSB
POP SI ; Restore SI
CMP byte ptr [mod_], 0h ; Check if there is an offset
JE _mem4
JMP _mem3
_mem2:
; 4 <= r/m < 8
CMP byte ptr [mod_], 0h ; mod=00, r/m=110 has only a memory value, check for that condition
JNE __mem
CMP byte ptr [rom], 6h
JE _mem5
__mem:
MOV BH, 0h
MOV BL, [rom] ; Load r/m number into BX
ADD BL, BL
;INC BL
;DEC BL
MOV AX, word ptr [mem2 + BX] ; Load name from "mem2" name block to AX
XCHG AL, AH
STOSW ; Write it to output buffer
CMP byte ptr [mod_], 0h ; Check if there is an offset
JE _mem4
JMP _mem3
_mem3:
CMP [signed], 0h
JNE _memSigned
MOV AL, '+'
JMP _memUnsigned
_memSigned:
MOV AL, '-'
MOV [signed], 0h
_memUnsigned:
STOSB
CMP byte ptr [mod_], 2h ; Check if the offset is byte or word size
JNE _mem6
_mem5:
MOV AL, byte ptr [offst+1] ; Write a word size offset
CALL writeByte
_mem6:
MOV AL, byte ptr [offst] ; Write a byte size offset
CALL writeByte
_mem4:
; mod == 00
MOV AL, ']'
STOSB
RET
fwROM ENDP
fwREG PROC ; Write reg
MOV BL, byte ptr [reg] ; Load reg offset to BX
CALL fwREG2
RET
fwREG ENDP
fwREG2 PROC ; Write reg based on reg number stored in BL, subfunction of fwROM and fwREG functions
MOV BH, 0h
ADD BL, BL
CMP byte ptr [w], 0h ; Check if width is byte or word
JNE _wREG2B
MOV AX, word ptr [regs + BX] ; Load a reg name from "regs" name block
XCHG AL, AH
STOSW ; Write it to output buffer
RET
_wREG2B:
MOV AX, word ptr [regs2 + BX] ; Load a reg name from "regs2" name block
XCHG AL, AH
STOSW ; Write it to output buffer
RET
fwREG2 ENDP
fwNAM PROC ; Write command name
CMP byte ptr [nam], 0h
JNE _notName
MOV DI, namOffset ; Move output buffer pointer to name location
_notName:
MOV byte ptr [nam], 0h
PUSH SI ; Save SI
MOV BH, 0h
MOV BL, [nCode] ; Load nameCode to BX
MOV AL, 7h
MUL BL
MOV BX, AX
LEA SI, names+BX ; Move SI to start of nameCode
MOV CX, 7h
REP MOVSB ; Write name to output buffer
POP SI ; Restore SI
MOV DI, argOffset ; Move output buffer pointer to argument location
RET
fwNAM ENDP
fwCOM PROC ; Write a comma
MOV AX, ' ,'
STOSW
RET
fwCOM ENDP
fwACC PROC ; Write accumulator
CMP byte ptr [w], 0h
JNE _ACC2B
MOV AX, 'LA'
STOSW
RET
_ACC2B:
MOV AX, 'XA'
STOSW
RET
fwACC ENDP
fwIML PROC ; Write immediate MSB LSB
CMP byte ptr [w], 1h
JNE _wIMLE1B
MOV AL, byte ptr [imm+1]
CALL writeByte
_wIMLE1B:
MOV AL, byte ptr [imm]
CALL writeByte
RET
fwIML ENDP
fwAML PROC ; Write address MSB LSB
CALL writePrefix
MOV AL, '['
STOSB
MOV AL, byte ptr [adr+1]
CALL writeByte
MOV AL, byte ptr [adr]
CALL writeByte
MOV AL, ']'
STOSB
RET
fwAML ENDP
fwIPO PROC ; Write IP+offset
;INT 3h
MOV BX, [memAdd]
MOV AL, byte ptr [offst]
CBW
ADD BX, AX
MOV AX, BX
XCHG AH, AL
CALL writeByte
XCHG AH, AL
CALL writeByte
RET
fwIPO ENDP
fwSEG PROC ; Write segment reg
;INT 3h
LEA BX, [regsS]
MOV AH, 0h
MOV AL, [reg]
ADD AL, AL ; Multiply AL by 2
ADD BX, AX
MOV AX, [BX]
XCHG AH, AL
STOSW
RET
fwSEG ENDP
fwPRM PROC ; Write r/m with ptr
;INT 3h
MOV byte ptr [wrptr], 1h
CALL fwROM
RET
fwPRM ENDP
fsPRE PROC ; Set the seg reg prefix for next command
;INT 3h
MOV AL, [reg]
MOV [pref], AL
POP AX
JMP _continue
fsPRE ENDP
fsEXP PROC ; Write sign-extended LSB
MOV AL, byte ptr [imm]
CBW
MOV [imm], AX
CALL fwIML
RET
fsEXP ENDP
fsSPC PROC ; Write text/symbol based on value of num
CMP byte ptr [num], 0h
JNE _sSPC0
MOV AL, '1'
STOSB
RET
_sSPC0:
CMP byte ptr [num], 1h
JNE _sSPC1
MOV AX, 'LA'
STOSW
RET
_sSPC1:
CMP byte ptr [num], 2h
JNE _sSPC2
MOV AX, 'XA'
STOSW
RET
_sSPC2:
CMP byte ptr [num], 3h
JNE _sSPC3
MOV AL, '3'
STOSB
RET
_sSPC3:
CMP byte ptr [num], 4h
JNE _sSPC4
PUSH SI
LEA SI, [farTxt]
MOV CX, 4h
REP MOVSB
POP SI
_sSPC4:
CMP byte ptr [num], 5h
JNE _sSPC5
MOV AX, 'LC'
STOSW
RET
_sSPC5:
RET
fsSPC ENDP
fsESC PROC ; Read next byte as yyy and write hex(yyy reg)
INC BP
MOV AL, DS:[BP]
MOV BL, [reg]
ROL AL, 3h
ADD AL, BL
CALL writeByte
RET
fsESC ENDP
fsIAM PROC ; Write MSB LSB:AMSB ALSB
MOV AL, byte ptr [imm+1]
CALL writeByte
MOV AL, byte ptr [imm]
CALL writeByte
MOV AL, ':'
STOSB
MOV AL, byte ptr [adr+1]
CALL writeByte
MOV AL, byte ptr [adr]
CALL writeByte
RET
fsIAM ENDP
fsEXT PROC ; Select and execute extended functions
;INT 3h
MOV AL, [reg]
MOV AH, 0h
MOV BL, 6h
MUL BL
CMP byte ptr [sc], 1h
JNE _sEXTBlock0
ADD AX, 30h
_sEXTBlock0:
MOV BX, AX
DEC BX
LEA BP, [extCodes + BX]
RET
fsEXT ENDP
fsIPI PROC ; Write IP+offset
;INT 3h
MOV BX, [memAdd]
MOV AX, [imm]
ADD BX, AX
MOV AX, BX
XCHG AH, AL
CALL writeByte
XCHG AH, AL
CALL writeByte
RET
fsIPI ENDP
fsREP PROC
MOV byte ptr [nam], 1h
; Read command number
MOV AH, 0h
MOV AL, byte ptr [offst]
MOV BL, 0Ah
MUL BL
MOV BX, AX
PUSH BP
LEA BP, [codes + BX]
; Read command name
MOV AL, DS:[BP]
MOV [nCode], AL
POP BP
RET
fsREP ENDP
end
|
zfp-gba/gnat_user/s-allare.ads | 98devin/ada-gba-dev | 7 | 2566 | <gh_stars>1-10
-- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with System.Storage_Elements;
--
-- Linear allocators which manage a particular address space.
-- Memory can be recovered only in blocks.
--
package System.Allocation.Arenas is
package SSE renames System.Storage_Elements;
-- Represents a watermark within the allocated memory.
-- Memory in the arena before this marker can remain allocated,
-- while memory following it will be reused.
--
type Marker is private;
--
-- Arena which controls a range of arbitrary addresses in memory.
--
type Heap_Arena (<>) is limited private;
pragma Simple_Storage_Pool_Type (Heap_Arena);
procedure Allocate
(Pool : in out Heap_Arena;
Storage_Address : out System.Address;
Storage_Size : SSE.Storage_Count;
Alignment : SSE.Storage_Count)
with Inline;
function Storage_Size (Pool : Heap_Arena) return SSE.Storage_Count
with Inline;
function Mark (Pool : Heap_Arena) return Marker
with Inline;
procedure Release (Pool : in out Heap_Arena; Mark : Marker)
with Inline;
function Create_Arena (Start_Address, End_Address : Address)
return Heap_Arena
with Inline_Always;
--
-- Arena which controls a region of the stack,
-- Or which manages a sub-region of heap memory of a specified size.
--
type Local_Arena (Size : SSE.Storage_Count) is limited private;
pragma Simple_Storage_Pool_Type (Local_Arena);
procedure Allocate
(Pool : in out Local_Arena;
Storage_Address : out System.Address;
Storage_Size : SSE.Storage_Count;
Alignment : SSE.Storage_Count)
with Inline;
function Storage_Size (Pool : Local_Arena) return SSE.Storage_Count
with Inline;
function Mark (Pool : Local_Arena) return Marker
with Inline;
procedure Release (Pool : in out Local_Arena; Mark : Marker)
with Inline;
function Create_Arena (Local_Size : SSE.Storage_Count) return Local_Arena
with Inline_Always;
procedure Init_Arena (Pool : in out Local_Arena)
with Inline_Always;
private
type Marker is new Address;
type Heap_Arena is limited
record
Start_Address, End_Address, Top_Address : Address;
end record;
type Aligned_Storage_Array is
new SSE.Storage_Array with Alignment => Standard'Maximum_Alignment;
type Local_Arena (Size : SSE.Storage_Count) is limited
record
Heap : Heap_Arena;
Storage : aliased Aligned_Storage_Array (1 .. Size);
end record
with Alignment => Standard'Maximum_Alignment;
end System.Allocation.Arenas;
|
programs/oeis/248/A248572.asm | neoneye/loda | 22 | 100291 | ; A248572: a(n) = 29*n + 1.
; 1,30,59,88,117,146,175,204,233,262,291,320,349,378,407,436,465,494,523,552,581,610,639,668,697,726,755,784,813,842,871,900,929,958,987,1016,1045,1074,1103,1132,1161,1190,1219,1248,1277,1306,1335,1364,1393,1422,1451,1480,1509,1538,1567,1596,1625,1654,1683,1712,1741,1770,1799,1828,1857,1886,1915,1944,1973,2002,2031,2060,2089,2118,2147,2176,2205,2234,2263,2292,2321,2350,2379,2408,2437,2466,2495,2524,2553,2582,2611,2640,2669,2698,2727,2756,2785,2814,2843,2872
mul $0,29
add $0,1
|
source/web/servlet/servlet-requests.ads | svn2github/matreshka | 0 | 14072 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014-2016, <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$
------------------------------------------------------------------------------
-- Defines an object to provide client request information to a servlet. The
-- servlet container creates a ServletRequest object and passes it as an
-- argument to the servlet's service method.
------------------------------------------------------------------------------
with Ada.Streams;
with League.String_Vectors;
with League.Strings;
with Servlet.Contexts;
package Servlet.Requests is
pragma Preelaborate;
type Servlet_Request is limited interface;
type Servlet_Request_Access is access all Servlet_Request'Class;
not overriding function Get_Input_Stream
(Self : Servlet_Request)
return not null access Ada.Streams.Root_Stream_Type'Class is abstract;
-- Retrieves the body of the request as binary data using a stream.
function Get_Parameter
(Self : Servlet_Request'Class;
Name : League.Strings.Universal_String)
return League.Strings.Universal_String;
-- Returns the value of a request parameter as a String, or empty string if
-- the parameter does not exist. Request parameters are extra information
-- sent with the request. For HTTP servlets, parameters are contained in
-- the query string or posted form data.
--
-- You should only use this method when you are sure the parameter has only
-- one value. If the parameter might have more than one value, use
-- Get_Parameter_Values.
--
-- If you use this method with a multivalued parameter, the value returned
-- is equal to the first value in the array returned by
-- Get_Parameter_Values.
--
-- If the parameter data was sent in the request body, such as occurs with
-- an HTTP POST request, then reading the body directly via
-- Get_Input_Stream or Get_Reader can interfere with the execution of this
-- method.
not overriding function Get_Parameter_Names
(Self : Servlet_Request)
return League.String_Vectors.Universal_String_Vector is abstract;
-- Returns an vector of String containing the names of the parameters
-- contained in this request. If the request has no parameters, the method
-- returns an empty vector.
not overriding function Get_Parameter_Values
(Self : Servlet_Request;
Name : League.Strings.Universal_String)
return League.String_Vectors.Universal_String_Vector is abstract;
-- Returns an array of String objects containing all of the values the
-- given request parameter has, or null if the parameter does not exist.
--
-- If the parameter has a single value, the array has a length of 1.
not overriding function Get_Scheme
(Self : Servlet_Request) return League.Strings.Universal_String
is abstract;
-- Returns the name of the scheme used to make this request, for example,
-- http, https, or ftp. Different schemes have different rules for
-- constructing URLs, as noted in RFC 1738.
not overriding function Get_Server_Name
(Self : Servlet_Request) return League.Strings.Universal_String
is abstract;
-- Returns the host name of the server to which the request was sent. It is
-- the value of the part before ":" in the Host header value, if any, or
-- the resolved server name, or the server IP address.
not overriding function Get_Server_Port
(Self : Servlet_Request) return Positive is abstract;
-- Returns the port number to which the request was sent. It is the value
-- of the part after ":" in the Host header value, if any, or the server
-- port where the client connection was accepted on.
not overriding function Get_Servlet_Context
(Self : Servlet_Request)
return access Servlet.Contexts.Servlet_Context'Class is abstract;
-- Gets the servlet context to which this ServletRequest was last
-- dispatched.
not overriding function Is_Async_Supported
(Self : not null access Servlet_Request) return Boolean is abstract;
-- Checks if this request supports asynchronous operation.
end Servlet.Requests;
|
Monads/EM/Functors.agda | jmchapman/Relative-Monads | 21 | 10189 | <gh_stars>10-100
open import Categories
open import Monads
module Monads.EM.Functors {a b}{C : Cat {a}{b}}(M : Monad C) where
open import Library
open import Functors
open import Monads.EM M
open Cat C
open Fun
open Monad M
open Alg
open AlgMorph
EML : Fun C EM
EML = record {
OMap = λ X → record {
acar = T X;
astr = λ _ → bind;
alaw1 = sym law2;
alaw2 = law3};
HMap = λ f → record {
amor = bind (comp η f);
ahom = λ {Z} {g} →
proof
comp (bind (comp η f)) (bind g)
≅⟨ sym law3 ⟩
bind (comp (bind (comp η f)) g)
∎};
fid = AlgMorphEq (
proof
bind (comp η iden)
≅⟨ cong bind idr ⟩
bind η
≅⟨ law1 ⟩
iden ∎);
fcomp = λ {_}{_}{_}{f}{g} →
AlgMorphEq (
proof
bind (comp η (comp f g))
≅⟨ cong bind (sym ass) ⟩
bind (comp (comp η f) g)
≅⟨ cong (λ f → bind (comp f g)) (sym law2) ⟩
bind (comp (comp (bind (comp η f)) η) g)
≅⟨ cong bind ass ⟩
bind (comp (bind (comp η f)) (comp η g))
≅⟨ law3 ⟩
comp (bind (comp η f)) (bind (comp η g))
∎)}
EMR : Fun EM C
EMR = record {
OMap = acar;
HMap = amor;
fid = refl;
fcomp = refl}
|
alloy4fun_models/trashltl/models/11/ie2SquWB7QiiKjBuT.als | Kaixi26/org.alloytools.alloy | 0 | 1250 | <gh_stars>0
open main
pred idie2SquWB7QiiKjBuT_prop12 {
all f : File | eventually always f in Trash
}
pred __repair { idie2SquWB7QiiKjBuT_prop12 }
check __repair { idie2SquWB7QiiKjBuT_prop12 <=> prop12o } |
Cubical/Relation/Unary/Subtype.agda | bijan2005/univalent-foundations | 0 | 5946 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Unary.Subtype where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Relation.Unary
open import Cubical.Data.Nat
private
variable
a ℓ ℓ′ : Level
A : Type a
Subtype : (P : Pred A ℓ) → Type _
Subtype {A = A} P = Σ[ x ∈ A ] x ∈ P
module _ (P : Pred A ℓ) where
isOfHLevelSubtype : ∀ n → isOfHLevel (suc n) A → isOfHLevel (suc n) (Subtype P)
isOfHLevelSubtype n hA = isOfHLevelΣ (suc n) hA (λ _ → isProp→isOfHLevelSuc n (isProp[ P ] _))
isSetSubtype : isSet A → isSet (Subtype P)
isSetSubtype = isOfHLevelSubtype 1
inclusion : (P : Pred A ℓ) (Q : Pred A ℓ′) → P ⊆ Q → Subtype P → Subtype Q
inclusion P Q P⊆Q = λ (x , Px) → (x , P⊆Q Px)
⇔-equiv : (P : Pred A ℓ) (Q : Pred A ℓ′) → P ⇔ Q → Subtype P ≃ Subtype Q
⇔-equiv P Q (P⊆Q , Q⊆P) = isoToEquiv (iso (inclusion P Q P⊆Q) (inclusion Q P Q⊆P)
(λ (x , Qx) → cong (x ,_) (Q x .snd _ _))
(λ (x , Px) → cong (x ,_) (P x .snd _ _))
)
|
programs/oeis/208/A208648.asm | neoneye/loda | 22 | 244008 | <reponame>neoneye/loda<gh_stars>10-100
; A208648: Denominators of Pokrovskiy's lower bound on the ratio of e(G^n) the number of edges in the n-th power of a graph G, to E(G) the number of edges of G.
; 2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12
mul $0,2
mov $1,$0
add $0,1
mul $1,2
dif $1,3
trn $0,$1
add $0,1
|
source/league/matreshka-internals-translator-xliff_readers.adb | svn2github/matreshka | 24 | 21446 | <filename>source/league/matreshka-internals-translator-xliff_readers.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010, <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$
------------------------------------------------------------------------------
package body Matreshka.Internals.Translator.XLIFF_Readers is
XLIFF_1_2_NS : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String
("urn:oasis:names:tc:xliff:document:1.2");
Trolltech_NS : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String
("urn:trolltech:names:ts:document:1.0");
Group_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("group");
Restype_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("restype");
Resname_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("resname");
Source_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("source");
Target_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("target");
XLIFF_Name : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("xliff");
Trolltech_Linguist_Context : constant League.Strings.Universal_String
:= League.Strings.To_Universal_String ("x-trolltech-linguist-context");
----------------
-- Characters --
----------------
overriding procedure Characters
(Self : in out XLIFF_Reader;
Text : League.Strings.Universal_String;
Success : in out Boolean)
is
pragma Unreferenced (Success);
begin
if Self.In_Source then
Self.Source.Append (Text);
elsif Self.In_Target then
Self.Target.Append (Text);
end if;
end Characters;
-----------------
-- End_Element --
-----------------
overriding procedure End_Element
(Self : in out XLIFF_Reader;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Success : in out Boolean)
is
pragma Unreferenced (Qualified_Name);
pragma Unreferenced (Success);
begin
if Namespace_URI = XLIFF_1_2_NS
and Local_Name = Source_Name
then
Self.In_Source := False;
elsif Namespace_URI = XLIFF_1_2_NS
and Local_Name = Target_Name
then
Self.In_Target := False;
Self.Context.Translations.Insert (Self.Source, Self.Target);
end if;
end End_Element;
------------------
-- Error_String --
------------------
overriding function Error_String
(Self : XLIFF_Reader) return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return League.Strings.Empty_Universal_String;
end Error_String;
-------------------
-- Start_Element --
-------------------
overriding procedure Start_Element
(Self : in out XLIFF_Reader;
Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Qualified_Name : League.Strings.Universal_String;
Attributes : XML.SAX.Attributes.SAX_Attributes;
Success : in out Boolean)
is
pragma Unreferenced (Qualified_Name);
pragma Unreferenced (Success);
use Context_Maps;
begin
if Namespace_URI = XLIFF_1_2_NS
and Local_Name = Group_Name
then
if Attributes.Index (Restype_Name) /= 0
and Attributes.Value (Restype_Name) = Trolltech_Linguist_Context
then
declare
Context_Name : constant League.Strings.Universal_String
:= Attributes.Value (Resname_Name);
Position : constant Context_Maps.Cursor
:= Translations.Find (Context_Name);
begin
if Has_Element (Position) then
Self.Context := Element (Position);
else
Self.Context :=
new Context_Record'
(Name => Context_Name,
Translations => Universal_String_Maps.Empty_Map);
Translations.Insert (Context_Name, Self.Context);
end if;
end;
end if;
elsif Namespace_URI = XLIFF_1_2_NS
and Local_Name = Source_Name
then
Self.Source.Clear;
Self.In_Source := True;
elsif Namespace_URI = XLIFF_1_2_NS
and Local_Name = Target_Name
then
Self.Target.Clear;
Self.In_Target := True;
end if;
end Start_Element;
end Matreshka.Internals.Translator.XLIFF_Readers;
|
oeis/005/A005246.asm | neoneye/loda-programs | 11 | 245472 | ; A005246: a(n) = (1 + a(n-1)*a(n-2))/a(n-3), a(0) = a(1) = a(2) = 1.
; 1,1,1,2,3,7,11,26,41,97,153,362,571,1351,2131,5042,7953,18817,29681,70226,110771,262087,413403,978122,1542841,3650401,5757961,13623482,21489003,50843527,80198051,189750626,299303201,708158977,1117014753,2642885282,4168755811,9863382151,15558008491,36810643322,58063278153,137379191137,216695104121,512706121226,808717138331,1913445293767,3018173449203,7141075053842,11263976658481,26650854921601,42037733184721,99462344632562,156886956080403,371198523608647,585510091136891,1385331749802026
lpb $0
sub $0,1
add $2,1
add $2,$1
add $2,$1
add $1,$2
sub $1,$0
trn $1,2
lpe
add $1,1
mov $0,$1
|
I2C_Slave_Code_Dev/I2C_SlaveCore/asm/src/main.asm | CmdrZin/chips_avr_examples | 5 | 162823 | <reponame>CmdrZin/chips_avr_examples
/*
* I2C Slave Library Project
*
* org: 10/03/2014
* rev: 03/20/2015
* auth: Nels "Chip" Pearson
*
* Target: TankBot Board (ATmega164P) or I2C Demo Board
*
*
* NOTE: Slave Adrs: 0x23 (set in i2c_slave2.asm)
*
*/
.nolist
.include "m164pdef.inc"
;;;.include "m328pdef.inc"
.list
.ORG $0000
rjmp RESET
.ORG OC0Aaddr
rjmp st_tmr0_intr ; TMR0 counter compare intr
.ORG TWIaddr ; (0x34)
rjmp i2c_slave_isr ; 2-wire Serial Interface
;
.ORG INT_VECTORS_SIZE ; Skip over the rest of them.
.CSEG
RESET:
; setup SP
ldi R16, LOW(RAMEND)
out spl, R16
ldi R16, HIGH(RAMEND)
out sph, R16
; JTAG disable
ldi R16, $80
out MCUCR, R16
out MCUCR, R16
;
call st_init_tmr0 ; init System Timer (Timer0)
call i2c_init_slave ; init I2C interface as a Slave
call slave_core_init ; enable Slave and services.
call led_init ; set up board LED
call dwk_init ; set up dual 7-seg display and keypad IO
;
sei ; enable intr
; TEST ++
ldi r16, 2
sts led_buff, r16
;
ldi r17, 0xA
call dsp_dual_store
ldi r17, 0x5
call dsp_dual_store
;
;;; ldi r17, CORE_GET_ID
;;; call core_command_processor
; TEST --
;
main:
;
m_skip00:
call slave_core_service ; I2C command service
;
call display_kp_service ; dual 7-seg display service
;
;;; call switch_service ; button and LDE service Using LED for DEBUG timing.
;
rjmp main
/*
* For Debug, trap any extrainious interrupts.
*/
trap_intr:
call turn_on_led
rjmp trap_intr
// System Timer support
.include "sys_timers.asm"
// I2C Slave code
.include "i2c_slave2.asm"
// FIFO support
.include "fifo_lib.asm"
// I2C Core Service
.include "i2c_slave_core.asm"
// I2C Demo Board Service
.include "i2c_slave_i2cDemo.asm"
// 7Seg Display and KeyPad Service
.include "disp_w_keypad.asm"
// Single Buttion and LED Service
.include "led_switch.asm"
|
oeis/127/A127920.asm | neoneye/loda-programs | 11 | 6776 | <reponame>neoneye/loda-programs
; A127920: 1/6 of product of three numbers: n-th prime, previous and following number.
; Submitted by <NAME>
; 1,4,20,56,220,364,816,1140,2024,4060,4960,8436,11480,13244,17296,24804,34220,37820,50116,59640,64824,82160,95284,117480,152096,171700,182104,204156,215820,240464,341376,374660,428536,447580,551300,573800,644956,721764,776216,862924,955860,988260,1161280,1198144,1274196,1313400,1565620,1848224,1949476,2001460,2108184,2275280,2332880,2635500,2829056,3031864,3244140,3317040,3542276,3697960,3777484,4192244,4822356,5013320,5110664,5309116,6044060,6378736,6963596,7084700,7331104,7711320,8238416
seq $0,40 ; The prime numbers.
mov $1,$0
pow $1,3
sub $1,$0
mov $0,$1
div $0,6
|
test/codegen/scope.asm | shivansh/gogo | 24 | 19371 | <reponame>shivansh/gogo
.data
arr.0: .space 8
t0: .word 0
arr.1: .space 8
t1: .word 0
a.2: .word 0
a.3: .word 0
.text
runtime:
addi $sp, $sp, -4
sw $ra, 0($sp)
lw $ra, 0($sp)
addi $sp, $sp, 4
jr $ra
.end runtime
.globl main
.ent main
main:
la $3, arr.0
lw $5, 0($3) # variable <- array
li $5, 4 # t0 -> $5
sw $5, 0($3) # variable -> array
sw $5, t0 # spilled t0, freed $5
la $5, arr.1
lw $6, 0($5) # variable <- array
li $6, 5 # t1 -> $6
sw $6, 0($5) # variable -> array
sw $6, t1 # spilled t1, freed $6
li $6, 1 # a.2 -> $6
sw $6, a.2 # spilled a.2, freed $6
li $6, 4 # a.3 -> $6
li $6, 2 # a.3 -> $6
sw $6, a.3 # spilled a.3, freed $6
li $6, 4 # a.2 -> $6
# Store dirty variables back into memory
sw $6, a.2
li $2, 10
syscall
.end main
|
src/hyperion-hosts-modules.ads | stcarrez/hyperion | 0 | 6507 | -----------------------------------------------------------------------
-- hyperion-hosts-modules -- Module hosts
-- Copyright (C) 2017 <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.Applications;
with AWA.Modules;
with Hyperion.Hosts.Models;
package Hyperion.Hosts.Modules is
-- The name under which the module is registered.
NAME : constant String := "hosts";
-- ------------------------------
-- Module hosts
-- ------------------------------
type Host_Module is new AWA.Modules.Module with private;
type Host_Module_Access is access all Host_Module'Class;
-- Initialize the hosts module.
overriding
procedure Initialize (Plugin : in out Host_Module;
App : in AWA.Modules.Application_Access;
Props : in ASF.Applications.Config);
-- Create a new host under the name, ip and associated with the agent.
-- Return the host identifier.
procedure Create_Host (Plugin : in out Host_Module;
Agent_Key : in String;
Host : in out Models.Host_Ref);
-- Get the hosts module.
function Get_Host_Module return Host_Module_Access;
private
type Host_Module is new AWA.Modules.Module with null record;
end Hyperion.Hosts.Modules;
|
programs/oeis/302/A302392.asm | karttu/loda | 0 | 88335 | ; A302392: Number of odd parts in the partitions of 3n into 3 parts.
; 3,4,13,18,33,40,61,72,99,112,145,162,201,220,265,288,339,364,421,450,513,544,613,648,723,760,841,882,969,1012,1105,1152,1251,1300,1405,1458,1569,1624,1741,1800,1923,1984,2113,2178,2313,2380,2521,2592,2739,2812
mov $2,$0
add $2,1
mov $5,$0
lpb $2,1
mov $0,$5
sub $2,1
sub $0,$2
mul $0,3
mov $3,6
mov $4,4
add $4,$0
gcd $3,$4
mul $4,$3
div $4,4
sub $4,1
mul $4,2
add $4,1
add $1,$4
lpe
|
src/z80asm/dev/cpu/cpu_testold_z80_err.asm | Toysoft/z88dk | 0 | 3004 | <filename>src/z80asm/dev/cpu/cpu_testold_z80_err.asm
adc a',(hl) ; Error
adc a',(ix) ; Error
adc a',(ix+DIS) ; Error
adc a',(iy) ; Error
adc a',(iy+DIS) ; Error
adc a',N ; Error
adc a',a ; Error
adc a',b ; Error
adc a',c ; Error
adc a',d ; Error
adc a',e ; Error
adc a',h ; Error
adc a',l ; Error
adc hl',bc ; Error
adc hl',de ; Error
adc hl',hl ; Error
adc hl',sp ; Error
add a',(hl) ; Error
add a',(ix) ; Error
add a',(ix+DIS) ; Error
add a',(iy) ; Error
add a',(iy+DIS) ; Error
add a',N ; Error
add a',a ; Error
add a',b ; Error
add a',c ; Error
add a',d ; Error
add a',e ; Error
add a',h ; Error
add a',l ; Error
add hl',bc ; Error
add hl',de ; Error
add hl',hl ; Error
add hl',sp ; Error
add sp,SN ; Error
altd adc (hl) ; Error
altd adc (ix) ; Error
altd adc (ix+DIS) ; Error
altd adc (iy) ; Error
altd adc (iy+DIS) ; Error
altd adc N ; Error
altd adc a ; Error
altd adc a,(hl) ; Error
altd adc a,(ix) ; Error
altd adc a,(ix+DIS) ; Error
altd adc a,(iy) ; Error
altd adc a,(iy+DIS) ; Error
altd adc a,N ; Error
altd adc a,a ; Error
altd adc a,b ; Error
altd adc a,c ; Error
altd adc a,d ; Error
altd adc a,e ; Error
altd adc a,h ; Error
altd adc a,l ; Error
altd adc b ; Error
altd adc c ; Error
altd adc d ; Error
altd adc e ; Error
altd adc h ; Error
altd adc hl,bc ; Error
altd adc hl,de ; Error
altd adc hl,hl ; Error
altd adc hl,sp ; Error
altd adc l ; Error
altd add (hl) ; Error
altd add (ix) ; Error
altd add (ix+DIS) ; Error
altd add (iy) ; Error
altd add (iy+DIS) ; Error
altd add N ; Error
altd add a ; Error
altd add a,(hl) ; Error
altd add a,(ix) ; Error
altd add a,(ix+DIS) ; Error
altd add a,(iy) ; Error
altd add a,(iy+DIS) ; Error
altd add a,N ; Error
altd add a,a ; Error
altd add a,b ; Error
altd add a,c ; Error
altd add a,d ; Error
altd add a,e ; Error
altd add a,h ; Error
altd add a,l ; Error
altd add b ; Error
altd add c ; Error
altd add d ; Error
altd add e ; Error
altd add h ; Error
altd add hl,bc ; Error
altd add hl,de ; Error
altd add hl,hl ; Error
altd add hl,sp ; Error
altd add l ; Error
altd and (hl) ; Error
altd and (ix) ; Error
altd and (ix+DIS) ; Error
altd and (iy) ; Error
altd and (iy+DIS) ; Error
altd and N ; Error
altd and a ; Error
altd and a,(hl) ; Error
altd and a,(ix) ; Error
altd and a,(ix+DIS) ; Error
altd and a,(iy) ; Error
altd and a,(iy+DIS) ; Error
altd and a,N ; Error
altd and a,a ; Error
altd and a,b ; Error
altd and a,c ; Error
altd and a,d ; Error
altd and a,e ; Error
altd and a,h ; Error
altd and a,l ; Error
altd and b ; Error
altd and c ; Error
altd and d ; Error
altd and e ; Error
altd and h ; Error
altd and hl,de ; Error
altd and l ; Error
altd bool hl ; Error
altd ccf ; Error
altd ccf f ; Error
altd cp (hl) ; Error
altd cp (ix) ; Error
altd cp (ix+DIS) ; Error
altd cp (iy) ; Error
altd cp (iy+DIS) ; Error
altd cp N ; Error
altd cp a ; Error
altd cp a,(hl) ; Error
altd cp a,(ix) ; Error
altd cp a,(ix+DIS) ; Error
altd cp a,(iy) ; Error
altd cp a,(iy+DIS) ; Error
altd cp a,N ; Error
altd cp a,a ; Error
altd cp a,b ; Error
altd cp a,c ; Error
altd cp a,d ; Error
altd cp a,e ; Error
altd cp a,h ; Error
altd cp a,l ; Error
altd cp b ; Error
altd cp c ; Error
altd cp d ; Error
altd cp e ; Error
altd cp h ; Error
altd cp l ; Error
altd cpl ; Error
altd cpl a ; Error
altd dec a ; Error
altd dec b ; Error
altd dec bc ; Error
altd dec c ; Error
altd dec d ; Error
altd dec de ; Error
altd dec e ; Error
altd dec h ; Error
altd dec hl ; Error
altd dec l ; Error
altd djnz NN ; Error
altd ex (sp),hl ; Error
altd ex de',hl ; Error
altd ex de,hl ; Error
altd inc a ; Error
altd inc b ; Error
altd inc bc ; Error
altd inc c ; Error
altd inc d ; Error
altd inc de ; Error
altd inc e ; Error
altd inc h ; Error
altd inc hl ; Error
altd inc l ; Error
altd ld a,(NN) ; Error
altd ld a,(bc) ; Error
altd ld a,(de) ; Error
altd ld a,(hl) ; Error
altd ld a,(ix) ; Error
altd ld a,(ix+DIS) ; Error
altd ld a,(iy) ; Error
altd ld a,(iy+DIS) ; Error
altd ld a,N ; Error
altd ld a,a ; Error
altd ld a,b ; Error
altd ld a,c ; Error
altd ld a,d ; Error
altd ld a,e ; Error
altd ld a,eir ; Error
altd ld a,h ; Error
altd ld a,iir ; Error
altd ld a,l ; Error
altd ld a,xpc ; Error
altd ld b,(hl) ; Error
altd ld b,(ix) ; Error
altd ld b,(ix+DIS) ; Error
altd ld b,(iy) ; Error
altd ld b,(iy+DIS) ; Error
altd ld b,N ; Error
altd ld b,a ; Error
altd ld b,b ; Error
altd ld b,c ; Error
altd ld b,d ; Error
altd ld b,e ; Error
altd ld b,h ; Error
altd ld b,l ; Error
altd ld bc,(NN) ; Error
altd ld bc,NN ; Error
altd ld c,(hl) ; Error
altd ld c,(ix) ; Error
altd ld c,(ix+DIS) ; Error
altd ld c,(iy) ; Error
altd ld c,(iy+DIS) ; Error
altd ld c,N ; Error
altd ld c,a ; Error
altd ld c,b ; Error
altd ld c,c ; Error
altd ld c,d ; Error
altd ld c,e ; Error
altd ld c,h ; Error
altd ld c,l ; Error
altd ld d,(hl) ; Error
altd ld d,(ix) ; Error
altd ld d,(ix+DIS) ; Error
altd ld d,(iy) ; Error
altd ld d,(iy+DIS) ; Error
altd ld d,N ; Error
altd ld d,a ; Error
altd ld d,b ; Error
altd ld d,c ; Error
altd ld d,d ; Error
altd ld d,e ; Error
altd ld d,h ; Error
altd ld d,l ; Error
altd ld de,(NN) ; Error
altd ld de,NN ; Error
altd ld e,(hl) ; Error
altd ld e,(ix) ; Error
altd ld e,(ix+DIS) ; Error
altd ld e,(iy) ; Error
altd ld e,(iy+DIS) ; Error
altd ld e,N ; Error
altd ld e,a ; Error
altd ld e,b ; Error
altd ld e,c ; Error
altd ld e,d ; Error
altd ld e,e ; Error
altd ld e,h ; Error
altd ld e,l ; Error
altd ld h,(hl) ; Error
altd ld h,(ix) ; Error
altd ld h,(ix+DIS) ; Error
altd ld h,(iy) ; Error
altd ld h,(iy+DIS) ; Error
altd ld h,N ; Error
altd ld h,a ; Error
altd ld h,b ; Error
altd ld h,c ; Error
altd ld h,d ; Error
altd ld h,e ; Error
altd ld h,h ; Error
altd ld h,l ; Error
altd ld hl,(NN) ; Error
altd ld hl,(hl) ; Error
altd ld hl,(hl+DIS) ; Error
altd ld hl,(ix) ; Error
altd ld hl,(ix+DIS) ; Error
altd ld hl,(iy) ; Error
altd ld hl,(iy+DIS) ; Error
altd ld hl,(sp) ; Error
altd ld hl,(sp+N) ; Error
altd ld hl,NN ; Error
altd ld hl,ix ; Error
altd ld hl,iy ; Error
altd ld l,(hl) ; Error
altd ld l,(ix) ; Error
altd ld l,(ix+DIS) ; Error
altd ld l,(iy) ; Error
altd ld l,(iy+DIS) ; Error
altd ld l,N ; Error
altd ld l,a ; Error
altd ld l,b ; Error
altd ld l,c ; Error
altd ld l,d ; Error
altd ld l,e ; Error
altd ld l,h ; Error
altd ld l,l ; Error
altd neg ; Error
altd neg a ; Error
altd or (hl) ; Error
altd or (ix) ; Error
altd or (ix+DIS) ; Error
altd or (iy) ; Error
altd or (iy+DIS) ; Error
altd or N ; Error
altd or a ; Error
altd or a,(hl) ; Error
altd or a,(ix) ; Error
altd or a,(ix+DIS) ; Error
altd or a,(iy) ; Error
altd or a,(iy+DIS) ; Error
altd or a,N ; Error
altd or a,a ; Error
altd or a,b ; Error
altd or a,c ; Error
altd or a,d ; Error
altd or a,e ; Error
altd or a,h ; Error
altd or a,l ; Error
altd or b ; Error
altd or c ; Error
altd or d ; Error
altd or e ; Error
altd or h ; Error
altd or hl,de ; Error
altd or l ; Error
altd pop af ; Error
altd pop bc ; Error
altd pop de ; Error
altd pop hl ; Error
altd res -1,a ; Error
altd res -1,b ; Error
altd res -1,c ; Error
altd res -1,d ; Error
altd res -1,e ; Error
altd res -1,h ; Error
altd res -1,l ; Error
altd res 0,a ; Error
altd res 0,b ; Error
altd res 0,c ; Error
altd res 0,d ; Error
altd res 0,e ; Error
altd res 0,h ; Error
altd res 0,l ; Error
altd res 1,a ; Error
altd res 1,b ; Error
altd res 1,c ; Error
altd res 1,d ; Error
altd res 1,e ; Error
altd res 1,h ; Error
altd res 1,l ; Error
altd res 2,a ; Error
altd res 2,b ; Error
altd res 2,c ; Error
altd res 2,d ; Error
altd res 2,e ; Error
altd res 2,h ; Error
altd res 2,l ; Error
altd res 3,a ; Error
altd res 3,b ; Error
altd res 3,c ; Error
altd res 3,d ; Error
altd res 3,e ; Error
altd res 3,h ; Error
altd res 3,l ; Error
altd res 4,a ; Error
altd res 4,b ; Error
altd res 4,c ; Error
altd res 4,d ; Error
altd res 4,e ; Error
altd res 4,h ; Error
altd res 4,l ; Error
altd res 5,a ; Error
altd res 5,b ; Error
altd res 5,c ; Error
altd res 5,d ; Error
altd res 5,e ; Error
altd res 5,h ; Error
altd res 5,l ; Error
altd res 6,a ; Error
altd res 6,b ; Error
altd res 6,c ; Error
altd res 6,d ; Error
altd res 6,e ; Error
altd res 6,h ; Error
altd res 6,l ; Error
altd res 7,a ; Error
altd res 7,b ; Error
altd res 7,c ; Error
altd res 7,d ; Error
altd res 7,e ; Error
altd res 7,h ; Error
altd res 7,l ; Error
altd res 8,a ; Error
altd res 8,b ; Error
altd res 8,c ; Error
altd res 8,d ; Error
altd res 8,e ; Error
altd res 8,h ; Error
altd res 8,l ; Error
altd rl de ; Error
altd rr de ; Error
altd rr hl ; Error
altd sbc (hl) ; Error
altd sbc (ix) ; Error
altd sbc (ix+DIS) ; Error
altd sbc (iy) ; Error
altd sbc (iy+DIS) ; Error
altd sbc N ; Error
altd sbc a ; Error
altd sbc a,(hl) ; Error
altd sbc a,(ix) ; Error
altd sbc a,(ix+DIS) ; Error
altd sbc a,(iy) ; Error
altd sbc a,(iy+DIS) ; Error
altd sbc a,N ; Error
altd sbc a,a ; Error
altd sbc a,b ; Error
altd sbc a,c ; Error
altd sbc a,d ; Error
altd sbc a,e ; Error
altd sbc a,h ; Error
altd sbc a,l ; Error
altd sbc b ; Error
altd sbc c ; Error
altd sbc d ; Error
altd sbc e ; Error
altd sbc h ; Error
altd sbc hl,bc ; Error
altd sbc hl,de ; Error
altd sbc hl,hl ; Error
altd sbc hl,sp ; Error
altd sbc l ; Error
altd scf ; Error
altd scf f ; Error
altd set -1,a ; Error
altd set -1,b ; Error
altd set -1,c ; Error
altd set -1,d ; Error
altd set -1,e ; Error
altd set -1,h ; Error
altd set -1,l ; Error
altd set 0,a ; Error
altd set 0,b ; Error
altd set 0,c ; Error
altd set 0,d ; Error
altd set 0,e ; Error
altd set 0,h ; Error
altd set 0,l ; Error
altd set 1,a ; Error
altd set 1,b ; Error
altd set 1,c ; Error
altd set 1,d ; Error
altd set 1,e ; Error
altd set 1,h ; Error
altd set 1,l ; Error
altd set 2,a ; Error
altd set 2,b ; Error
altd set 2,c ; Error
altd set 2,d ; Error
altd set 2,e ; Error
altd set 2,h ; Error
altd set 2,l ; Error
altd set 3,a ; Error
altd set 3,b ; Error
altd set 3,c ; Error
altd set 3,d ; Error
altd set 3,e ; Error
altd set 3,h ; Error
altd set 3,l ; Error
altd set 4,a ; Error
altd set 4,b ; Error
altd set 4,c ; Error
altd set 4,d ; Error
altd set 4,e ; Error
altd set 4,h ; Error
altd set 4,l ; Error
altd set 5,a ; Error
altd set 5,b ; Error
altd set 5,c ; Error
altd set 5,d ; Error
altd set 5,e ; Error
altd set 5,h ; Error
altd set 5,l ; Error
altd set 6,a ; Error
altd set 6,b ; Error
altd set 6,c ; Error
altd set 6,d ; Error
altd set 6,e ; Error
altd set 6,h ; Error
altd set 6,l ; Error
altd set 7,a ; Error
altd set 7,b ; Error
altd set 7,c ; Error
altd set 7,d ; Error
altd set 7,e ; Error
altd set 7,h ; Error
altd set 7,l ; Error
altd set 8,a ; Error
altd set 8,b ; Error
altd set 8,c ; Error
altd set 8,d ; Error
altd set 8,e ; Error
altd set 8,h ; Error
altd set 8,l ; Error
altd sub (hl) ; Error
altd sub (ix) ; Error
altd sub (ix+DIS) ; Error
altd sub (iy) ; Error
altd sub (iy+DIS) ; Error
altd sub N ; Error
altd sub a ; Error
altd sub a,(hl) ; Error
altd sub a,(ix) ; Error
altd sub a,(ix+DIS) ; Error
altd sub a,(iy) ; Error
altd sub a,(iy+DIS) ; Error
altd sub a,N ; Error
altd sub a,a ; Error
altd sub a,b ; Error
altd sub a,c ; Error
altd sub a,d ; Error
altd sub a,e ; Error
altd sub a,h ; Error
altd sub a,l ; Error
altd sub b ; Error
altd sub c ; Error
altd sub d ; Error
altd sub e ; Error
altd sub h ; Error
altd sub l ; Error
altd xor (hl) ; Error
altd xor (ix) ; Error
altd xor (ix+DIS) ; Error
altd xor (iy) ; Error
altd xor (iy+DIS) ; Error
altd xor N ; Error
altd xor a ; Error
altd xor a,(hl) ; Error
altd xor a,(ix) ; Error
altd xor a,(ix+DIS) ; Error
altd xor a,(iy) ; Error
altd xor a,(iy+DIS) ; Error
altd xor a,N ; Error
altd xor a,a ; Error
altd xor a,b ; Error
altd xor a,c ; Error
altd xor a,d ; Error
altd xor a,e ; Error
altd xor a,h ; Error
altd xor a,l ; Error
altd xor b ; Error
altd xor c ; Error
altd xor d ; Error
altd xor e ; Error
altd xor h ; Error
altd xor l ; Error
and a',(hl) ; Error
and a',(ix) ; Error
and a',(ix+DIS) ; Error
and a',(iy) ; Error
and a',(iy+DIS) ; Error
and a',N ; Error
and a',a ; Error
and a',b ; Error
and a',c ; Error
and a',d ; Error
and a',e ; Error
and a',h ; Error
and a',l ; Error
and hl',de ; Error
and hl,de ; Error
and ix,de ; Error
and iy,de ; Error
bit -1,(hl) ; Error
bit -1,(ix) ; Error
bit -1,(ix+DIS) ; Error
bit -1,(iy) ; Error
bit -1,(iy+DIS) ; Error
bit -1,a ; Error
bit -1,b ; Error
bit -1,c ; Error
bit -1,d ; Error
bit -1,e ; Error
bit -1,h ; Error
bit -1,l ; Error
bit 8,(hl) ; Error
bit 8,(ix) ; Error
bit 8,(ix+DIS) ; Error
bit 8,(iy) ; Error
bit 8,(iy+DIS) ; Error
bit 8,a ; Error
bit 8,b ; Error
bit 8,c ; Error
bit 8,d ; Error
bit 8,e ; Error
bit 8,h ; Error
bit 8,l ; Error
bool hl ; Error
bool hl' ; Error
bool ix ; Error
bool iy ; Error
call lo,NN ; Error
call lz,NN ; Error
ccf f' ; Error
cp a',(hl) ; Error
cp a',(ix) ; Error
cp a',(ix+DIS) ; Error
cp a',(iy) ; Error
cp a',(iy+DIS) ; Error
cp a',N ; Error
cp a',a ; Error
cp a',b ; Error
cp a',c ; Error
cp a',d ; Error
cp a',e ; Error
cp a',h ; Error
cp a',l ; Error
cpl a' ; Error
dec a' ; Error
dec b' ; Error
dec bc' ; Error
dec c' ; Error
dec d' ; Error
dec de' ; Error
dec e' ; Error
dec h' ; Error
dec hl' ; Error
dec l' ; Error
djnz b',NN ; Error
ex (sp),hl' ; Error
ex de',hl ; Error
ex de',hl' ; Error
ex de,hl' ; Error
idet ; Error
im -1 ; Error
im 3 ; Error
in0 a,(N) ; Error
in0 b,(N) ; Error
in0 c,(N) ; Error
in0 d,(N) ; Error
in0 e,(N) ; Error
in0 f,(N) ; Error
in0 h,(N) ; Error
in0 l,(N) ; Error
inc a' ; Error
inc b' ; Error
inc bc' ; Error
inc c' ; Error
inc d' ; Error
inc de' ; Error
inc e' ; Error
inc h' ; Error
inc hl' ; Error
inc l' ; Error
ioe ld a,(NN) ; Error
ioe ldd ; Error
ioe lddr ; Error
ioe ldi ; Error
ioe ldir ; Error
ioi ld a,(NN) ; Error
ioi ldd ; Error
ioi lddr ; Error
ioi ldi ; Error
ioi ldir ; Error
ipres ; Error
ipset -1 ; Error
ipset 0 ; Error
ipset 1 ; Error
ipset 2 ; Error
ipset 3 ; Error
ipset 4 ; Error
jp lo,NN ; Error
jp lz,NN ; Error
ld (hl),hl ; Error
ld (hl+DIS),hl ; Error
ld (ix),hl ; Error
ld (ix+DIS),hl ; Error
ld (iy),hl ; Error
ld (iy+DIS),hl ; Error
ld (sp),hl ; Error
ld (sp),ix ; Error
ld (sp),iy ; Error
ld (sp+N),hl ; Error
ld (sp+N),ix ; Error
ld (sp+N),iy ; Error
ld a',(NN) ; Error
ld a',(bc) ; Error
ld a',(de) ; Error
ld a',(hl) ; Error
ld a',(ix) ; Error
ld a',(ix+DIS) ; Error
ld a',(iy) ; Error
ld a',(iy+DIS) ; Error
ld a',N ; Error
ld a',a ; Error
ld a',b ; Error
ld a',c ; Error
ld a',d ; Error
ld a',e ; Error
ld a',eir ; Error
ld a',h ; Error
ld a',iir ; Error
ld a',l ; Error
ld a',xpc ; Error
ld a,eir ; Error
ld a,iir ; Error
ld a,xpc ; Error
ld b',(hl) ; Error
ld b',(ix) ; Error
ld b',(ix+DIS) ; Error
ld b',(iy) ; Error
ld b',(iy+DIS) ; Error
ld b',N ; Error
ld b',a ; Error
ld b',b ; Error
ld b',c ; Error
ld b',d ; Error
ld b',e ; Error
ld b',h ; Error
ld b',l ; Error
ld bc',(NN) ; Error
ld bc',NN ; Error
ld bc',bc ; Error
ld bc',de ; Error
ld c',(hl) ; Error
ld c',(ix) ; Error
ld c',(ix+DIS) ; Error
ld c',(iy) ; Error
ld c',(iy+DIS) ; Error
ld c',N ; Error
ld c',a ; Error
ld c',b ; Error
ld c',c ; Error
ld c',d ; Error
ld c',e ; Error
ld c',h ; Error
ld c',l ; Error
ld d',(hl) ; Error
ld d',(ix) ; Error
ld d',(ix+DIS) ; Error
ld d',(iy) ; Error
ld d',(iy+DIS) ; Error
ld d',N ; Error
ld d',a ; Error
ld d',b ; Error
ld d',c ; Error
ld d',d ; Error
ld d',e ; Error
ld d',h ; Error
ld d',l ; Error
ld de',(NN) ; Error
ld de',NN ; Error
ld de',bc ; Error
ld de',de ; Error
ld e',(hl) ; Error
ld e',(ix) ; Error
ld e',(ix+DIS) ; Error
ld e',(iy) ; Error
ld e',(iy+DIS) ; Error
ld e',N ; Error
ld e',a ; Error
ld e',b ; Error
ld e',c ; Error
ld e',d ; Error
ld e',e ; Error
ld e',h ; Error
ld e',l ; Error
ld eir,a ; Error
ld h',(hl) ; Error
ld h',(ix) ; Error
ld h',(ix+DIS) ; Error
ld h',(iy) ; Error
ld h',(iy+DIS) ; Error
ld h',N ; Error
ld h',a ; Error
ld h',b ; Error
ld h',c ; Error
ld h',d ; Error
ld h',e ; Error
ld h',h ; Error
ld h',l ; Error
ld hl',(NN) ; Error
ld hl',(hl) ; Error
ld hl',(hl+DIS) ; Error
ld hl',(ix) ; Error
ld hl',(ix+DIS) ; Error
ld hl',(iy) ; Error
ld hl',(iy+DIS) ; Error
ld hl',(sp) ; Error
ld hl',(sp+N) ; Error
ld hl',NN ; Error
ld hl',bc ; Error
ld hl',de ; Error
ld hl',ix ; Error
ld hl',iy ; Error
ld hl,(hl) ; Error
ld hl,(hl+DIS) ; Error
ld hl,(ix) ; Error
ld hl,(ix+DIS) ; Error
ld hl,(iy) ; Error
ld hl,(iy+DIS) ; Error
ld hl,(sp) ; Error
ld hl,(sp+N) ; Error
ld hl,ix ; Error
ld hl,iy ; Error
ld iir,a ; Error
ld ix,(sp) ; Error
ld ix,(sp+N) ; Error
ld ix,hl ; Error
ld iy,(sp) ; Error
ld iy,(sp+N) ; Error
ld iy,hl ; Error
ld l',(hl) ; Error
ld l',(ix) ; Error
ld l',(ix+DIS) ; Error
ld l',(iy) ; Error
ld l',(iy+DIS) ; Error
ld l',N ; Error
ld l',a ; Error
ld l',b ; Error
ld l',c ; Error
ld l',d ; Error
ld l',e ; Error
ld l',h ; Error
ld l',l ; Error
ld xpc,a ; Error
lddsr ; Error
ldisr ; Error
ldp (NN),hl ; Error
ldp (NN),ix ; Error
ldp (NN),iy ; Error
ldp (hl),hl ; Error
ldp (ix),hl ; Error
ldp (iy),hl ; Error
ldp hl,(NN) ; Error
ldp hl,(hl) ; Error
ldp hl,(ix) ; Error
ldp hl,(iy) ; Error
ldp ix,(NN) ; Error
ldp iy,(NN) ; Error
lsddr ; Error
lsdr ; Error
lsidr ; Error
lsir ; Error
mlt bc ; Error
mlt de ; Error
mlt hl ; Error
mlt sp ; Error
neg a' ; Error
or a',(hl) ; Error
or a',(ix) ; Error
or a',(ix+DIS) ; Error
or a',(iy) ; Error
or a',(iy+DIS) ; Error
or a',N ; Error
or a',a ; Error
or a',b ; Error
or a',c ; Error
or a',d ; Error
or a',e ; Error
or a',h ; Error
or a',l ; Error
or hl',de ; Error
or hl,de ; Error
or ix,de ; Error
or iy,de ; Error
otdm ; Error
otdmr ; Error
otim ; Error
otimr ; Error
out (c),-1 ; Error
out (c),1 ; Error
out0 (N),a ; Error
out0 (N),b ; Error
out0 (N),c ; Error
out0 (N),d ; Error
out0 (N),e ; Error
out0 (N),h ; Error
out0 (N),l ; Error
pop af' ; Error
pop bc' ; Error
pop de' ; Error
pop hl' ; Error
pop ip ; Error
pop su ; Error
push ip ; Error
push su ; Error
rdmode ; Error
res -1,(hl) ; Error
res -1,(ix) ; Error
res -1,(ix+DIS) ; Error
res -1,(iy) ; Error
res -1,(iy+DIS) ; Error
res -1,a ; Error
res -1,a' ; Error
res -1,b ; Error
res -1,b' ; Error
res -1,c ; Error
res -1,c' ; Error
res -1,d ; Error
res -1,d' ; Error
res -1,e ; Error
res -1,e' ; Error
res -1,h ; Error
res -1,h' ; Error
res -1,l ; Error
res -1,l' ; Error
res 0,a' ; Error
res 0,b' ; Error
res 0,c' ; Error
res 0,d' ; Error
res 0,e' ; Error
res 0,h' ; Error
res 0,l' ; Error
res 1,a' ; Error
res 1,b' ; Error
res 1,c' ; Error
res 1,d' ; Error
res 1,e' ; Error
res 1,h' ; Error
res 1,l' ; Error
res 2,a' ; Error
res 2,b' ; Error
res 2,c' ; Error
res 2,d' ; Error
res 2,e' ; Error
res 2,h' ; Error
res 2,l' ; Error
res 3,a' ; Error
res 3,b' ; Error
res 3,c' ; Error
res 3,d' ; Error
res 3,e' ; Error
res 3,h' ; Error
res 3,l' ; Error
res 4,a' ; Error
res 4,b' ; Error
res 4,c' ; Error
res 4,d' ; Error
res 4,e' ; Error
res 4,h' ; Error
res 4,l' ; Error
res 5,a' ; Error
res 5,b' ; Error
res 5,c' ; Error
res 5,d' ; Error
res 5,e' ; Error
res 5,h' ; Error
res 5,l' ; Error
res 6,a' ; Error
res 6,b' ; Error
res 6,c' ; Error
res 6,d' ; Error
res 6,e' ; Error
res 6,h' ; Error
res 6,l' ; Error
res 7,a' ; Error
res 7,b' ; Error
res 7,c' ; Error
res 7,d' ; Error
res 7,e' ; Error
res 7,h' ; Error
res 7,l' ; Error
res 8,(hl) ; Error
res 8,(ix) ; Error
res 8,(ix+DIS) ; Error
res 8,(iy) ; Error
res 8,(iy+DIS) ; Error
res 8,a ; Error
res 8,a' ; Error
res 8,b ; Error
res 8,b' ; Error
res 8,c ; Error
res 8,c' ; Error
res 8,d ; Error
res 8,d' ; Error
res 8,e ; Error
res 8,e' ; Error
res 8,h ; Error
res 8,h' ; Error
res 8,l ; Error
res 8,l' ; Error
ret lo ; Error
ret lz ; Error
rl de ; Error
rl de' ; Error
rr de ; Error
rr de' ; Error
rr hl ; Error
rr hl' ; Error
rr ix ; Error
rr iy ; Error
rst -1 ; Error
rst 49 ; Error
rst 57 ; Error
sbc a',(hl) ; Error
sbc a',(ix) ; Error
sbc a',(ix+DIS) ; Error
sbc a',(iy) ; Error
sbc a',(iy+DIS) ; Error
sbc a',N ; Error
sbc a',a ; Error
sbc a',b ; Error
sbc a',c ; Error
sbc a',d ; Error
sbc a',e ; Error
sbc a',h ; Error
sbc a',l ; Error
sbc hl',bc ; Error
sbc hl',de ; Error
sbc hl',hl ; Error
sbc hl',sp ; Error
scf f' ; Error
set -1,(hl) ; Error
set -1,(ix) ; Error
set -1,(ix+DIS) ; Error
set -1,(iy) ; Error
set -1,(iy+DIS) ; Error
set -1,a ; Error
set -1,a' ; Error
set -1,b ; Error
set -1,b' ; Error
set -1,c ; Error
set -1,c' ; Error
set -1,d ; Error
set -1,d' ; Error
set -1,e ; Error
set -1,e' ; Error
set -1,h ; Error
set -1,h' ; Error
set -1,l ; Error
set -1,l' ; Error
set 0,a' ; Error
set 0,b' ; Error
set 0,c' ; Error
set 0,d' ; Error
set 0,e' ; Error
set 0,h' ; Error
set 0,l' ; Error
set 1,a' ; Error
set 1,b' ; Error
set 1,c' ; Error
set 1,d' ; Error
set 1,e' ; Error
set 1,h' ; Error
set 1,l' ; Error
set 2,a' ; Error
set 2,b' ; Error
set 2,c' ; Error
set 2,d' ; Error
set 2,e' ; Error
set 2,h' ; Error
set 2,l' ; Error
set 3,a' ; Error
set 3,b' ; Error
set 3,c' ; Error
set 3,d' ; Error
set 3,e' ; Error
set 3,h' ; Error
set 3,l' ; Error
set 4,a' ; Error
set 4,b' ; Error
set 4,c' ; Error
set 4,d' ; Error
set 4,e' ; Error
set 4,h' ; Error
set 4,l' ; Error
set 5,a' ; Error
set 5,b' ; Error
set 5,c' ; Error
set 5,d' ; Error
set 5,e' ; Error
set 5,h' ; Error
set 5,l' ; Error
set 6,a' ; Error
set 6,b' ; Error
set 6,c' ; Error
set 6,d' ; Error
set 6,e' ; Error
set 6,h' ; Error
set 6,l' ; Error
set 7,a' ; Error
set 7,b' ; Error
set 7,c' ; Error
set 7,d' ; Error
set 7,e' ; Error
set 7,h' ; Error
set 7,l' ; Error
set 8,(hl) ; Error
set 8,(ix) ; Error
set 8,(ix+DIS) ; Error
set 8,(iy) ; Error
set 8,(iy+DIS) ; Error
set 8,a ; Error
set 8,a' ; Error
set 8,b ; Error
set 8,b' ; Error
set 8,c ; Error
set 8,c' ; Error
set 8,d ; Error
set 8,d' ; Error
set 8,e ; Error
set 8,e' ; Error
set 8,h ; Error
set 8,h' ; Error
set 8,l ; Error
set 8,l' ; Error
setusr ; Error
slp ; Error
sub a',(hl) ; Error
sub a',(ix) ; Error
sub a',(ix+DIS) ; Error
sub a',(iy) ; Error
sub a',(iy+DIS) ; Error
sub a',N ; Error
sub a',a ; Error
sub a',b ; Error
sub a',c ; Error
sub a',d ; Error
sub a',e ; Error
sub a',h ; Error
sub a',l ; Error
sures ; Error
syscall ; Error
tst (hl) ; Error
tst N ; Error
tst a ; Error
tst a,(hl) ; Error
tst a,N ; Error
tst a,a ; Error
tst a,b ; Error
tst a,c ; Error
tst a,d ; Error
tst a,e ; Error
tst a,h ; Error
tst a,l ; Error
tst b ; Error
tst c ; Error
tst d ; Error
tst e ; Error
tst h ; Error
tst l ; Error
tstio N ; Error
uma ; Error
ums ; Error
xor a',(hl) ; Error
xor a',(ix) ; Error
xor a',(ix+DIS) ; Error
xor a',(iy) ; Error
xor a',(iy+DIS) ; Error
xor a',N ; Error
xor a',a ; Error
xor a',b ; Error
xor a',c ; Error
xor a',d ; Error
xor a',e ; Error
xor a',h ; Error
xor a',l ; Error
|
engine/phone/scripts/wade.asm | Dev727/ancientplatinum | 28 | 11538 | <reponame>Dev727/ancientplatinum
WadePhoneCalleeScript:
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
checkflag ENGINE_WADE
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_WADE_TUESDAY_NIGHT
iftrue .NotTuesday
checkflag ENGINE_WADE_HAS_ITEM
iftrue .HasItem
readvar VAR_WEEKDAY
ifnotequal TUESDAY, .NotTuesday
checktime NITE
iftrue WadeTuesdayNight
.NotTuesday:
farscall PhoneScript_Random2
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
readvar VAR_WEEKDAY
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
.NoContest:
farsjump UnknownScript_0xa0938
.ContestToday:
farsjump PhoneScript_BugCatchingContest
.WantsBattle:
getlandmarkname STRING_BUFFER_5, ROUTE_31
farsjump UnknownScript_0xa0a50
.HasItem:
getlandmarkname STRING_BUFFER_5, ROUTE_31
farsjump UnknownScript_0xa0ab5
WadePhoneCallerScript:
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
farscall PhoneScript_GreetPhone_Male
farscall PhoneScript_Random2
ifequal 0, .NoContest
checkflag ENGINE_DAILY_BUG_CONTEST
iftrue .NoContest
readvar VAR_WEEKDAY
ifequal TUESDAY, .ContestToday
ifequal THURSDAY, .ContestToday
ifequal SATURDAY, .ContestToday
.NoContest:
checkflag ENGINE_WADE
iftrue .next
checkflag ENGINE_WADE_TUESDAY_NIGHT
iftrue .next
checkflag ENGINE_WADE_HAS_ITEM
iftrue .next
farscall PhoneScript_Random2
ifequal 0, WadeHasItem2
checkflag ENGINE_FLYPOINT_GOLDENROD
iffalse .next
farscall PhoneScript_Random2
ifequal 0, WadeWantsBattle2
.next:
farscall PhoneScript_Random3
ifequal 0, WadeFoundRare
farsjump Phone_GenericCall_Male
.ContestToday:
farsjump PhoneScript_BugCatchingContest
WadeTuesdayNight:
setflag ENGINE_WADE_TUESDAY_NIGHT
WadeWantsBattle2:
getlandmarkname STRING_BUFFER_5, ROUTE_31
setflag ENGINE_WADE
farsjump PhoneScript_WantsToBattle_Male
WadeFoundRare:
farsjump Phone_CheckIfUnseenRare_Male
WadeHasItem2:
setflag ENGINE_WADE_HAS_ITEM
getlandmarkname STRING_BUFFER_5, ROUTE_31
clearevent EVENT_WADE_HAS_BERRY
clearevent EVENT_WADE_HAS_PSNCUREBERRY
clearevent EVENT_WADE_HAS_PRZCUREBERRY
clearevent EVENT_WADE_HAS_BITTER_BERRY
random 4
ifequal 0, .Berry
ifequal 1, .PsnCureBerry
ifequal 2, .PrzCureBerry
ifequal 3, .Bitterberry
.Berry:
setevent EVENT_WADE_HAS_BERRY
sjump .FoundBerry
.PsnCureBerry:
setevent EVENT_WADE_HAS_PSNCUREBERRY
sjump .FoundBerry
.PrzCureBerry:
setevent EVENT_WADE_HAS_PRZCUREBERRY
sjump .FoundBerry
.Bitterberry:
setevent EVENT_WADE_HAS_BITTER_BERRY
.FoundBerry:
farsjump PhoneScript_FoundItem_Male
|
test/Succeed/OldCompilerPragmas.agda | alhassy/agda | 3 | 6596 |
module _ where
data Bool : Set where
false true : Bool
{-# COMPILED_DATA Bool Bool False True #-}
postulate
IO : Set → Set
return : {A : Set} → A → IO A
{-# COMPILED_TYPE IO IO #-}
{-# COMPILED return \ _ -> return #-}
{-# COMPILED_UHC return \ _ x -> UHC.Agda.Builtins.primReturn x #-}
{-# COMPILED_JS return function(u) { return function(x) { return function(cb) { cb(x); }; }; } #-}
{-# IMPORT Data.Maybe #-}
{-# HASKELL printMaybe = putStrLn . Data.Maybe.fromMaybe "" #-}
returnTrue : IO Bool
returnTrue = return true
{-# COMPILED_EXPORT returnTrue returnTrue #-}
|
oeis/164/A164494.asm | neoneye/loda-programs | 11 | 167286 | ; A164494: Number of binary strings of length n with no substrings equal to 0010 0101 or 1010
; 13,23,40,70,123,216,379,665,1167,2048,3594,6307,11068,19423,34085,59815,104968,184206,323259,567280,995507,1746993,3065759,5380032,9441298,16568323,29075380,51023735,89540413,157132471,275748264,483904470,849193147,1490230088,2615171499,4589306057,8053670703,14133206848,24802049050,43524561955,76380281708,134038050511,235220381269,412782993735,724383656712,1271204700958,2230808738939,3914796433632,6869988829283,12055989963873,21156787532095,37127573929600,65154350290978,114337914184451
add $0,4
seq $0,137495 ; A098601(2n)+A098601(2n+1)
|
zx_rom_plot_sub.asm | imneme/spectrum-minilib | 1 | 20994 | <filename>zx_rom_plot_sub.asm
INCLUDE "romdefs.inc"
SECTION code_clib
GLOBAL _zx_rom_plot_sub
_zx_rom_plot_sub:
pop af ; retaddr
pop bc ; yx
push af ; restore retaddr
jp ROM3_PLOT_SUB
|
Sources/Globe_3d/models/terrain.adb | ForYouEyesOnly/Space-Convoy | 1 | 16422 | pragma Warnings (Off);
pragma Style_Checks (Off);
with GL,
GL.Textures,
GL.Skins; use GL, GL.Textures;
with GL.Buffer.vertex,
GL.Buffer.indices,
GL.Buffer.texture_coords;
with GL.Geometry.VBO;
with GL.skinned_Geometry;
with GL.IO;
with GLOBE_3D.Math; use GLOBE_3D.Math;
with Ada.Numerics; use Ada.Numerics;
with ada.text_io; use ada.text_io;
package body Terrain is
-- tbd : this package uses a 'Sprite', whereas a 'triMesh.vbo' would probably be more appropriate.
function to_Matrix (tga_Heights : in String) return Matrix
is
use globe_3d, GL.IO;
the_Image : GL.io.Image := to_TGA_Image (tga_Heights);
the_Pixels : GL.io.Byte_grid := to_greyscale_Pixels (the_Image);
the_Heights : Matrix (the_Pixels'Range (1),
the_Pixels'Range (2));
begin
for Row in the_Heights'Range (1) loop
for Col in the_Heights'Range (2) loop
the_Heights (Row, Col) := Real (the_Pixels (Row, Col));
end loop;
end loop;
free (the_Image.Data);
return the_Heights;
end;
function to_Height_Map (the_Matrix : in Matrix) return height_Map
is
the_height_Map : height_Map (column_Count => the_Matrix'Length (2),
row_Count => the_Matrix'Length (1));
begin
for Row in the_Matrix'Range (1) loop
for Col in the_Matrix'Range (2) loop
the_height_Map.Heights (Row, Col) := the_Matrix (Row, Col);
the_height_Map.min_Height := Real'Min (the_height_Map.min_Height, the_Matrix (Row, Col));
the_height_Map.max_Height := Real'Max (the_height_Map.max_Height, the_Matrix (Row, Col));
end loop;
end loop;
return the_height_Map;
end;
function Width (Self : in height_Map) return Real
is
begin
return Real (self.column_Count - 1);
end;
function Depth (Self : in height_Map) return Real
is
begin
return Real (self.row_Count - 1);
end;
function Vertex_Id_for (the_height_Map : in height_Map;
Row, Col : in Positive) return GL.geometry.vertex_Id is
begin
return GL.geometry.vertex_Id ((Row - 1) * the_height_Map.column_Count + Col);
end Vertex_Id_for;
procedure set (the_Vertices : in out GL.geometry.GL_Vertex_Array;
from_height_Map : in height_Map;
scale : in GLOBE_3D.Vector_3D;
height_Offset : out Real)
is
use GLOBE_3D, GL, GL.Geometry, GLOBE_3D.REF, GLOBE_3D.Math, globe_3d.tri_Mesh;
the_height_Offset : Real := from_height_Map.min_Height + (from_height_Map.max_Height - from_height_Map.min_Height) / 2.0;
MidPoint : GL.geometry.GL_Vertex := ((Real (from_height_Map.column_Count - 1) / 2.0),
the_height_Offset,
(Real (from_height_Map.row_Count - 1) / 2.0));
procedure apply_scaling (the_Vertex : in out Vector_3D) is
begin
the_Vertex (0) := the_Vertex (0) * Scale (0);
the_Vertex (1) := the_Vertex (1) * Scale (1);
the_Vertex (2) := the_Vertex (2) * Scale (2);
end apply_scaling;
begin
for Row in from_height_Map.Heights'Range (1) loop
for Col in from_height_Map.Heights'Range (2) loop
declare
use type GL.geometry.GL_Vertex;
the_Point : GL.geometry.GL_Vertex renames the_Vertices (Vertex_Id_for (from_height_Map, Row, Col));
begin
the_Point := GL.geometry.GL_Vertex' (Real (Col) - 1.0, -- '- 1.0' adjusts for '1 based' indexing.
from_height_Map.Heights (Row, Col),
Real (Row) - 1.0)
- Midpoint;
apply_scaling (the_Point);
end;
end loop;
end loop;
height_Offset := Scale (1) * the_height_Offset;
end set;
end Terrain;
|
oeis/304/A304584.asm | neoneye/loda-programs | 11 | 105114 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A304584: A linear mapping a(n) = x + d*n of pairs of nonnegative integers (x,d), where the pairs are enumerated by antidiagonals.
; Submitted by <NAME>
; 0,1,2,2,5,10,3,9,17,27,4,14,26,40,56,5,20,37,56,77,100,6,27,50,75,102,131,162,7,35,65,97,131,167,205,245,8,44,82,122,164,208,254,302,352,9,54,101,150,201,254,309,366,425,486,10,65,122,181,242,305,370,437,506,577,650,11,77,145,215,287,361,437,515,595,677,761,847,12,90,170,252,336,422,510,600,692,786,882,980,1080,13,104,197,292,389,488,589,692,797
mov $2,$0
lpb $2
sub $1,1
add $2,$1
lpe
add $1,$2
mul $2,$0
sub $2,$1
mov $0,$2
|
Definition/Typed/Consequences/Inversion.agda | Vtec234/logrel-mltt | 0 | 15727 | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.Inversion where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.Consequences.Syntactic
open import Definition.Typed.Consequences.Substitution
open import Definition.Typed.Consequences.Inequality
open import Tools.Product
open import Tools.Empty using (⊥; ⊥-elim)
-- Inversion of U (it has no type).
inversion-U : ∀ {Γ C} → Γ ⊢ U ∷ C → ⊥
inversion-U (conv x x₁) = inversion-U x
-- Inversion of natural number type.
inversion-ℕ : ∀ {Γ C} → Γ ⊢ ℕ ∷ C → Γ ⊢ C ≡ U
inversion-ℕ (ℕⱼ x) = refl (Uⱼ x)
inversion-ℕ (conv x x₁) = trans (sym x₁) (inversion-ℕ x)
-- Inversion of Empty.
inversion-Empty : ∀ {Γ C} → Γ ⊢ Empty ∷ C → Γ ⊢ C ≡ U
inversion-Empty (Emptyⱼ x) = refl (Uⱼ x)
inversion-Empty (conv x x₁) = trans (sym x₁) (inversion-Empty x)
-- Inversion of Unit.
inversion-Unit : ∀ {Γ C} → Γ ⊢ Unit ∷ C → Γ ⊢ C ≡ U
inversion-Unit (Unitⱼ x) = refl (Uⱼ x)
inversion-Unit (conv x x₁) = trans (sym x₁) (inversion-Unit x)
-- Inversion of Π-types.
inversion-Π : ∀ {F G Γ C}
→ Γ ⊢ Π F ▹ G ∷ C → Γ ⊢ F ∷ U × Γ ∙ F ⊢ G ∷ U × Γ ⊢ C ≡ U
inversion-Π (Πⱼ x ▹ x₁) = x , x₁ , refl (Uⱼ (wfTerm x))
inversion-Π (conv x x₁) = let a , b , c = inversion-Π x
in a , b , trans (sym x₁) c
inversion-Σ : ∀ {F G Γ C}
→ Γ ⊢ Σ F ▹ G ∷ C → Γ ⊢ F ∷ U × Γ ∙ F ⊢ G ∷ U × Γ ⊢ C ≡ U
inversion-Σ (Σⱼ x ▹ x₁) = x , x₁ , refl (Uⱼ (wfTerm x))
inversion-Σ (conv x x₁) = let a , b , c = inversion-Σ x
in a , b , trans (sym x₁) c
-- Inversion of zero.
inversion-zero : ∀ {Γ C} → Γ ⊢ zero ∷ C → Γ ⊢ C ≡ ℕ
inversion-zero (zeroⱼ x) = refl (ℕⱼ x)
inversion-zero (conv x x₁) = trans (sym x₁) (inversion-zero x)
-- Inversion of successor.
inversion-suc : ∀ {Γ t C} → Γ ⊢ suc t ∷ C → Γ ⊢ t ∷ ℕ × Γ ⊢ C ≡ ℕ
inversion-suc (sucⱼ x) = x , refl (ℕⱼ (wfTerm x))
inversion-suc (conv x x₁) =
let a , b = inversion-suc x
in a , trans (sym x₁) b
-- Inversion of natural recursion.
inversion-natrec : ∀ {Γ c g n A C} → Γ ⊢ natrec C c g n ∷ A
→ (Γ ∙ ℕ ⊢ C)
× Γ ⊢ c ∷ C [ zero ]
× Γ ⊢ g ∷ Π ℕ ▹ (C ▹▹ C [ suc (var 0) ]↑)
× Γ ⊢ n ∷ ℕ
× Γ ⊢ A ≡ C [ n ]
inversion-natrec (natrecⱼ x d d₁ n) = x , d , d₁ , n , refl (substType x n)
inversion-natrec (conv d x) = let a , b , c , d , e = inversion-natrec d
in a , b , c , d , trans (sym x) e
-- Inversion of application.
inversion-app : ∀ {Γ f a A} → Γ ⊢ (f ∘ a) ∷ A →
∃₂ λ F G → Γ ⊢ f ∷ Π F ▹ G × Γ ⊢ a ∷ F × Γ ⊢ A ≡ G [ a ]
inversion-app (d ∘ⱼ d₁) = _ , _ , d , d₁ , refl (substTypeΠ (syntacticTerm d) d₁)
inversion-app (conv d x) = let a , b , c , d , e = inversion-app d
in a , b , c , d , trans (sym x) e
-- Inversion of lambda.
inversion-lam : ∀ {t A Γ} → Γ ⊢ lam t ∷ A →
∃₂ λ F G → Γ ⊢ F × (Γ ∙ F ⊢ t ∷ G × Γ ⊢ A ≡ Π F ▹ G)
inversion-lam (lamⱼ x x₁) = _ , _ , x , x₁ , refl (Πⱼ x ▹ (syntacticTerm x₁))
inversion-lam (conv x x₁) = let a , b , c , d , e = inversion-lam x
in a , b , c , d , trans (sym x₁) e
-- Inversion of products.
inversion-prod : ∀ {t u A Γ} → Γ ⊢ prod t u ∷ A →
∃₂ λ F G → Γ ⊢ F × (Γ ∙ F ⊢ G × (Γ ⊢ t ∷ F × Γ ⊢ u ∷ G [ t ] × Γ ⊢ A ≡ Σ F ▹ G))
inversion-prod (prodⱼ ⊢F ⊢G ⊢t ⊢u) =
-- NOTE fundamental theorem not required since prodⱼ has inversion built-in.
_ , _ , ⊢F , ⊢G , ⊢t , ⊢u , refl (Σⱼ ⊢F ▹ ⊢G )
inversion-prod (conv x x₁) =
let F , G , a , b , c , d , e = inversion-prod x
in F , G , a , b , c , d , trans (sym x₁) e
-- Inversion of star.
inversion-star : ∀ {Γ C} → Γ ⊢ star ∷ C → Γ ⊢ C ≡ Unit
inversion-star (starⱼ x) = refl (Unitⱼ x)
inversion-star (conv x x₁) = trans (sym x₁) (inversion-star x)
-- Inversion of products in WHNF.
whnfProduct : ∀ {Γ p F G} → Γ ⊢ p ∷ Σ F ▹ G → Whnf p → Product p
whnfProduct x prodₙ = prodₙ
whnfProduct x (ne pNe) = ne pNe
whnfProduct x Uₙ = ⊥-elim (inversion-U x)
whnfProduct x Πₙ =
let _ , _ , Σ≡U = inversion-Π x
in ⊥-elim (U≢Σ (sym Σ≡U))
whnfProduct x Σₙ =
let _ , _ , Σ≡U = inversion-Σ x
in ⊥-elim (U≢Σ (sym Σ≡U))
whnfProduct x ℕₙ = ⊥-elim (U≢Σ (sym (inversion-ℕ x)))
whnfProduct x Unitₙ = ⊥-elim (U≢Σ (sym (inversion-Unit x)))
whnfProduct x Emptyₙ = ⊥-elim (U≢Σ (sym (inversion-Empty x)))
whnfProduct x lamₙ =
let _ , _ , _ , _ , Σ≡Π = inversion-lam x
in ⊥-elim (Π≢Σ (sym Σ≡Π))
whnfProduct x zeroₙ = ⊥-elim (ℕ≢Σ (sym (inversion-zero x)))
whnfProduct x sucₙ =
let _ , A≡ℕ = inversion-suc x
in ⊥-elim (ℕ≢Σ (sym A≡ℕ))
whnfProduct x starₙ = ⊥-elim (Unit≢Σⱼ (sym (inversion-star x)))
|
assembler/tests/t_stringify/t_stringify.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 15550 | <gh_stars>0
cpu 8051
cnt set 0
while cnt<>10
var{"\{CNT}"} equ cnt
cnt set cnt+1
endm
db var1,var9,var2,var8
|
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca.log_21829_391.asm | ljhsiun2/medusa | 9 | 171357 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc1f4, %rsi
lea addresses_UC_ht+0x1d274, %rdi
nop
nop
and $4624, %rax
mov $123, %rcx
rep movsw
nop
nop
nop
cmp $10875, %r15
lea addresses_UC_ht+0xe274, %rbp
nop
nop
nop
inc %r15
movb (%rbp), %cl
nop
nop
add $43495, %rdi
lea addresses_D_ht+0x13614, %rsi
lea addresses_WC_ht+0x9874, %rdi
clflush (%rsi)
nop
sub $9100, %r10
mov $126, %rcx
rep movsw
nop
sub %rbp, %rbp
lea addresses_D_ht+0x274, %rcx
and $13133, %r10
mov $0x6162636465666768, %r15
movq %r15, %xmm4
movups %xmm4, (%rcx)
nop
nop
inc %r15
lea addresses_WT_ht+0x17e94, %rsi
lea addresses_WC_ht+0x1cee4, %rdi
clflush (%rdi)
inc %rbp
mov $95, %rcx
rep movsq
nop
nop
nop
xor $42069, %rsi
lea addresses_D_ht+0xcd56, %rsi
lea addresses_WC_ht+0xf1a8, %rdi
nop
nop
and %r11, %r11
mov $58, %rcx
rep movsq
nop
nop
add %rax, %rax
lea addresses_WC_ht+0x8274, %rdi
nop
nop
add %rcx, %rcx
movups (%rdi), %xmm5
vpextrq $0, %xmm5, %rax
cmp %r10, %r10
lea addresses_normal_ht+0x1d038, %rbp
nop
nop
nop
nop
cmp $18569, %r15
mov $0x6162636465666768, %rsi
movq %rsi, (%rbp)
nop
nop
nop
nop
dec %rdi
lea addresses_UC_ht+0x1d37a, %rax
nop
nop
nop
nop
nop
add $52339, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
movups %xmm3, (%rax)
cmp $60185, %rdi
lea addresses_normal_ht+0x1dd54, %rax
nop
nop
nop
xor %rcx, %rcx
mov $0x6162636465666768, %r10
movq %r10, (%rax)
nop
nop
cmp $9598, %rcx
lea addresses_WT_ht+0x11b94, %rsi
nop
cmp $23788, %rax
movw $0x6162, (%rsi)
nop
nop
sub %rcx, %rcx
lea addresses_D_ht+0x14214, %r10
nop
nop
nop
xor %rsi, %rsi
vmovups (%r10), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %r11
nop
and $49667, %rbp
lea addresses_UC_ht+0x13cd8, %r15
nop
nop
nop
and $35478, %rcx
movb $0x61, (%r15)
nop
nop
nop
nop
and $22278, %rax
lea addresses_WC_ht+0x1812, %rsi
lea addresses_A_ht+0x184e4, %rdi
nop
nop
nop
nop
nop
cmp $9943, %rbp
mov $87, %rcx
rep movsb
nop
add %rsi, %rsi
lea addresses_D_ht+0xd0b4, %rdi
nop
nop
nop
xor $3214, %rsi
movb $0x61, (%rdi)
nop
nop
nop
nop
dec %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
// Store
lea addresses_US+0x1203e, %rdi
nop
nop
nop
nop
xor %r8, %r8
mov $0x5152535455565758, %rcx
movq %rcx, %xmm3
movups %xmm3, (%rdi)
nop
nop
inc %r9
// Store
lea addresses_D+0x7e74, %rcx
nop
nop
nop
nop
xor %r13, %r13
mov $0x5152535455565758, %r9
movq %r9, %xmm6
movaps %xmm6, (%rcx)
nop
nop
nop
nop
and $45167, %r14
// Store
mov $0x4546df0000000644, %r13
nop
nop
sub %rdi, %rdi
movw $0x5152, (%r13)
nop
nop
add $15872, %r8
// Faulty Load
mov $0x2b15e40000000a74, %r11
clflush (%r11)
nop
nop
nop
nop
xor $6317, %r13
vmovups (%r11), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %r9
lea oracles, %rdi
and $0xff, %r9
shlq $12, %r9
mov (%rdi,%r9,1), %r9
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r14
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_US'}}
{'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': True, 'same': False, 'size': 16, 'NT': True, 'type': 'addresses_D'}}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_NC'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_normal_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_normal_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 2, 'NT': True, 'type': 'addresses_WT_ht'}}
{'src': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 1, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_D_ht'}}
{'46': 18, '00': 21811}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_14_1071.asm | ljhsiun2/medusa | 9 | 86306 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rdx
push %rsi
lea addresses_UC_ht+0x1ee5a, %rax
nop
nop
nop
nop
and $40281, %r14
movups (%rax), %xmm0
vpextrq $0, %xmm0, %rbx
nop
nop
cmp $18850, %rbp
lea addresses_WC_ht+0x19e8a, %rsi
nop
nop
nop
nop
nop
xor $53157, %r13
movb (%rsi), %r14b
nop
nop
nop
xor %rbp, %rbp
lea addresses_WC_ht+0x1b05a, %rbx
clflush (%rbx)
nop
dec %r13
movw $0x6162, (%rbx)
inc %rbx
lea addresses_UC_ht+0x10c6c, %rsi
nop
nop
nop
nop
sub $31648, %rdx
mov (%rsi), %bp
nop
nop
nop
xor %rsi, %rsi
lea addresses_D_ht+0x1c05a, %rbp
lfence
movl $0x61626364, (%rbp)
cmp $140, %rbp
pop %rsi
pop %rdx
pop %rbx
pop %rbp
pop %rax
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r8
push %r9
push %rcx
// Store
mov $0x6925400000000d5a, %r14
nop
add $18008, %r13
mov $0x5152535455565758, %r12
movq %r12, %xmm1
vmovups %ymm1, (%r14)
nop
xor $1537, %rcx
// Store
lea addresses_WC+0x77da, %r12
nop
nop
nop
sub %rcx, %rcx
mov $0x5152535455565758, %r10
movq %r10, (%r12)
nop
nop
nop
nop
and %r13, %r13
// Store
mov $0xa5a, %r10
nop
dec %r13
mov $0x5152535455565758, %r12
movq %r12, %xmm1
vmovups %ymm1, (%r10)
inc %r13
// Faulty Load
lea addresses_UC+0xd25a, %r14
nop
nop
nop
cmp $40008, %r8
mov (%r14), %r9w
lea oracles, %rcx
and $0xff, %r9
shlq $12, %r9
mov (%rcx,%r9,1), %r9
pop %rcx
pop %r9
pop %r8
pop %r14
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_NC'}}
{'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC'}}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_P'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}}
{'00': 14}
00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
commands/apps/hazeover/hazeover-toggle-dimming.applescript | afrazkhan/script-commands | 5 | 2136 | <filename>commands/apps/hazeover/hazeover-toggle-dimming.applescript
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Dimming
# @raycast.mode silent
# @raycast.packageName HazeOver
# Optional parameters:
# @raycast.icon images/hazeover.png
# Documentation:
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/thomaspaulmann
# @raycast.description Toggle dimming of all background windows.
tell application "HazeOver"
set enabled to not enabled
if enabled then
log "Enabled dimming"
else
log "Disabled dimming"
end if
end tell
|
complexity-drafts/Comp-lang.agda | benhuds/Agda | 2 | 11500 | {- Name: Bowornmet (<NAME>
-- define the complexity language from the paper
-}
open import Preliminaries
open import Preorder-withmax
module Comp-lang where
-- define the complexity language from the paper
-- we want to focus on arrow, cross, and nat types
-- do I need unit types?
data CTp : Set where
unit : CTp
nat : CTp
_->c_ : CTp → CTp → CTp
_×c_ : CTp → CTp → CTp
C : CTp
-- represent a context as a list of types
Ctx = List CTp
-- de Bruijn indices (for free variables)
data _∈_ : CTp → Ctx → Set where
i0 : ∀ {Γ τ}
→ τ ∈ (τ :: Γ)
iS : ∀ {Γ τ τ1}
→ τ ∈ Γ
→ τ ∈ (τ1 :: Γ)
data _|-_ : Ctx → CTp → Set where
unit : ∀ {Γ}
→ Γ |- unit
0C : ∀ {Γ}
→ Γ |- C
1C : ∀ {Γ}
→ Γ |- C
plusC : ∀ {Γ}
→ Γ |- C
→ Γ |- C
→ Γ |- C
var : ∀ {Γ τ}
→ τ ∈ Γ
→ Γ |- τ
z : ∀ {Γ}
→ Γ |- nat
suc : ∀ {Γ}
→ (e : Γ |- nat)
→ Γ |- nat
rec : ∀ {Γ τ}
→ Γ |- nat
→ Γ |- τ
→ (nat :: (τ :: Γ)) |- τ
→ Γ |- τ
lam : ∀ {Γ τ ρ}
→ (ρ :: Γ) |- τ
→ Γ |- (ρ ->c τ)
app : ∀ {Γ τ1 τ2}
→ Γ |- (τ2 ->c τ1)
→ Γ |- τ2
→ Γ |- τ1
prod : ∀ {Γ τ1 τ2}
→ Γ |- τ1
→ Γ |- τ2
→ Γ |- (τ1 ×c τ2)
l-proj : ∀ {Γ τ1 τ2}
→ Γ |- (τ1 ×c τ2)
→ Γ |- τ1
r-proj : ∀ {Γ τ1 τ2}
→ Γ |- (τ1 ×c τ2)
→ Γ |- τ2
_+C_ : ∀ {Γ τ} → Γ |- C → Γ |- (C ×c τ)→ Γ |- (C ×c τ)
c +C e = prod (plusC c (l-proj e)) (r-proj e)
------weakening and substitution lemmas
-- renaming function
rctx : Ctx → Ctx → Set
rctx Γ Γ' = ∀ {τ} → τ ∈ Γ' → τ ∈ Γ
-- re: transferring variables in contexts
lem1 : ∀ {Γ Γ' τ} → rctx Γ Γ' → rctx (τ :: Γ) (τ :: Γ')
lem1 d i0 = i0
lem1 d (iS x) = iS (d x)
-- renaming lemma
ren : ∀ {Γ Γ' τ} → Γ' |- τ → rctx Γ Γ' → Γ |- τ
ren unit d = unit
ren 0C d = 0C
ren 1C d = 1C
ren (plusC e1 e2) d = plusC (ren e1 d) (ren e2 d)
ren (var x) d = var (d x)
ren z d = z
ren (suc e) d = suc (ren e d)
ren (rec e e0 e1) d = rec (ren e d) (ren e0 d) (ren e1 (lem1 (lem1 d)))
ren (lam e) d = lam (ren e (lem1 d))
ren (app e1 e2) d = app (ren e1 d) (ren e2 d)
ren (prod e1 e2) d = prod (ren e1 d) (ren e2 d)
ren (l-proj e) d = l-proj (ren e d)
ren (r-proj e) d = r-proj (ren e d)
-- substitution
sctx : Ctx → Ctx → Set
sctx Γ Γ' = ∀ {τ} → τ ∈ Γ' → Γ |- τ
-- weakening a context
wkn : ∀ {Γ τ1 τ2} → Γ |- τ2 → (τ1 :: Γ) |- τ2
wkn e = ren e iS
-- weakening also works with substitution
wkn-s : ∀ {Γ τ1 Γ'} → sctx Γ Γ' → sctx (τ1 :: Γ) Γ'
wkn-s d = λ f → wkn (d f)
wkn-r : ∀ {Γ τ1 Γ'} → rctx Γ Γ' → rctx (τ1 :: Γ) Γ'
wkn-r d = λ x → iS (d x)
-- lem2 (need a lemma for subst like we did for renaming)
lem2 : ∀ {Γ Γ' τ} → sctx Γ Γ' → sctx (τ :: Γ) (τ :: Γ')
lem2 d i0 = var i0
lem2 d (iS i) = wkn (d i)
-- another substitution lemma
lem3 : ∀ {Γ τ} → Γ |- τ → sctx Γ (τ :: Γ)
lem3 e i0 = e
lem3 e (iS i) = var i
lem3' : ∀ {Γ Γ' τ} → sctx Γ Γ' → Γ |- τ → sctx Γ (τ :: Γ')
lem3' Θ e i0 = e
lem3' Θ e (iS i) = Θ i
-- one final lemma needed for the last stepping rule. Thank you <NAME>!
lem4 : ∀ {Γ τ1 τ2} → Γ |- τ1 → Γ |- τ2 → sctx Γ (τ1 :: (τ2 :: Γ))
lem4 e1 e2 i0 = e1
lem4 e1 e2 (iS i0) = e2
lem4 e1 e2 (iS (iS i)) = var i
lem4' : ∀ {Γ Γ' τ1 τ2} → sctx Γ Γ' → Γ |- τ1 → Γ |- τ2 → sctx Γ (τ1 :: (τ2 :: Γ'))
lem4' Θ a b i0 = a
lem4' Θ a b (iS i0) = b
lem4' Θ a b (iS (iS i)) = Θ i
-- the 'real' substitution lemma (if (x : τ') :: Γ |- (e : τ) and Γ |- (e : τ') , then Γ |- e[x -> e'] : τ)
subst : ∀ {Γ Γ' τ} → sctx Γ Γ' → Γ' |- τ → Γ |- τ
subst d unit = unit
subst d 0C = 0C
subst d 1C = 1C
subst d (plusC e1 e2) = plusC (subst d e1) (subst d e2)
subst d (var x) = d x
subst d z = z
subst d (suc x) = suc (subst d x)
subst d (rec e e0 e1) = rec (subst d e) (subst d e0) (subst (lem2 (lem2 d)) e1)
subst d (lam e) = lam (subst (lem2 d) e)
subst d (app e1 e2) = app (subst d e1) (subst d e2)
subst d (prod e1 e2) = prod (subst d e1) (subst d e2)
subst d (l-proj e) = l-proj (subst d e)
subst d (r-proj e) = r-proj (subst d e)
postulate
subst-compose : ∀ {Γ Γ' τ τ1} (Θ : sctx Γ Γ') (v : Γ |- τ) (e : (τ :: Γ' |- τ1) )
→ subst (lem3 v) (subst (lem2 Θ) e) == subst (lem3' Θ v) e
postulate
subst-compose2 : ∀ {Γ Γ' τ} (Θ : sctx Γ Γ') (n : Γ |- nat) (e1 : Γ' |- τ) (e2 : (nat :: (τ :: Γ')) |- τ)
→ subst (lem4 n (rec n (subst Θ e1) (subst (lem2 (lem2 Θ)) e2))) (subst (lem2 (lem2 Θ)) e2) ==
subst (lem4' Θ n (rec n (subst Θ e1) (subst (lem2 (lem2 Θ)) e2))) e2
postulate
subst-compose3 : ∀ {Γ Γ' τ τ1 τ2} (Θ : sctx Γ Γ') (e1 : (τ1 :: (τ2 :: Γ')) |- τ) (v1 : Γ' |- τ1) (v2 : Γ' |- τ2)
→ subst Θ (subst (lem4 v1 v2) e1) == subst (lem4' Θ (subst Θ v1) (subst Θ v2)) e1
postulate
subst-compose4 : ∀ {Γ Γ' τ} (Θ : sctx Γ Γ') (v' : Γ |- nat) (r : Γ |- τ) (e2 : (nat :: (τ :: Γ')) |- τ)
→ subst (lem4 v' r) (subst (lem2 (lem2 Θ)) e2) == subst (lem4' Θ v' r) e2
-------
-- define 'stepping' as a datatype (fig. 1 of proof)
data _≤s_ : ∀ {Γ T} → Γ |- T → Γ |- T → Set where
refl-s : ∀ {Γ T}
→ {e : Γ |- T}
→ e ≤s e
trans-s : ∀ {Γ T}
→ {e e' e'' : Γ |- T}
→ e ≤s e' → e' ≤s e''
→ e ≤s e''
plus-s : ∀ {Γ}
→ {e1 e2 n1 n2 : Γ |- C}
→ e1 ≤s n1 → e2 ≤s n2
→ (plusC e1 e2) ≤s (plusC n1 n2)
cong-refl : ∀ {Γ τ} {e e' : Γ |- τ} → e == e' → e ≤s e'
+-unit-l : ∀ {Γ} {e : Γ |- C} → (plusC 0C e) ≤s e
+-unit-l' : ∀ {Γ} {e : Γ |- C} → e ≤s (plusC 0C e)
+-unit-r : ∀ {Γ} {e : Γ |- C} → (plusC e 0C) ≤s e
+-unit-r' : ∀ {Γ} {e : Γ |- C} → e ≤s (plusC e 0C)
+-assoc : ∀ {Γ} {e1 e2 e3 : Γ |- C} → (plusC e1 (plusC e2 e3)) ≤s (plusC (plusC e1 e2) e3)
+-assoc' : ∀ {Γ} {e1 e2 e3 : Γ |- C} → (plusC e1 (plusC e2 e3)) ≤s (plusC (plusC e1 e2) e3)
refl-+ : ∀ {Γ} {e0 e1 : Γ |- C} → (plusC e0 e1) ≤s (plusC e1 e0)
cong-+ : ∀ {Γ} {e0 e1 e0' e1' : Γ |- C} → e0 ≤s e0' → e1 ≤s e1' → (plusC e0 e1) ≤s (plusC e0' e1')
cong-lproj : ∀ {Γ τ τ'} {e e' : Γ |- (τ ×c τ')} → e ≤s e' → (l-proj e) ≤s (l-proj e')
cong-rproj : ∀ {Γ τ τ'} {e e' : Γ |- (τ ×c τ')} → e ≤s e' → (r-proj e) ≤s (r-proj e')
cong-app : ∀ {Γ τ τ'} {e e' : Γ |- (τ ->c τ')} {e1 : Γ |- τ} → e ≤s e' → (app e e1) ≤s (app e' e1)
cong-rec : ∀ {Γ τ} {e e' : Γ |- nat} {e0 : Γ |- τ} {e1 : (nat :: (τ :: Γ)) |- τ}
→ e ≤s e'
→ rec e e0 e1 ≤s rec e' e0 e1
lam-s : ∀ {Γ T T'}
→ {e : (T :: Γ) |- T'}
→ {e2 : Γ |- T}
→ subst (lem3 e2) e ≤s app (lam e) e2
l-proj-s : ∀ {Γ T1 T2}
→ {e1 : Γ |- T1} {e2 : Γ |- T2}
→ e1 ≤s (l-proj (prod e1 e2))
r-proj-s : ∀ {Γ T1 T2}
→ {e1 : Γ |- T1} → {e2 : Γ |- T2}
→ e2 ≤s (r-proj (prod e1 e2))
rec-steps-s : ∀ {Γ T}
→ {e : Γ |- nat}
→ {e0 : Γ |- T}
→ {e1 : (nat :: (T :: Γ)) |- T}
→ subst (lem4 e (rec e e0 e1)) e1 ≤s (rec (suc e) e0 e1)
rec-steps-z : ∀ {Γ T}
→ {e0 : Γ |- T}
→ {e1 : (nat :: (T :: Γ)) |- T}
→ e0 ≤s (rec z e0 e1)
_trans_ : ∀ {Γ T}
→ {e e' e'' : Γ |- T}
→ e ≤s e' → e' ≤s e''
→ e ≤s e''
_trans_ = trans-s
infixr 10 _trans_
-------
-- interpret complexity types as preorders
[_]t : CTp → PREORDER
[ unit ]t = unit-p
[ nat ]t = Nat , nat-p
[ A ->c B ]t = [ A ]t ->p [ B ]t
[ A ×c B ]t = [ A ]t ×p [ B ]t
[ C ]t = Nat , nat-p
-- interpret contexts as preorders
[_]c : Ctx → PREORDER
[ [] ]c = unit-p
[ τ :: Γ ]c = [ τ ]t ×p [ Γ ]c
|
src/neuralnet.adb | sebsgit/textproc | 0 | 17153 | <filename>src/neuralnet.adb
with Ada.Text_IO;
with Ada.Numerics;
with Ada.Numerics.Generic_Elementary_Functions;
package body NeuralNet is
function activate(n: in Neuron; val: in Float) return Float is
begin
case n.act is
when RELU =>
return Float'Max(0.0, val);
when LOGISTIC =>
return 1.0 / (1.0 + MathUtils.F.Exp(-val));
end case;
end activate;
function derivative(n: in Neuron; val: in Float) return Float is
begin
case n.act is
when RELU =>
if val < 0.0 then
return 0.0;
else
return 1.0;
end if;
when LOGISTIC =>
declare
x: constant Float := activate(n, val);
begin
return x * (1.0 - x);
end;
end case;
end derivative;
function create(conf: Config) return Net is
result: Net(conf.size);
begin
result.conf := conf;
result.layers.Reserve_Capacity(Capacity => conf.sizes'Length);
for i in conf.sizes'Range loop
declare
layer: NeuronVecPkg.Vector;
gradients_per_layer: MathUtils.Vector;
begin
layer.Reserve_Capacity(Capacity => Ada.Containers.Count_Type(conf.sizes(i)));
gradients_per_layer.Reserve_Capacity(Capacity => layer.Capacity);
for k in 1 .. conf.sizes(i) loop
declare
n: Neuron(if i = 1 then conf.inputSize else conf.sizes(i - 1));
begin
n.act := conf.act;
layer.Append(n);
gradients_per_layer.Append(0.0);
end;
end loop;
result.layers.Append(layer);
result.gradients.Append(gradients_per_layer);
end;
end loop;
return result;
end create;
procedure print(n: in Neuron) is
begin
Ada.Text_IO.Put("{bias: " & n.bias'Image & ", w: ");
for i in n.w'Range loop
Ada.Text_IO.Put(n.w(i)'Image & ", ");
end loop;
Ada.Text_IO.Put("}");
end print;
procedure print(nn: in Net) is
begin
for i in nn.layers.First_Index .. nn.layers.Last_Index loop
for n in nn.layers(i).First_Index .. nn.layers(i).Last_Index loop
print(nn.layers(i)(n));
end loop;
Ada.Text_IO.Put_Line("");
end loop;
end print;
function forward(n: in out Neuron; values: in MathUtils.Vector) return Float is
result: Float := n.bias;
wi: Positive := 1;
begin
for i in values.First_Index .. values.Last_Index loop
result := result + values(i) * n.w(wi);
wi := wi + 1;
end loop;
n.z := result;
n.a := activate(n, result);
return n.a;
end forward;
function forward(nn: in out Net; values: in MathUtils.Vector) return MathUtils.Vector is
result: MathUtils.Vector;
input: MathUtils.Vector := values;
begin
for i in nn.layers.First_Index .. nn.layers.Last_Index loop
result.Clear;
result.Reserve_Capacity(Capacity => nn.layers(i).Length);
for n in nn.layers(i).First_Index .. nn.layers(i).Last_Index loop
declare
neu: Neuron renames nn.layers(i)(n);
begin
result.Append( forward(neu, input) );
end;
end loop;
input.Move(result);
end loop;
return input;
end forward;
function clipGradient(nn: in Net; val: Float) return Float
with Pre => nn.conf.gradientClipAbs >= 0.0
is
begin
if val < -nn.conf.gradientClipAbs then
return -nn.conf.gradientClipAbs;
elsif val > nn.conf.gradientClipAbs then
return nn.conf.gradientClipAbs;
else
return val;
end if;
end clipGradient;
procedure calculateLossDerivative(actual, expected: in MathUtils.Vector; result: in out MathUtils.Vector)
with Pre => (actual.Length = expected.Length) and (expected.Length = result.Length)
is
index_act: Positive := actual.First_Index;
index_exp: Positive := expected.First_Index;
begin
for res of result loop
res := actual(index_act) - expected(index_exp); --TODO hard-coded to mean squared error loss
index_act := index_act + 1;
index_exp := index_exp + 1;
end loop;
end calculateLossDerivative;
-- implements the backpropagation algorithm for nn
procedure backward(nn: in out Net; input: in MathUtils.Vector; target: in MathUtils.Vector)
with Pre => input.Length = nn.layers.First_Element.First_Element.w'Length
is
ti: Positive := target.First_Index;
lastLayer: NeuronVecPkg.Vector renames nn.layers.Last_Element;
neurons_activation: MathUtils.Vector;
begin
neurons_activation.Reserve_Capacity(Capacity => lastLayer.Length);
-- errors in the output layer
for n in lastLayer.First_Index .. lastLayer.Last_Index loop
neurons_activation.Append(lastLayer(n).a); --TODO update the nn representation
end loop;
declare
grad_vec_ref: MathUtils.Vector renames nn.gradients(nn.layers.Last_Index);
begin
--TODO parametrize by loss function
calculateLossDerivative(actual => neurons_activation,
expected => target,
result => grad_vec_ref);
for n in lastLayer.First_Index .. lastLayer.Last_Index loop
grad_vec_ref(n) := grad_vec_ref(n) * derivative(lastLayer(n), lastLayer(n).z);
end loop;
end;
-- error propagation
declare
current_layer: Natural := nn.layers.Last_Index - 1;
next_to_current: Natural := nn.layers.Last_Index;
begin
while current_layer >= nn.layers.First_Index loop
declare
current_layer_ref: NeuronVecPkg.Vector renames nn.layers(current_layer);
next_layer_ref: NeuronVecPkg.Vector renames nn.layers(next_to_current);
current_layer_grad_ref: MathUtils.Vector renames nn.gradients(current_layer);
next_layer_grad_ref: MathUtils.Vector renames nn.gradients(next_to_current);
begin
for id in current_layer_ref.First_Index .. current_layer_ref.Last_Index loop
declare
n: Neuron renames current_layer_ref(id);
begin
current_layer_grad_ref(id) := 0.0;
for next_id in next_layer_ref.First_Index .. next_layer_ref.Last_Index loop
current_layer_grad_ref(id) := current_layer_grad_ref(id) + next_layer_ref(next_id).w(id) * next_layer_grad_ref(next_id);
end loop;
current_layer_grad_ref(id) := current_layer_grad_ref(id) * derivative(n, n.z);
end;
end loop;
end;
current_layer := current_layer - 1;
next_to_current := next_to_current - 1;
end loop;
end;
-- updating nn weights and biases
for il in nn.layers.First_Index .. nn.layers.Last_Index loop
declare
layer_ref: NeuronVecPkg.Vector renames nn.layers(il);
gradients: MathUtils.Vector renames nn.gradients(il);
weight_reduction: Float := 0.0;
begin
for ni in layer_ref.First_Index .. layer_ref.Last_Index loop
declare
n: Neuron renames layer_ref(ni);
begin
--TODO: move gradiend clipping to the optimizer class
n.bias := n.bias - nn.clipGradient(Float(nn.conf.lr) * gradients(ni));
for wi in n.w'Range loop
if il > nn.layers.First_Index then
weight_reduction := Float(nn.conf.lr) * gradients(ni) * nn.layers(il - 1)(wi).a;
else
weight_reduction := Float(nn.conf.lr) * gradients(ni) * input(wi);
end if;
n.w(wi) := n.w(wi) - nn.clipGradient(weight_reduction);
end loop;
end;
end loop;
end;
end loop;
end backward;
procedure train(nn: in out Net; input: in MathUtils.Vector; target: MathUtils.Vector) is
res: MathUtils.Vector;
begin
res := nn.forward(input);
nn.backward(input, target);
if False then
for n of nn.layers(2) loop
print(n);
-- Ada.Text_IO.Put_Line("");
-- MathUtils.print(nn.gradients(1));
Ada.Text_IO.Put_Line("");
end loop;
Ada.Text_IO.Put_Line("-");
end if;
end train;
end NeuralNet;
|
2-low/collada/source/collada-document.adb | charlie5/lace | 20 | 23572 | <reponame>charlie5/lace
with
collada.Library.geometries,
collada.Library.controllers,
collada.Library.animations,
collada.Library.visual_scenes,
XML,
ada.Calendar.formatting,
ada.Strings.fixed,
ada.Characters.latin_1;
package body collada.Document
is
use ada.Strings.unbounded;
------------
-- Utilities
--
function "+" (From : in String) return unbounded_String
renames to_unbounded_String;
function to_Time (From : in String) return ada.Calendar.Time
is
Pad : String := From;
Index : constant Natural := ada.Strings.fixed.Index (Pad, "T");
begin
if Index /= 0 then
Pad (Index) := ' ';
end if;
return ada.Calendar.formatting.Value (Pad);
exception
when constraint_Error =>
return ada.Calendar.Clock; -- TODO: Temporary debug measure to handle unknown date formats.
end to_Time;
function to_int_Array (From : in String) return int_Array
is
use ada.Strings.fixed;
the_Array : int_Array (1 .. 40_000);
Count : math.Index := 0;
Start : Natural := 1;
Cursor : Natural := Index (From, " ");
begin
if Cursor = 0
then
return (1 => Integer'Value (From));
end if;
loop
if From (Start .. Cursor-1) /= ""
and then From (Start .. Cursor-1) /= "" & ada.Characters.latin_1.LF
then
Count := Count + 1;
the_Array (Count) := Integer'Value (From (Start .. Cursor-1));
end if;
Start := Cursor + 1;
Cursor := Index (From, " ", Start);
exit when Cursor = 0;
end loop;
if Start <= From'Last
then
Count := Count + 1;
the_Array (Count) := Integer'Value (From (Start .. From'Last));
end if;
return the_Array (1 .. Count);
end to_int_Array;
function to_float_Array (From : in String) return float_Array
is
begin
if From = ""
then
return float_Array' (1 .. 0 => <>);
end if;
declare
use ada.Strings.fixed;
the_Array : float_Array (1 .. 40_000);
Count : math.Index := 0;
Start : Integer := 1;
Cursor : Integer := Index (From, " ");
begin
if Cursor = 0
then
return (1 => math.Real'Value (From));
end if;
loop
if From (Start .. Cursor-1) /= ""
and then From (Start .. Cursor-1) /= "" & ada.Characters.latin_1.LF
then
Count := Count + 1;
the_Array (Count) := math.Real'Value (From (Start .. Cursor-1));
end if;
Start := Cursor + 1;
Cursor := Index (From, " ", Start);
exit when Cursor = 0;
end loop;
if From (Start .. From'Last) /= ""
then
Count := Count + 1;
the_Array (Count) := math.Real'Value (From (Start .. From'Last));
end if;
return the_Array (1 .. Count);
end;
end to_float_Array;
function to_Text_array (From : in String) return Text_array
is
begin
if From = ""
then
return Text_array' (1 .. 0 => <>);
end if;
declare
use ada.Strings.fixed;
the_Array : Text_array (1 .. 40_000);
Count : math.Index := 0;
Start : Integer := 1;
Cursor : Integer := Index (From, " ");
begin
if Cursor = 0
then
return (1 => +From);
end if;
loop
if From (Start .. Cursor-1) /= ""
and then From (Start .. Cursor-1) /= "" & ada.Characters.latin_1.LF
then
Count := Count + 1;
the_Array (Count) := +From (Start .. Cursor-1);
end if;
Start := Cursor + 1;
Cursor := Index (From, " ", Start);
exit when Cursor = 0;
end loop;
if From (Start .. From'Last) /= ""
then
Count := Count + 1;
the_Array (Count) := +From (Start .. From'Last);
end if;
return the_Array (1 .. Count);
end;
end to_Text_array;
function to_Matrix (From : in String) return Matrix_4x4
is
the_Floats : constant math.Vector_16 := math.Vector_16 (to_float_Array (From));
begin
return math.to_Matrix_4x4 (the_Floats);
end to_Matrix;
function to_Source (From : in xml.Element) return collada.Library.Source
is
the_xml_Id : constant access xml.Attribute_t := From.Attribute ("id");
the_xml_float_Array : constant access xml.Element := From.Child ("float_array");
the_xml_text_Array : constant access xml.Element := From.Child ("Name_array");
the_array_Length : Natural;
the_Source : Library.source;
begin
the_Source.Id := +the_xml_Id.Value;
if the_xml_float_Array /= null
then
the_Source.array_Id := +the_xml_float_Array.Attribute ("id").Value;
the_array_Length := Natural'Value (the_xml_float_Array.Attribute ("count").Value);
the_Source.Floats := new float_Array' (to_float_Array (the_xml_float_Array.Data));
elsif the_xml_text_Array /= null
then
the_Source.array_Id := +the_xml_text_Array.Attribute ("id").Value;
the_array_Length := Natural'Value (the_xml_text_Array.Attribute ("count").Value);
the_Source.Texts := new Text_array' (to_Text_array (the_xml_text_Array.Data));
end if;
return the_Source;
end to_Source;
function to_Input (From : in xml.Element) return collada.Library.Input_t
is
use collada.Library;
the_xml_Semantic : constant access xml.Attribute_t := From.Attribute ("semantic");
the_xml_Source : constant access xml.Attribute_t := From.Attribute ("source");
the_xml_Offset : constant access xml.Attribute_t := From.Attribute ("offset");
the_Input : Input_t;
begin
the_Input.Semantic := Semantic'Value (the_xml_Semantic.Value);
the_Input.Source := +the_xml_Source .Value;
if the_xml_Offset /= null
then
the_Input.Offset := Natural'Value (the_xml_Offset.Value);
end if;
return the_Input;
end to_Input;
function to_Vertices (From : in xml.Element) return collada.Library.geometries.Vertices
is
use collada.Library,
collada.Library.geometries;
the_xml_Id : constant access xml.Attribute_t := From.Attribute ("id");
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_Vertices : geometries.Vertices;
begin
the_Vertices.Id := +the_xml_Id.Value;
the_Vertices.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Vertices.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
return the_Vertices;
end to_Vertices;
function to_Polylist (From : in xml.Element) return collada.Library.geometries.Primitive
is
use collada.Library,
collada.Library.geometries;
the_xml_Count : constant access xml.Attribute_t := From.Attribute ("count");
the_xml_Material : constant access xml.Attribute_t := From.Attribute ("material");
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_xml_vCount : constant access xml.Element := From.Child ("vcount");
the_xml_P : constant access xml.Element := From.Child ("p");
the_Polylist : geometries.Primitive (polyList);
begin
the_Polylist.Count := Natural'Value (the_xml_Count.Value);
if the_xml_Material /= null
then
the_Polylist.Material := +the_xml_Material.Value;
end if;
the_Polylist.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Polylist.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
the_Polylist.vCount := new int_Array' (to_int_Array (the_xml_vCount.Data));
the_Polylist.P_List := new int_array_List' (1 => new int_Array' (to_int_Array (the_xml_P.Data)));
return the_Polylist;
end to_Polylist;
function to_Polygon (From : in xml.Element) return collada.Library.geometries.Primitive
is
use collada.Library,
collada.Library.geometries;
the_xml_Count : constant access xml.Attribute_t := From.Attribute ("count");
the_xml_Material : constant access xml.Attribute_t := From.Attribute ("material");
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_xml_Ps : constant xml.Elements := From.Children ("p");
the_Polygons : geometries.Primitive (Polygons);
begin
the_Polygons.Count := Natural'Value (the_xml_Count.Value);
if the_xml_Material /= null
then
the_Polygons.Material := +the_xml_Material.Value;
end if;
-- Do inputs.
--
the_Polygons.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Polygons.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
-- Do P list.
--
the_Polygons.P_List := new int_array_List (1 .. the_xml_Ps'Length);
for i in the_Polygons.P_List'Range
loop
the_Polygons.P_List (i) := new int_Array' (to_int_Array (the_xml_Ps (i).Data));
end loop;
return the_Polygons;
end to_Polygon;
function to_Joints (From : in xml.Element) return collada.Library.controllers.Joints
is
use collada.Library,
collada.Library.controllers;
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_Joints : controllers.Joints;
begin
the_Joints.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Joints.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
return the_Joints;
end to_Joints;
function to_vertex_Weights (From : in xml.Element) return collada.Library.controllers.vertex_Weights
is
use collada.Library,
collada.Library.controllers;
the_xml_Count : constant access xml.Attribute_t := From.Attribute ("count");
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_xml_vCount : constant access xml.Element := From.Child ("vcount");
the_xml_V : constant access xml.Element := From.Child ("v");
the_Weights : controllers.vertex_Weights;
begin
the_Weights.Count := Natural'Value (the_xml_Count.Value);
the_Weights.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Weights.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
the_Weights.v_Count := new int_Array' (to_int_Array (the_xml_vCount.Data));
the_Weights.V := new int_array' (to_int_Array (the_xml_V.Data));
return the_Weights;
end to_vertex_Weights;
function to_Sampler (From : in xml.Element) return collada.Library.animations.Sampler
is
use collada.Library,
collada.Library.animations;
the_xml_Id : constant access xml.Attribute_t := From.Attribute ("id");
the_xml_Inputs : constant xml.Elements := From.Children ("input");
the_Sampler : animations.Sampler;
begin
the_Sampler.Id := +the_xml_Id.Value;
the_Sampler.Inputs := new Inputs (the_xml_Inputs'Range);
for i in the_xml_Inputs'Range
loop
the_Sampler.Inputs (i) := to_Input (the_xml_Inputs (i).all);
end loop;
return the_Sampler;
end to_Sampler;
function to_Channel (From : in xml.Element) return collada.Library.animations.Channel
is
use collada.Library,
collada.Library.animations;
the_xml_Source : constant access xml.Attribute_t := From.Attribute ("source");
the_xml_Target : constant access xml.Attribute_t := From.Attribute ("target");
the_Channel : animations.Channel;
begin
the_Channel.Source := +the_xml_Source.Value;
the_Channel.Target := +the_xml_Target.Value;
return the_Channel;
end to_Channel;
---------------
-- Construction
--
function to_Document (Filename : in String) return Item
is
use XML;
the_xml_Tree : constant xml.Element := xml.to_XML (Filename);
the_collada_Tree : constant access xml.Element := the_xml_Tree.Child (named => "COLLADA");
the_Document : Document.item;
begin
parse_the_asset_Element:
declare
the_Asset : constant access xml.Element := the_collada_Tree.Child (named => "asset");
the_Contributor : constant access xml.Element := the_Asset.Child (named => "contributor");
the_creation_Date : constant access xml.Element := the_Asset.Child (named => "created");
the_modification_Date : constant access xml.Element := the_Asset.Child (named => "modified");
the_Unit : constant access xml.Element := the_Asset.Child (named => "unit");
the_up_Axis : constant access xml.Element := the_Asset.Child (named => "up_axis");
begin
-- Parse the 'contributor' element.
--
if the_Contributor /= null
then
declare
the_Author : constant access xml.Element := the_Contributor .Child (named => "author");
the_authoring_Tool : constant access xml.Element := the_Contributor .Child (named => "authoring_tool");
begin
if the_Author /= null
then
the_Document.Asset.Contributor.Author := +the_Author.Data;
end if;
if the_authoring_Tool /= null
then
the_document.asset.contributor.authoring_Tool := +the_authoring_Tool.Data;
end if;
end;
end if;
-- Parse the creation and modification dates.
--
if the_creation_Date /= null
then
the_document.asset.Created := to_Time (the_creation_Date.Data);
end if;
if the_modification_Date /= null
then
the_document.asset.Modified := to_Time (the_modification_Date.Data);
end if;
-- Parse the 'unit' element.
--
if the_Unit /= null
then
the_document.asset.Unit.Name := +the_Unit.Attribute (named => "name") .Value;
the_document.asset.Unit.Meter := Float'Value (the_Unit.Attribute (named => "meter").Value);
end if;
-- Parse the 'up_axis' element.
--
if the_up_Axis /= null
then
the_document.asset.up_Axis := collada.asset.up_Direction'Value (the_up_Axis.Data);
end if;
end parse_the_asset_Element;
---------------------------------
--- Parse the 'library' elements.
--
parse_the_geometries_Library:
declare
the_Library : constant access xml.Element := the_collada_Tree.Child (named => "library_geometries");
begin
if the_Library /= null
then
declare
use collada.Library.geometries;
the_Geometries : constant xml.Elements := the_Library.Children (named => "geometry");
begin
the_document.Libraries.Geometries.Contents := new Geometry_array (the_Geometries'Range);
for Each in the_Geometries'Range
loop
declare
the_xml_Geometry : access xml.Element renames the_Geometries (Each);
the_Geometry : Geometry renames the_Document.Libraries.Geometries.Contents (Each);
the_xml_Id : constant access xml.Attribute_t'Class := the_xml_Geometry.Attribute ("id");
the_xml_Name : constant access xml.Attribute_t'Class := the_xml_Geometry.Attribute ("name");
begin
the_Geometry.Id := +the_xml_Id.Value;
if the_xml_Name /= null
then
the_Geometry.Name := +the_xml_Name.Value;
end if;
parse_Mesh:
declare
the_xml_Mesh : access xml.Element renames the_xml_Geometry.Child ("mesh");
the_xml_Vertices : constant access xml.Element := the_xml_Mesh .Child ("vertices");
the_xml_Sources : constant xml.Elements := the_xml_Mesh.Children ("source");
begin
the_Geometry.Mesh.Sources := new library.Sources (the_xml_Sources'Range);
-- Parse sources.
--
for i in the_xml_Sources'Range
loop
the_Geometry.Mesh.Sources (i) := to_Source (the_xml_Sources (i).all);
end loop;
-- Parse vertices.
--
the_Geometry.Mesh.Vertices := to_Vertices (the_xml_Vertices.all);
-- Parse primitives.
--
declare
the_xml_Polylists : constant xml.Elements := the_xml_Mesh.Children (named => "polylist");
the_xml_Polygons : constant xml.Elements := the_xml_Mesh.Children (named => "polygons");
primitive_Count : Natural := 0;
primitive_Total : constant Natural := the_xml_Polylists'Length
+ the_xml_Polygons 'Length;
begin
the_Geometry.Mesh.Primitives := new Primitives (1 .. primitive_Total);
-- polylists
--
for i in the_xml_Polylists'Range
loop
primitive_Count := primitive_Count + 1;
the_Geometry.Mesh.Primitives (primitive_Count) := to_Polylist (the_xml_Polylists (i).all);
end loop;
-- polygons
--
for i in the_xml_Polygons'Range
loop
primitive_Count := primitive_Count + 1;
the_Geometry.Mesh.Primitives (primitive_Count) := to_Polygon (the_xml_Polygons (i).all);
end loop;
end;
end parse_Mesh;
end;
end loop;
end;
end if;
end parse_the_geometries_Library;
-- Parse the controllers library.
--
declare
the_Library : constant access xml.Element := the_collada_Tree.Child (named => "library_controllers");
begin
if the_Library /= null
then
declare
use collada.Library.controllers;
the_Controllers : constant xml.Elements := the_Library.Children (named => "controller");
begin
the_Document.Libraries.controllers.Contents := new Controller_array (the_Controllers'Range);
for Each in the_Controllers'Range
loop
declare
the_xml_Controller : access xml.Element renames the_Controllers (Each);
the_Controller : Controller renames the_Document.Libraries.controllers.Contents (Each);
the_xml_Id : constant access xml.Attribute_t'Class := the_xml_Controller.Attribute ("id");
the_xml_Name : constant access xml.Attribute_t'Class := the_xml_Controller.Attribute ("name");
begin
the_Controller.Id := +the_xml_Id.Value;
if the_xml_Name /= null
then
the_Controller.Name := +the_xml_Name.Value;
end if;
parse_Skin:
declare
the_xml_Skin : access xml.Element renames the_xml_Controller.Child ("skin");
the_xml_Sources : constant xml.Elements := the_xml_Skin.Children ("source");
the_xml_Matrix : constant access xml.Element := the_xml_Skin.Child ("bind_shape_matrix");
the_xml_Joints : constant access xml.Element := the_xml_Skin.Child ("joints");
the_xml_Weights : constant access xml.Element := the_xml_Skin.Child ("vertex_weights");
begin
the_Controller.Skin.main_Source := +the_xml_Skin.Attribute ("source").Value;
the_Controller.Skin.bind_shape_Matrix := to_float_Array (the_xml_Matrix.Data);
-- Parse sources.
--
the_Controller.Skin.Sources := new library.Sources (the_xml_Sources'Range);
for i in the_xml_Sources'Range
loop
the_Controller.Skin.Sources (i) := to_Source (the_xml_Sources (i).all);
end loop;
the_Controller.Skin.Joints := to_Joints (the_xml_Joints.all);
the_Controller.Skin.vertex_Weights := to_vertex_Weights (the_xml_Weights.all);
end parse_Skin;
end;
end loop;
end;
end if;
end;
-- Parse the visual_Scenes library.
--
declare
the_Library : constant access xml.Element := the_collada_Tree.Child (named => "library_visual_scenes");
begin
if the_Library /= null
then
declare
use collada.Library.visual_scenes;
the_visual_Scenes : constant xml.Elements := the_Library.Children (named => "visual_scene");
begin
the_Document.Libraries.visual_Scenes.Contents := new visual_Scene_array (the_visual_Scenes'Range);
for Each in the_visual_Scenes'Range
loop
declare
the_visual_Scene : visual_Scene renames the_document.Libraries.visual_Scenes.Contents (Each);
the_xml_Scene : access xml.Element renames the_visual_Scenes (Each);
the_xml_Id : constant access xml.Attribute_t'Class := the_xml_Scene.Attribute ("id");
the_xml_Name : constant access xml.Attribute_t'Class := the_xml_Scene.Attribute ("name");
begin
the_visual_Scene.Id := +the_xml_Id.Value;
if the_xml_Name /= null
then
the_visual_Scene.Name := +the_xml_Name.Value;
end if;
parse_Nodes:
declare
the_xml_root_Node : constant access xml.Element := the_xml_Scene.Child ("node");
function to_Node (the_XML : access xml.Element;
Parent : in Library.visual_scenes.Node_view) return Library.visual_scenes.Node_view
is
the_xml_Sid : constant access xml.Attribute_t'Class := the_xml.Attribute ("sid");
the_xml_Id : constant access xml.Attribute_t'Class := the_xml.Attribute ("id");
the_xml_Name : constant access xml.Attribute_t'Class := the_xml.Attribute ("name");
the_xml_Type : access xml.Attribute_t'Class := the_xml.Attribute ("type");
the_xml_Translate : access xml.Element := the_xml.Child ("translate");
the_xml_Scale : access xml.Element := the_xml.Child ("scale");
the_xml_Rotates : xml.Elements := the_xml.Children ("rotate");
the_xml_Children : xml.Elements := the_xml.Children ("node");
the_Node : constant Library.visual_scenes.Node_view := new Library.visual_scenes.Node;
begin
if the_xml_Id /= null
then
the_Node.Id_is (+the_xml_Id.Value);
end if;
if the_xml_Sid /= null
then
the_Node.Sid_is (+the_xml_Sid.Value);
end if;
if the_xml_Name /= null
then
the_Node.Name_is (+the_xml_Name.Value);
end if;
the_Node.Parent_is (Parent);
-- Parse children.
--
declare
the_xml_Children : constant xml.Elements := the_XML.Children;
the_Child : access xml.Element;
begin
for i in the_xml_Children'Range
loop
the_Child := the_xml_Children (i);
if the_Child.Name = "translate"
then
the_Node.add (Transform' (Kind => Translate,
Sid => to_Text (the_Child.Attribute ("sid").Value),
Vector => Vector_3 (to_Float_array (the_Child.Data))));
elsif the_Child.Name = "rotate"
then
declare
use collada.Math;
the_Data : constant Vector_4 := Vector_4 (to_Float_array (the_Child.Data));
begin
the_Node.add (Transform' (Kind => Rotate,
Sid => to_Text (the_Child.Attribute ("sid").Value),
Axis => Vector_3 (the_Data (1 .. 3)),
Angle => to_Radians (math.Degrees (the_Data (4)))));
end;
elsif the_Child.Name = "scale"
then
the_Node.add (Transform' (Kind => Scale,
Sid => to_Text (the_Child.Attribute ("sid").Value),
Scale => Vector_3 (to_Float_array (the_Child.Data))));
elsif the_Child.Name = "matrix"
then
declare
the_Data : constant Matrix_4x4 := to_Matrix (the_Child.Data); -- Will be column vectors.
the_child_Sid : constant access xml.Attribute_t'Class := the_Child.Attribute ("sid");
the_sid_Text : Text;
begin
if the_child_Sid = null
then
the_sid_Text := to_Text ("");
else
the_sid_Text := to_Text (the_child_Sid.Value);
end if;
the_Node.add (Transform' (Kind => full_Transform,
Sid => the_sid_Text,
Matrix => the_Data));
end;
elsif the_Child.Name = "node"
then
the_Node.add (the_Child => to_Node (the_Child, Parent => the_Node)); -- Recurse.
elsif the_Child.Name = "instance_controller"
then
declare
the_skeleton_Child : constant access xml.Element := the_Child.Child ("skeleton");
begin
the_Document.Libraries.visual_Scenes.skeletal_Root := +the_skeleton_Child.Data (2 .. the_skeleton_Child.Data'Last);
end;
elsif the_Child.Name = "instance_geometry"
then
raise collada.Error with "TODO: Handle instance_geometry.";
else
raise collada.Error with "Unhandled collada 'visual scene element' found: " & the_Child.Name & ".";
end if;
end loop;
end;
return the_Node;
end to_Node;
begin
the_visual_Scene.root_Node := to_Node (the_xml_root_Node, Parent => null);
end parse_Nodes;
end;
end loop;
end;
end if;
end;
-- Parse the animations library.
--
declare
the_Library : constant access xml.Element := the_collada_Tree.Child (named => "library_animations");
begin
if the_Library /= null
then
declare
use collada.Library.animations;
the_Animations : constant xml.Elements := the_Library.Children (named => "animation");
begin
the_document.Libraries.animations.Contents := new Animation_array (the_Animations'Range);
for Each in the_Animations'Range
loop
declare
the_Animation : Animation renames the_document.Libraries.animations.Contents (Each);
the_xml_Animation : access xml.Element renames the_Animations (Each);
the_xml_Id : constant access xml.Attribute_t'Class := the_xml_Animation.Attribute ("id");
the_xml_Name : constant access xml.Attribute_t'Class := the_xml_Animation.Attribute ("name");
begin
the_Animation.Id := +the_xml_Id.Value;
if the_xml_Name /= null
then
the_Animation.Name := +the_xml_Name.Value;
end if;
the_Animation.Sampler := to_Sampler (the_xml_Animation.Child ("sampler").all);
the_Animation.Channel := to_Channel (the_xml_Animation.Child ("channel").all);
parse_Sources:
declare
the_xml_Sources : constant xml.Elements := the_xml_Animation.Children ("source");
begin
the_Animation.Sources := new library.Sources (the_xml_Sources'Range);
for i in the_xml_Sources'Range
loop
the_Animation.Sources (i) := to_Source (the_xml_Sources (i).all);
end loop;
end parse_Sources;
end;
end loop;
end;
end if;
end;
--- Parse the 'scene' element.
--
-- TODO
return the_Document;
end to_Document;
function Asset (Self : in Item) return collada.Asset.item
is
begin
return Self.Asset;
end Asset;
function Libraries (Self : in Item) return collada.Libraries.item
is
begin
return Self.Libraries;
end Libraries;
end collada.Document;
|
source/streams/a-ssisfi.ads | ytomino/drake | 33 | 13732 | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Streams.Stream_IO.Standard_Files is
-- There are Stream_IO version file objects of
-- Standard_Input, Standard_Output, and Standard_Error.
function Standard_Input return not null access constant File_Type;
function Standard_Output return not null access constant File_Type;
function Standard_Error return not null access constant File_Type;
pragma Pure_Function (Standard_Input);
pragma Pure_Function (Standard_Output);
pragma Pure_Function (Standard_Error);
pragma Inline (Standard_Input);
pragma Inline (Standard_Output);
pragma Inline (Standard_Error);
end Ada.Streams.Stream_IO.Standard_Files;
|
tests/tk-ttkbutton-ttk_button_options_test_data-ttk_button_options_tests.ads | thindil/tashy2 | 2 | 18170 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with GNATtest_Generated;
package Tk.TtkButton.Ttk_Button_Options_Test_Data.Ttk_Button_Options_Tests is
type Test_Ttk_Button_Options is new GNATtest_Generated.GNATtest_Standard.Tk
.TtkButton
.Ttk_Button_Options_Test_Data
.Test_Ttk_Button_Options with
null record;
procedure Test_Create_32e405_20d159
(Gnattest_T: in out Test_Ttk_Button_Options);
-- tk-ttkbutton.ads:97:4:Create:Test_Create_TtkButton1
procedure Test_Create_ebbdc1_5157ad
(Gnattest_T: in out Test_Ttk_Button_Options);
-- tk-ttkbutton.ads:131:4:Create:Test_Create_TtkButton2
procedure Test_Get_Options_ded36e_15baa7
(Gnattest_T: in out Test_Ttk_Button_Options);
-- tk-ttkbutton.ads:156:4:Get_Options:Test_Get_Options_TtkButton
procedure Test_Configure_0076be_566320
(Gnattest_T: in out Test_Ttk_Button_Options);
-- tk-ttkbutton.ads:177:4:Configure:Test_Configure_TtkButton
end Tk.TtkButton.Ttk_Button_Options_Test_Data.Ttk_Button_Options_Tests;
-- end read only
|
src/st7789.ads | JeremyGrosser/sensors | 1 | 5523 | --
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with HAL.Time;
with HAL.GPIO;
with HAL.SPI;
with HAL;
package ST7789 is
type ST7789_Screen
(CS : not null HAL.GPIO.Any_GPIO_Point;
DC : not null HAL.GPIO.Any_GPIO_Point;
RST : HAL.GPIO.Any_GPIO_Point;
Port : not null HAL.SPI.Any_SPI_Port;
Time : not null HAL.Time.Any_Delays)
is tagged null record;
-- These register names come from the ST7735S datasheet, just for extra confusion.
type Register is
(SWRESET,
SLPOUT,
INVOFF,
INVON,
GAMSET,
DISPOFF,
DISPON,
CASET,
RASET,
RAMWR,
TEON,
MADCTL,
COLMOD,
FRMCTR1,
FRMCTR2,
GCTRL,
VCOMS,
LCMCTRL,
VDVVRHEN,
VRHS,
VDVS,
FRCTRL2,
PWRCTRL1,
GMCTRP1,
GMCTRN1);
procedure Initialize
(This : in out ST7789_Screen);
procedure Write
(This : in out ST7789_Screen;
Reg : Register);
procedure Write
(This : in out ST7789_Screen;
Reg : Register;
Data : HAL.UInt8);
procedure Write
(This : in out ST7789_Screen;
Reg : Register;
Data : HAL.UInt8_Array);
type RGB565 is record
R : HAL.UInt5;
G : HAL.UInt6;
B : HAL.UInt5;
end record
with Size => 16;
for RGB565 use record
R at 0 range 11 .. 15;
G at 0 range 5 .. 10;
B at 0 range 0 .. 4;
end record;
type Pixels is array (Integer range <>) of RGB565
with Component_Size => 16;
procedure Write
(This : in out ST7789_Screen;
Data : Pixels);
private
for Register'Size use 8;
for Register use
(SWRESET => 16#01#,
SLPOUT => 16#11#,
INVOFF => 16#20#,
INVON => 16#21#,
GAMSET => 16#26#,
DISPOFF => 16#28#,
DISPON => 16#29#,
CASET => 16#2A#,
RASET => 16#2B#,
RAMWR => 16#2C#,
TEON => 16#35#,
MADCTL => 16#36#,
COLMOD => 16#3A#,
FRMCTR1 => 16#B1#,
FRMCTR2 => 16#B2#,
GCTRL => 16#B7#,
VCOMS => 16#BB#,
LCMCTRL => 16#C0#,
VDVVRHEN => 16#C2#,
VRHS => 16#C3#,
VDVS => 16#C4#,
FRCTRL2 => 16#C6#,
PWRCTRL1 => 16#D0#,
GMCTRP1 => 16#E0#,
GMCTRN1 => 16#E1#);
end ST7789;
|
modules/parsers/parser-hdbdd/src/main/antlr4/com/sap/xsk/parser/hdbdd/core/Cds.g4 | delchev/xsk | 0 | 3665 | grammar Cds;
import CdsTokens;
cdsFile: namespaceRule
usingRule*
topLevelSymbol;
namespaceRule: NAMESPACE members+=identifier ('.' members+=identifier)* ';';
usingRule: USING pack+=identifier ('.' pack+=identifier)* '::' members+=identifier ('.' members+=identifier)* (AS alias=identifier)? ';';
topLevelSymbol: dataTypeRule* | contextRule? | structuredTypeRule? | entityRule? | viewRule? ;
dataTypeRule: annotationRule* artifactType=TYPE artifactName=identifier ':' typeAssignRule ';';
contextRule: annotationRule* artifactType=CONTEXT artifactName=identifier '{' (contextRule | dataTypeRule | structuredTypeRule | entityRule | viewRule)* '}' ';'?;
structuredTypeRule: annotationRule* artifactType=TYPE artifactName=identifier '{' (fieldDeclRule | association)* '}' ';'?;
entityRule: annotationRule* artifactType=ENTITY artifactName=identifier '{' ( elementDeclRule | association)* '}' ';'?;
viewRule: annotationRule* DEFINE? artifactType=VIEW artifactName=identifier AS selectRule*;
fieldDeclRule: (identifier | '"' identifier '"') ':' typeAssignRule ';';
typeAssignRule: ref=identifier '(' args+=INTEGER (',' args+=INTEGER)* ')' # AssignBuiltInTypeWithArgs
| HANA '.' hanaType=identifier # AssignHanaType
| HANA '.' hanaType=identifier '(' args+=INTEGER (',' args+=INTEGER)* ')' # AssignHanaTypeWithArgs
| TYPE_OF? pathSubMembers+=identifier ('.'pathSubMembers+=identifier)* # AssignType
;
elementDeclRule: annotationRule* (key=identifier)? (name=identifier | '"' name=identifier '"') ':' typeAssignRule elementDetails* ';';
elementDetails: defaultValue | elementConstraints;
elementConstraints: constraints;
associationConstraints: constraints;
constraints: 'null' | 'not null' | 'NULL' | 'NOT NULL';
association: (key=identifier)? ascId=identifier ':' ASSOCIATION cardinality? TO associationTarget (managedForeignKeys | unmanagedForeignKey)* associationConstraints? ';';
associationTarget: pathSubMembers+=identifier ('.' pathSubMembers+=identifier)*;
unmanagedForeignKey: ON pathSubMembers+=identifier ('.' pathSubMembers+=identifier)* '=' source=identifier;
managedForeignKeys: '{' foreignKey (',' foreignKey)* '}';
foreignKey: pathSubMembers+=identifier ('.' pathSubMembers+=identifier)* (AS alias=identifier)?;
cardinality: '[' ASSOCIATION_MIN (max=INTEGER | many='*') ']' # MinMaxCardinality
| '[' (max=INTEGER | many='*') ']' # MaxCardinality
| '[' ']' # NoCardinality
;
defaultValue: DEFAULT value=(STRING | INTEGER | DECIMAL | BOOLEAN | LOCAL_TIME | LOCAL_DATE | UTC_DATE_TIME | UTC_TIMESTAMP | VARBINARY | DATETIME_VALUE_FUNCTION | NULL);
annotationRule: '@' identifier ':' annValue #AnnObjectRule
| '@' annId=identifier ('.' prop=identifier)* ':' annValue #AnnPropertyRule
| '@' identifier #AnnMarkerRule
;
annValue: arrRule | enumRule | obj | literal=(STRING | BOOLEAN);
enumRule: '#' identifier;
arrRule: '[' annValue (',' annValue)* ']';
obj: '{' keyValue (',' keyValue)* '}';
keyValue: identifier ':' annValue;
selectRule: isUnion=UNION? SELECT FROM dependsOnTable=identifier ((AS dependingTableAlias=identifier) | dependingTableAlias=identifier)? joinRule* isDistinct=DISTINCT? '{' selectedColumnsRule '}' ';'? (WHERE whereRule ';'?)?;
joinRule: joinType=JOIN_TYPES joinArtifactName=identifier ((AS joinTableAlias=identifier) | joinTableAlias=identifier)? joinFields;
joinFields: .*?;
selectedColumnsRule: .*?;
whereRule: .*?;
identifier: ID
| NAMESPACE
| HANA
| AS
| ON
| SELECT
| FROM
| WHERE
| DEFINE
| UNION
| DISTINCT
| CONTEXT
| ENTITY
| TYPE
| VIEW
| ASSOCIATION
| TO
| JOIN_TYPES
| USING
| DEFAULT;
|
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_mouse_amx_wheel.asm | jpoikela/z88dk | 640 | 179676 | <reponame>jpoikela/z88dk
; uint16_t in_mouse_amx_wheel(void)
SECTION code_clib
SECTION code_input
PUBLIC _in_mouse_amx_wheel
EXTERN asm_in_mouse_amx_wheel
defc _in_mouse_amx_wheel = asm_in_mouse_amx_wheel
|
kernel/asm/startup-x86_64.asm | pwoolcoc/redox | 0 | 3454 | <reponame>pwoolcoc/redox<filename>kernel/asm/startup-x86_64.asm
%include "asm/startup-common.asm"
startup_arch:
cli
; setting up Page Tables
; Identity Mapping first GB
mov ax, 0x7000
mov es, ax
xor edi, edi
xor eax, eax
mov ecx, 3 * 4096 / 4 ;PML4, PDP, PD / moves 4 Bytes at once
cld
rep stosd
xor edi, edi
;Link first PML4 to PDP
mov DWORD [es:edi], 0x71000 | 1 << 1 | 1
add edi, 0x1000
;Link first PDP to PD
mov DWORD [es:edi], 0x72000 | 1 << 1 | 1
add edi, 0x1000
;Link all PD's (512 per PDP, 2MB each)y
mov ebx, 1 << 7 | 1 << 1 | 1
mov ecx, 512
.setpd:
mov [es:edi], ebx
add ebx, 0x200000
add edi, 8
loop .setpd
xor ax, ax
mov es, ax
;cr3 holds pointer to PML4
mov edi, 0x70000
mov cr3, edi
;enable Page Address Extension and Page Size Extension
mov eax, cr4
or eax, 1 << 5 | 1 << 4
mov cr4, eax
; load protected mode GDT
lgdt [gdtr]
mov ecx, 0xC0000080 ; Read from the EFER MSR.
rdmsr
or eax, 0x00000100 ; Set the Long-Mode-Enable bit.
wrmsr
;enabling paging and protection simultaneously
mov ebx, cr0
or ebx, 0x80000001 ;Bit 31: Paging, Bit 0: Protected Mode
mov cr0, ebx
; far jump to enable Long Mode and load CS with 64 bit segment
jmp gdt.kernel_code:long_mode
USE64
long_mode:
; load all the other segments with 64 bit data segments
mov rax, gdt.kernel_data
mov ds, rax
mov es, rax
mov fs, rax
mov gs, rax
mov ss, rax
; load long mode IDT
lidt [idtr]
mov rsp, 0x800000 - 128
mov rax, gdt.tss
ltr ax
;rust init
mov eax, [kernel_base + 0x18]
mov [interrupts.handler], rax
mov rax, tss
int 0xFF
.lp:
sti
hlt
jmp .lp
gdtr:
dw gdt.end + 1 ; size
dq gdt ; offset
gdt:
.null equ $ - gdt
dq 0
.kernel_code equ $ - gdt
istruc GDTEntry
at GDTEntry.limitl, dw 0
at GDTEntry.basel, dw 0
at GDTEntry.basem, db 0
at GDTEntry.attribute, db attrib.present | attrib.user | attrib.code
at GDTEntry.flags__limith, db flags.long_mode
at GDTEntry.baseh, db 0
iend
.kernel_data equ $ - gdt
istruc GDTEntry
at GDTEntry.limitl, dw 0
at GDTEntry.basel, dw 0
at GDTEntry.basem, db 0
; AMD System Programming Manual states that the writeable bit is ignored in long mode, but ss can not be set to this descriptor without it
at GDTEntry.attribute, db attrib.present | attrib.user | attrib.writable
at GDTEntry.flags__limith, db 0
at GDTEntry.baseh, db 0
iend
.user_code equ $ - gdt
istruc GDTEntry
at GDTEntry.limitl, dw 0
at GDTEntry.basel, dw 0
at GDTEntry.basem, db 0
at GDTEntry.attribute, db attrib.present | attrib.ring3 | attrib.user | attrib.code
at GDTEntry.flags__limith, db flags.long_mode
at GDTEntry.baseh, db 0
iend
.user_data equ $ - gdt
istruc GDTEntry
at GDTEntry.limitl, dw 0
at GDTEntry.basel, dw 0
at GDTEntry.basem, db 0
; AMD System Programming Manual states that the writeable bit is ignored in long mode, but ss can not be set to this descriptor without it
at GDTEntry.attribute, db attrib.present | attrib.ring3 | attrib.user | attrib.writable
at GDTEntry.flags__limith, db 0
at GDTEntry.baseh, db 0
iend
.tss equ $ - gdt
istruc GDTEntry
at GDTEntry.limitl, dw (tss.end - tss) & 0xFFFF
at GDTEntry.basel, dw (tss-$$+0x7C00) & 0xFFFF
at GDTEntry.basem, db ((tss-$$+0x7C00) >> 16) & 0xFF
at GDTEntry.attribute, db attrib.present | attrib.ring3 | attrib.tssAvailabe64
at GDTEntry.flags__limith, db ((tss.end - tss) >> 16) & 0xF
at GDTEntry.baseh, db ((tss-$$+0x7C00) >> 24) & 0xFF
iend
dq 0 ;tss descriptors are extended to 16 Bytes
.end equ $ - gdt
struc TSS
.reserved1 resd 1 ;The previous TSS - if we used hardware task switching this would form a linked list.
.rsp0 resq 1 ;The stack pointer to load when we change to kernel mode.
.rsp1 resq 1 ;everything below here is unused now..
.rsp2 resq 1
.reserved2 resd 1
.reserved3 resd 1
.ist1 resq 1
.ist2 resq 1
.ist3 resq 1
.ist4 resq 1
.ist5 resq 1
.ist6 resq 1
.ist7 resq 1
.reserved4 resd 1
.reserved5 resd 1
.reserved6 resw 1
.iomap_base resw 1
endstruc
tss:
istruc TSS
at TSS.rsp0, dd 0x800000 - 128
at TSS.iomap_base, dw 0xFFFF
iend
.end:
%include "asm/interrupts-x86_64.asm"
|
s2/sfx-original/E8 - Quick Door Slam.asm | Cancer52/flamedriver | 9 | 91644 | Sound68_QuickDoorSlam_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound68_QuickDoorSlam_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound68_QuickDoorSlam_FM5, $F4, $00
; FM5 Data
Sound68_QuickDoorSlam_FM5:
smpsSetvoice $00
dc.b nD2, $04, nC3, $06
smpsStop
Sound68_QuickDoorSlam_Voices:
; Voice $00
; $3C
; $00, $00, $00, $00, $1F, $1F, $1F, $1F, $00, $16, $0F, $0F
; $00, $00, $00, $00, $0F, $AF, $FF, $FF, $00, $80, $0A, $80
smpsVcAlgorithm $04
smpsVcFeedback $07
smpsVcUnusedBits $00
smpsVcDetune $00, $00, $00, $00
smpsVcCoarseFreq $00, $00, $00, $00
smpsVcRateScale $00, $00, $00, $00
smpsVcAttackRate $1F, $1F, $1F, $1F
smpsVcAmpMod $00, $00, $00, $00
smpsVcDecayRate1 $0F, $0F, $16, $00
smpsVcDecayRate2 $00, $00, $00, $00
smpsVcDecayLevel $0F, $0F, $0A, $00
smpsVcReleaseRate $0F, $0F, $0F, $0F
smpsVcTotalLevel $00, $0A, $00, $00
|
win64/lesson03.asm | mashingan/notes-asmtutor | 1 | 377 | <reponame>mashingan/notes-asmtutor<gh_stars>1-10
format PE64 console
entry start
include 'win64w.inc'
section '.data' readable
msg db 'Hello the new brave isekai!', 0dh, 0Ah, 0
section '.text' code readable executable
start:
mov rbx, msg
mov rcx, rbx
.nextchar:
cmp byte [rcx], 0
jz .finished
inc rcx
jmp .nextchar
.finished:
sub rcx, rbx
invoke GetStdHandle, STD_OUTPUT_HANDLE
push 0
mov rbx, rsp
invoke WriteConsoleA, rax, msg, rcx, rbx, 0
pop rax ; discard
invoke ExitProcess, 0
section '.idata' import data readable
library kernel32, 'kernel32.dll'
include 'api\kernel32.inc'
|
programs/oeis/077/A077866.asm | neoneye/loda | 22 | 169511 | <reponame>neoneye/loda<filename>programs/oeis/077/A077866.asm<gh_stars>10-100
; A077866: Expansion of (1-x)^(-1)/(1 - x - 2*x^2 + 2*x^3).
; 1,2,5,8,15,22,37,52,83,114,177,240,367,494,749,1004,1515,2026,3049,4072,6119,8166,12261,16356,24547,32738,49121,65504,98271,131038,196573,262108,393179,524250,786393,1048536,1572823,2097110,3145685,4194260,6291411,8388562,12582865,16777168,25165775,33554382,50331597,67108812,100663243,134217674,201326537,268435400,402653127,536870854,805306309,1073741764,1610612675,2147483586,3221225409,4294967232,6442450879,8589934526,12884901821,17179869116,25769803707,34359738298,51539607481,68719476664,103079215031,137438953398,206158430133,274877906868,412316860339,549755813810,824633720753,1099511627696,1649267441583,2199023255470,3298534883245,4398046511020,6597069766571,8796093022122,13194139533225,17592186044328,26388279066535,35184372088742,52776558133157,70368744177572,105553116266403,140737488355234,211106232532897,281474976710560,422212465065887,562949953421214,844424930131869,1125899906842524,1688849860263835,2251799813685146,3377699720527769,4503599627370392
add $0,1
mov $2,$0
add $0,2
seq $0,209721 ; 1/4 the number of (n+1) X 3 0..2 arrays with every 2 X 2 subblock having distinct clockwise edge differences.
sub $0,$2
sub $0,5
|
1-base/math/source/precision/float/pure/float_math-geometry.ads | charlie5/lace | 20 | 14851 | with
any_Math.any_Geometry;
package float_math.Geometry is new float_Math.any_Geometry;
pragma Pure (float_math.Geometry);
|
Src/mini_expect.ads | SMerrony/dashera | 23 | 20633 | <filename>Src/mini_expect.ads
-- Copyright ©2022 <NAME>
-- 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.
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
package Mini_Expect is
task type Runner_T;
type Runner_Acc is access Runner_T;
procedure Prepare (Filename : in String);
-- Try to open a DasherA mini-Expect script.
-- Could also sanity-check it in the future...
procedure Handle_Char (Ch : in Character; Done : out Boolean);
Expect_File : File_Type;
Runner_Task : Runner_Acc;
Expecting : Boolean;
Search_Str,
Host_Str : Unbounded_String;
Already_Expecting : exception;
end Mini_Expect; |
Task/Distributed-programming/Ada/distributed-programming-4.ada | LaudateCorpus1/RosettaCodeData | 1 | 28820 | configuration DSA is
pragma Starter (None);
-- Server
Server_Partition : Partition := (Server);
procedure Run_Server is in Server_Partition;
-- Client
Client_Partition : Partition;
for Client_Partition'Termination use Local_Termination;
procedure Client;
for Client_Partition'Main use Client;
end DSA;
|
oeis/096/A096051.asm | neoneye/loda-programs | 11 | 168712 | <reponame>neoneye/loda-programs
; A096051: Decimal expansion of limit n-->infty B(2n,8)/(B(2n)*64^n) ( see comment for B(n,k) definition ).
; Submitted by <NAME>
; 1,0,4,1,8,4,1,8,8,8,4,0,1,9,2,1,7,8,2,2,2,8,4,5,0,8,0,5,4,1,3,5,9,2,9,9,4,3,8,7,8,8,0,5,8,0,3,3,0,2,1,7,9,9,4,7,7,3,0,9,4,3,0,4,4,2,9,2,3,3,3,9,4,3,9,5,5,6,3,7,8,2,9,3,9,2,5,8,0,3,3,2,6,2,3,1,1,3,1,6
mov $1,1
mov $3,$0
mul $3,4
lpb $3
add $1,$2
add $2,$1
mul $1,2
sub $3,1
lpe
add $2,$1
mov $4,10
pow $4,$0
div $2,$4
lpb $2
mov $5,$2
cmp $5,0
add $2,$5
div $1,$2
div $1,14
mod $2,8
lpe
mov $0,$1
mod $0,10
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_9015_1337.asm | ljhsiun2/medusa | 9 | 175871 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6018, %rbp
nop
nop
nop
nop
sub %r10, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
and $0xffffffffffffffc0, %rbp
movntdq %xmm4, (%rbp)
nop
sub $36936, %r12
lea addresses_WC_ht+0x14758, %r9
nop
nop
nop
nop
nop
dec %rdx
movups (%r9), %xmm6
vpextrq $1, %xmm6, %rbp
nop
nop
xor %rdx, %rdx
lea addresses_WT_ht+0x1d758, %rsi
lea addresses_normal_ht+0x1d3f4, %rdi
inc %rbp
mov $113, %rcx
rep movsq
cmp $28176, %rdi
lea addresses_normal_ht+0x156f8, %rsi
lea addresses_normal_ht+0x11e22, %rdi
nop
nop
nop
nop
nop
add $30926, %r10
mov $94, %rcx
rep movsw
nop
nop
sub %rsi, %rsi
lea addresses_normal_ht+0x18cb8, %rdx
nop
nop
nop
nop
dec %rdi
movups (%rdx), %xmm5
vpextrq $0, %xmm5, %rsi
nop
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_A_ht+0x1bd04, %rsi
lea addresses_WC_ht+0xfd28, %rdi
nop
nop
nop
add %r9, %r9
mov $124, %rcx
rep movsq
nop
nop
nop
nop
sub %r10, %r10
lea addresses_D_ht+0x1d938, %rsi
nop
nop
nop
nop
and %r9, %r9
mov (%rsi), %r10w
nop
nop
and %r12, %r12
lea addresses_normal_ht+0x19388, %r12
nop
nop
nop
nop
cmp $53981, %rcx
mov $0x6162636465666768, %rdx
movq %rdx, (%r12)
nop
nop
nop
nop
nop
sub $40943, %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r8
push %rax
push %rbx
push %rdx
// Load
mov $0x228, %rdx
nop
nop
nop
nop
xor %r11, %r11
movaps (%rdx), %xmm3
vpextrq $0, %xmm3, %r8
nop
nop
nop
nop
dec %rbx
// Store
lea addresses_RW+0xe6b8, %rax
nop
nop
nop
nop
nop
cmp $57291, %r11
movw $0x5152, (%rax)
nop
nop
nop
nop
nop
xor $33612, %r15
// Faulty Load
lea addresses_WT+0xdcb8, %r11
nop
nop
nop
nop
nop
inc %r12
movups (%r11), %xmm0
vpextrq $1, %xmm0, %r15
lea oracles, %rdx
and $0xff, %r15
shlq $12, %r15
mov (%rdx,%r15,1), %r15
pop %rdx
pop %rbx
pop %rax
pop %r8
pop %r15
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_P', 'NT': True, 'AVXalign': True, 'size': 16, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_RW', 'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 8}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 5}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 5}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_normal_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_normal_ht'}, 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 11}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 1}}
{'39': 9015}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
|
alloy4fun_models/trashltl/models/9/mNFrGSj23rpZuzpnS.als | Kaixi26/org.alloytools.alloy | 0 | 1731 | open main
pred idmNFrGSj23rpZuzpnS_prop10 {
always (all f:Protected | always f in Protected)
}
pred __repair { idmNFrGSj23rpZuzpnS_prop10 }
check __repair { idmNFrGSj23rpZuzpnS_prop10 <=> prop10o } |
oeis/267/A267968.asm | neoneye/loda-programs | 11 | 178276 | <reponame>neoneye/loda-programs
; A267968: a(n) = Product_{k = 1..n} k^(k + 1).
; Submitted by <NAME>
; 1,1,8,648,663552,10368000000,2902376448000000,16731622649806848000000,2245680377810414777401344000000,7830203310981140781182893575634944000000,783020331098114078118289357563494400000000000000000,2457453226667794121573260254679367673480373862400000000000000000
mov $1,1
mov $2,$0
mov $0,1
lpb $2
mul $0,$2
mul $1,$2
mul $1,$0
sub $2,1
lpe
mov $0,$1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.