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 |
|---|---|---|---|---|
oeis/314/A314915.asm | neoneye/loda-programs | 11 | 174053 | <filename>oeis/314/A314915.asm
; A314915: Coordination sequence Gal.6.248.3 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.
; Submitted by <NAME>(s3)
; 1,5,9,14,19,25,29,35,40,45,49,54,59,63,68,73,79,83,89,94,99,103,108,113,117,122,127,133,137,143,148,153,157,162,167,171,176,181,187,191,197,202,207,211,216,221,225,230,235,241
mov $1,$0
mov $2,$0
lpb $0
mul $2,5
mov $0,$2
add $0,1
mov $4,$2
add $2,10
mul $2,$0
mul $2,4
add $3,$4
add $2,$3
mod $2,11
add $2,3
sub $2,$0
sub $0,$2
div $0,11
lpe
mul $1,4
add $0,$1
add $0,1
|
28.asm | AsadKhalil/Assembly_x86 | 0 | 242739 | <filename>28.asm<gh_stars>0
[org 0x0100]
jmp start
array: dw 10, 8, 6, 4, 2, 1 ;re-arrange the elements. The program will
;sort it in descending order itself
size: dw 6
swap: db 0
lb: dw 0
ub: dw 0
mid: dw 0
ele: dw 4 ;the element to be searched
flag: dw 0
start:
;sorting in descending order
mov bx, 0 ; initialize array index to zero
mov cx, 1
mov byte [swap], 0 ; rest swap flag to no swaps
loop1:
mov ax, [array+bx] ; load number in ax
cmp ax, [array+bx+2] ; compare with next number
jae noswap ; no swap if already in order
mov dx, [array+bx+2] ; load second element in dx
mov [array+bx+2], ax ; store first number in second
mov [array+bx], dx ; store second number in first
mov byte [swap], 1 ; flag that a swap has been done
noswap:
add bx, 2 ; advance bx to next index
inc cx
cmp cx, [size]
jnz loop1 ; if not compare next two
cmp byte [swap], 1 ; check if a swap has been done
je start ; if yes make another pass
;binary search
mov ax, 0
mov bx, 0
mov cx, 0
mov dx, 0
mov ax, [size]
dec ax
mov word [ub], ax
search:
mov ax, [lb]
cmp ax, [ub]
jg endsearch
add ax, [ub]
mov cx, 2
cmp ax, 1
jz skip3
div cx
skip3:
mul cl
mov bx, ax
mov ax, [array + bx]
cmp ax, [ele]
jz endsearch2
cmp ax, [ele]
ja skip2
mov ax, [lb]
add ax, [ub]
mov cx, 2
mov dx, 0
div cx
mov bx, ax
cmp bx, 0
jz skip4
dec bx ;mid - 1
skip4:
mov word[ub], bx
jmp search
skip2:
mov ax, [lb]
add ax, [ub]
mov cx, 2
mov dx, 0
div cx
mov bx, ax
inc bx
mov word [lb], bx
jmp search
endsearch2:
mov word [flag], 1
endsearch:
cmp word [flag], 1
jz found
mov ax, 0
jmp finish
found:
mov ax, 1
finish:
mov dx, ax ;just for checking
mov ax, 0x04c00
int 21h |
8088/demo/frozen_snow/frozen_snow.asm | reenigne/reenigne | 92 | 165124 | <reponame>reenigne/reenigne
%include "../defaults_bin.asm"
lockstep
initCGA 0x09
mov ax,cs
mov ds,ax
push es
; Fill visible video memory with spaces
mov cx,80*25
mov ax,0x0720
xor di,di
rep stosw
push di
mov si,snowRoutine
mov cx,snowRoutineEnd - snowRoutine
rep movsb
mov cl,1
mov al,0x3f
mov dx,0x03d
retf
snowRoutine:
%rep 261
times 24 nop
mul cl
%endrep
; 28.5 per line
; 17.5 on last line
mov al,0x07
times 6 nop
; times 7456 nop
mul cl
times 9
nop
mov
jmp snowRoutine
snowRoutineEnd:
|
programs/oeis/255/A255843.asm | neoneye/loda | 22 | 80014 | ; A255843: a(n) = 2*n^2 + 4.
; 4,6,12,22,36,54,76,102,132,166,204,246,292,342,396,454,516,582,652,726,804,886,972,1062,1156,1254,1356,1462,1572,1686,1804,1926,2052,2182,2316,2454,2596,2742,2892,3046,3204,3366,3532,3702,3876,4054,4236,4422
pow $0,2
mov $1,$0
add $0,4
add $0,$1
|
Task/Map-range/AppleScript/map-range.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2551 | -- rangeMap :: (Num, Num) -> (Num, Num) -> Num -> Num
on rangeMap(a, b)
script
on |λ|(s)
set {a1, a2} to a
set {b1, b2} to b
b1 + ((s - a1) * (b2 - b1)) / (a2 - a1)
end |λ|
end script
end rangeMap
-- TEST ---------------------------------------------------
on run
set mapping to rangeMap({0, 10}, {-1, 0})
set xs to enumFromTo(0, 10)
set ys to map(mapping, xs)
set zs to map(approxRatio(0), ys)
unlines(zipWith3(formatted, xs, ys, zs))
end run
-- DISPLAY ------------------------------------------------
-- formatted :: Int -> Float -> Ratio -> String
on formatted(x, m, r)
set fract to showRatio(r)
set {n, d} to splitOn("/", fract)
(justifyRight(2, space, x as string) & " -> " & ¬
justifyRight(4, space, m as string)) & " = " & ¬
justifyRight(2, space, n) & "/" & d
end formatted
-- GENERIC ABSTRACTIONS -----------------------------------
-- https://github.com/RobTrew/prelude-applescript
-- Absolute value.
-- abs :: Num -> Num
on abs(x)
if 0 > x then
-x
else
x
end if
end abs
-- approxRatio :: Real -> Real -> Ratio
on approxRatio(epsilon)
script
on |λ|(n)
if {real, integer} contains (class of epsilon) and 0 < epsilon then
set e to epsilon
else
set e to 1 / 10000
end if
script gcde
on |λ|(e, x, y)
script _gcd
on |λ|(a, b)
if b < e then
a
else
|λ|(b, a mod b)
end if
end |λ|
end script
|λ|(abs(x), abs(y)) of _gcd
end |λ|
end script
set c to |λ|(e, 1, n) of gcde
ratio((n div c), (1 div c))
end |λ|
end script
end approxRatio
-- enumFromTo :: Int -> Int -> [Int]
on enumFromTo(m, n)
if m ≤ n then
set lst to {}
repeat with i from m to n
set end of lst to i
end repeat
return lst
else
return {}
end if
end enumFromTo
-- gcd :: Int -> Int -> Int
on gcd(a, b)
set x to abs(a)
set y to abs(b)
repeat until y = 0
if x > y then
set x to x - y
else
set y to y - x
end if
end repeat
return x
end gcd
-- justifyLeft :: Int -> Char -> String -> String
on justifyLeft(n, cFiller, strText)
if n > length of strText then
text 1 thru n of (strText & replicate(n, cFiller))
else
strText
end if
end justifyLeft
-- justifyRight :: Int -> Char -> String -> String
on justifyRight(n, cFiller, strText)
if n > length of strText then
text -n thru -1 of ((replicate(n, cFiller) as text) & strText)
else
strText
end if
end justifyRight
-- length :: [a] -> Int
on |length|(xs)
set c to class of xs
if list is c or string is c then
length of xs
else
(2 ^ 29 - 1) -- (maxInt - simple proxy for non-finite)
end if
end |length|
-- Lift 2nd class handler function into 1st class script wrapper
-- mReturn :: First-class m => (a -> b) -> m (a -> b)
on mReturn(f)
if class of f is script then
f
else
script
property |λ| : f
end script
end if
end mReturn
-- map :: (a -> b) -> [a] -> [b]
on map(f, xs)
tell mReturn(f)
set lng to length of xs
set lst to {}
repeat with i from 1 to lng
set end of lst to |λ|(item i of xs, i, xs)
end repeat
return lst
end tell
end map
-- minimum :: Ord a => [a] -> a
on minimum(xs)
set lng to length of xs
if lng < 1 then return missing value
set m to item 1 of xs
repeat with x in xs
set v to contents of x
if v < m then set m to v
end repeat
return m
end minimum
-- ratio :: Int -> Int -> Ratio Int
on ratio(x, y)
script go
on |λ|(x, y)
if 0 ≠ y then
if 0 ≠ x then
set d to gcd(x, y)
{type:"Ratio", n:(x div d), d:(y div d)}
else
{type:"Ratio", n:0, d:1}
end if
else
missing value
end if
end |λ|
end script
go's |λ|(x * (signum(y)), abs(y))
end ratio
-- Egyptian multiplication - progressively doubling a list, appending
-- stages of doubling to an accumulator where needed for binary
-- assembly of a target length
-- replicate :: Int -> a -> [a]
on replicate(n, a)
set out to {}
if n < 1 then return out
set dbl to {a}
repeat while (n > 1)
if (n mod 2) > 0 then set out to out & dbl
set n to (n div 2)
set dbl to (dbl & dbl)
end repeat
return out & dbl
end replicate
-- showRatio :: Ratio -> String
on showRatio(r)
(n of r as string) & "/" & (d of r as string)
end showRatio
-- signum :: Num -> Num
on signum(x)
if x < 0 then
-1
else if x = 0 then
0
else
1
end if
end signum
-- splitOn :: String -> String -> [String]
on splitOn(pat, src)
set {dlm, my text item delimiters} to ¬
{my text item delimiters, pat}
set xs to text items of src
set my text item delimiters to dlm
return xs
end splitOn
-- take :: Int -> [a] -> [a]
-- take :: Int -> String -> String
on take(n, xs)
set c to class of xs
if list is c then
if 0 < n then
items 1 thru min(n, length of xs) of xs
else
{}
end if
else if string is c then
if 0 < n then
text 1 thru min(n, length of xs) of xs
else
""
end if
else if script is c then
set ys to {}
repeat with i from 1 to n
set v to xs's |λ|()
if missing value is v then
return ys
else
set end of ys to v
end if
end repeat
return ys
else
missing value
end if
end take
-- unlines :: [String] -> String
on unlines(xs)
set {dlm, my text item delimiters} to ¬
{my text item delimiters, linefeed}
set str to xs as text
set my text item delimiters to dlm
str
end unlines
-- zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d]
on zipWith3(f, xs, ys, zs)
set lng to minimum({length of xs, length of ys, length of zs})
if 1 > lng then return {}
set lst to {}
tell mReturn(f)
repeat with i from 1 to lng
set end of lst to |λ|(item i of xs, item i of ys, item i of zs)
end repeat
return lst
end tell
end zipWith3
|
grammar/FluentLangParser.g4 | jspuij/fluentlang | 10 | 2356 | parser grammar FluentLangParser;
options { tokenVocab = FluentLangLexer; }
compilation_unit
: open_directives namespace_member_declaration* EOF
;
open_directives
: open_directive*
;
open_directive
: OPEN qualified_name SEMICOLON
;
qualified_name
: UPPERCASE_IDENTIFIER (DOT UPPERCASE_IDENTIFIER)*
;
namespace_member_declaration
: namespace_declaration
| interface_declaration
| method_declaration
;
namespace_declaration
: NAMESPACE qualified_name OPEN_BRACE namespace_member_declaration* CLOSE_BRACE
;
interface_declaration
: EXPORT? INTERFACE UPPERCASE_IDENTIFIER type_parameter_list anonymous_interface_declaration
;
type_parameter_list
: (LT type_parameter (COMMA type_parameter)* GT)?
;
type_parameter
: UPPERCASE_IDENTIFIER type_declaration?
;
anonymous_interface_declaration
: simple_anonymous_interface_declaration (PLUS simple_anonymous_interface_declaration)*
;
simple_anonymous_interface_declaration
: OPEN_BRACE interface_member_declaration* CLOSE_BRACE
| named_type_reference
;
named_type_reference
: qualified_name type_argument_list
;
type_argument_list
: (LT type (COMMA type)* GT)?
;
interface_member_declaration
: method_signature SEMICOLON
;
method_signature
: UPPERCASE_IDENTIFIER type_parameter_list OPEN_PARENS parameters CLOSE_PARENS type_declaration
;
parameters
: (parameter (COMMA parameter)*)?
;
parameter
: LOWERCASE_IDENTIFIER type_declaration
;
type_declaration
: COLON type
;
type
: named_type_reference
| primitive_type
| anonymous_interface_declaration
| union
;
primitive_type
: BOOL
| INT
| DOUBLE
| CHAR
| STRING
;
union
: union_part_type (LOGICAL_OR union_part_type)+
;
union_part_type
: named_type_reference
| primitive_type
| anonymous_interface_declaration
;
method_declaration
: EXPORT? method_signature method_body
;
method_body
: OPEN_BRACE (method_statement | method_declaration | interface_declaration)* CLOSE_BRACE
;
method_statement
: declaration_statement
| return_statement
;
declaration_statement
: LET LOWERCASE_IDENTIFIER type_declaration? ASSIGNMENT expression SEMICOLON
| DISCARD ASSIGNMENT expression SEMICOLON
;
return_statement
: RETURN expression SEMICOLON
;
expression
: empty_interface #new_object_expression
| expression PLUS object_patch (COMMA object_patch)* #object_patching_expression
| expression operator expression #binary_operator_expression
| prefix_unary_operator expression #prefix_unary_operator_expression
| literal #literal_expression
| method_reference invocation #static_invocation_expression
| expression DOT UPPERCASE_IDENTIFIER invocation #member_invocation_expression
| expression DOT_DOT method_reference invocation #piped_static_invocation_expression
| IF OPEN_PARENS expression CLOSE_PARENS expression ELSE expression #conditional_expression
| OPEN_PARENS expression CLOSE_PARENS #parenthesized_expression
| LOWERCASE_IDENTIFIER #local_reference_expression
| expression MATCH OPEN_BRACE match_expression_arm* CLOSE_BRACE #match_expression
;
empty_interface
: OPEN_BRACE CLOSE_BRACE
;
object_patch
: method_reference
| MIXIN expression
;
method_reference
: qualified_name type_argument_list
;
operator
: PLUS
| MINUS
| STAR
| DIV
| PERCENT
| LT
| GT
| OP_EQ
| OP_NE
| OP_LE
| OP_GE
| OP_OR
| OP_AND
;
prefix_unary_operator
: MINUS
;
literal
: LITERAL_TRUE
| LITERAL_FALSE
| INTEGER_LITERAL
| REAL_LITERAL
| CHARACTER_LITERAL
| REGULAR_STRING
;
invocation
: OPEN_PARENS arguments CLOSE_PARENS
;
arguments
: (expression (COMMA expression)*)?
;
match_expression_arm
: (LOWERCASE_IDENTIFIER COLON)? type RIGHT_ARROW expression SEMICOLON
;
/*
***********************************************************************************
* METADATA RULES *
***********************************************************************************
*/
anonymous_interface_declaration_metadata
: anonymous_interface_declaration EOF
;
type_parameter_metadata
: type_parameter EOF
;
method_signature_metadata
: qualified_name type_parameter_list OPEN_PARENS parameters CLOSE_PARENS type_declaration EOF
;
interface_method_metadata
: method_signature EOF
; |
src/asm/aluop.asm | ivanvig/MIPS | 1 | 240985 | ori $t0, $0, 0xaaaa
xori $t1, $t0, 0x5555
and $t2, $t1, $t0
lui $t3, 0x00ca
slti $t4, $t3, 0xcaca
jal 20
nor $t5, $0, $t0
sw $t0, 0($0)
sw $t1, 4($0)
sw $t2, 8($0)
sw $t3, 12($0)
sw $t4, 16($0)
sw $t5, 20($0)
sw $ra, 24($0)
hlt
ori $t0, $0, 0x00ff
jr $ra
|
Examples/Lambda/BigStep.agda | LcicC/inference-systems-agda | 3 | 16556 | --------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
{-# OPTIONS --sized-types #-}
open import Data.Nat
open import Data.Vec
open import Data.Fin
open import Data.Product
open import Data.Sum
open import Data.Unit
open import Data.Empty
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
open import Size
open import is-lib.SInfSys
open import Examples.Lambda.Lambda
module Examples.Lambda.BigStep where
data Value∞ : Set where
res : Value → Value∞
div : Value∞
U : Set
U = Term 0 × Value∞
data BigStepRN : Set where
VAL APP L-DIV R-DIV : BigStepRN
data BigStepCoRN : Set where
COA : BigStepCoRN
coa-r : FinMetaRule U
coa-r .Ctx = Term 0
coa-r .comp t =
[] ,
-------------------------
(t , div)
val-r : FinMetaRule U
val-r .Ctx = Value
val-r .comp v =
[] ,
-------------------------
(term v , res v)
app-r : FinMetaRule U
app-r .Ctx = Term 0 × Term 1 × Term 0 × Value × Value∞
app-r .comp (t1 , t , t2 , v , v∞) =
(t1 , res (lambda t)) ∷ (t2 , res v) ∷ (subst-0 t (term v) , v∞) ∷ [] ,
-------------------------
(app t1 t2 , v∞)
l-div-r : FinMetaRule U
l-div-r .Ctx = Term 0 × Term 0
l-div-r .comp (t1 , t2) =
(t1 , div) ∷ [] ,
-------------------------
(app t1 t2 , div)
r-div-r : FinMetaRule U
r-div-r .Ctx = Term 0 × Term 0 × Value
r-div-r .comp (t1 , t2 , v) =
(t1 , res v) ∷ (t2 , div) ∷ [] ,
-------------------------
(app t1 t2 , div)
BigStepIS : IS U
BigStepIS .Names = BigStepRN
BigStepIS .rules VAL = from val-r
BigStepIS .rules APP = from app-r
BigStepIS .rules L-DIV = from l-div-r
BigStepIS .rules R-DIV = from r-div-r
BigStepCOIS : IS U
BigStepCOIS .Names = BigStepCoRN
BigStepCOIS .rules COA = from coa-r
_⇓_ : Term 0 → Value∞ → Size → Set
(t ⇓ v∞) i = SFCoInd⟦ BigStepIS , BigStepCOIS ⟧ (t , v∞) i
_⇓ᵢ_ : Term 0 → Value∞ → Set
t ⇓ᵢ v∞ = Ind⟦ BigStepIS ∪ BigStepCOIS ⟧ (t , v∞)
{- Properties -}
val-not-reduce⇓ : ∀{v} → ¬ (∀{i} → ((term v) ⇓ div) i)
val-not-reduce⇓ {lambda _} bs with bs
val-not-reduce⇓ {lambda _} bs | (sfold (VAL , _ , () , _))
val-⇓ᵢ-≡ : ∀{v v'} → term v ⇓ᵢ res v' → v ≡ v'
val-⇓ᵢ-≡ {lambda x} {lambda .x} (fold (inj₁ VAL , .(lambda x) , refl , _)) = refl
val-⇓ᵢ-≡ {lambda x} {lambda x₁} (fold (inj₁ APP , _ , () , _))
val-⇓ᵢ-≡ {v} {v'} (fold (inj₂ COA , _ , () , _))
val-⇓-≡ : ∀{v v'} → (∀{i} → (term v ⇓ res v') i) → v ≡ v'
val-⇓-≡ bs = val-⇓ᵢ-≡ (sfcoind-to-ind bs) |
src/LibraBFT/Impl/Properties/PreferredRound.agda | LaudateCorpus1/bft-consensus-agda | 0 | 5271 | <filename>src/LibraBFT/Impl/Properties/PreferredRound.agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Concrete.Records
open import LibraBFT.Concrete.System
open import LibraBFT.Concrete.System.Parameters
open import LibraBFT.Concrete.Obligations.PreferredRound
import LibraBFT.Concrete.Properties.Common as Common
import LibraBFT.Concrete.Properties.PreferredRound as PR
open import LibraBFT.Impl.Consensus.Network as Network
open import LibraBFT.Impl.Consensus.Network.Properties as NetworkProps
open import LibraBFT.Impl.Consensus.RoundManager
import LibraBFT.Impl.Handle as Handle
open import LibraBFT.Impl.Handle.Properties
open import LibraBFT.Impl.Handle.InitProperties
open initHandlerSpec
open import LibraBFT.Impl.IO.OBM.InputOutputHandlers
open import LibraBFT.Impl.IO.OBM.Properties.InputOutputHandlers
open import LibraBFT.Impl.Properties.Common
open import LibraBFT.ImplShared.Consensus.Types
open import LibraBFT.ImplShared.Consensus.Types.EpochDep
open import LibraBFT.ImplShared.Interface.Output
open import LibraBFT.ImplShared.Util.Crypto
open import LibraBFT.ImplShared.Util.Dijkstra.All
open ReachableSystemStateProps
open import LibraBFT.Impl.Properties.Util
open import Optics.All
open import Util.Lemmas
open import Util.PKCS
open import Util.Prelude
open Invariants
open RoundManagerTransProps
open import LibraBFT.Abstract.Types.EpochConfig UID NodeId
open ParamsWithInitAndHandlers Handle.InitHandler.initAndHandlers
open import LibraBFT.ImplShared.Util.HashCollisions Handle.InitHandler.initAndHandlers
open import Yasm.Yasm ℓ-RoundManager ℓ-VSFP ConcSysParms
Handle.InitHandler.initAndHandlers
PeerCanSignForPK PeerCanSignForPK-stable
open Structural impl-sps-avp
-- This module proves the two "PreferredRound" proof obligations for our handler.
module LibraBFT.Impl.Properties.PreferredRound (𝓔 : EpochConfig) where
------------------------------------------------------------------------------
preferredRound₁ : PR.ImplObligation₁ Handle.InitHandler.initAndHandlers 𝓔
preferredRound₁ {pid} {pid'} {pk = pk} {pre} preach sps@(step-init rm×acts uni) {v = v} {m = m} {v' = v'} {m' = m'}
hpk v'⊂m' m'∈acts sig' ¬bootstrap' pcs4' v⊂m m∈pool sig ¬bootstrap eid≡ rnd< v≈vabs v'≈vabs'
c3
with initHandlerSpec.contract pid fakeBootstrapInfo rm×acts
...| init-contract
with initHandlerSpec.ContractOk.isInitPM init-contract m'∈acts
...| (_ , refl , noSigs)
with v'⊂m'
...| vote∈qc vs∈qc _ qc∈pm = ⊥-elim (noSigs vs∈qc qc∈pm)
preferredRound₁ {pid} {pid'} {pk = pk} {pre} preach sps@(step-msg {sndr , P vm} vm'∈pool ini) {v = v} {m = m} {v' = v'} {m' = m'}
hpk v'⊂m' m'∈acts sig' ¬bootstrap' pcs4' v⊂m m∈pool sig ¬bootstrap eid≡ rnd< v≈vabs v'≈vabs'
c3 = obm-dangerous-magic' "Extend and use handleProposalSpec.contract"
preferredRound₁ {pid} {pre = pre} preach sps@(step-msg {_ , V vm} _ _)
_ v'⊂m' m'∈acts sig' ¬bootstrap' ¬msb _ _ _ _ _ _ _ _ _
with v'⊂m'
...| vote∈qc vs∈qc v≈rbld qc∈m' rewrite cong _vSignature v≈rbld =
⊥-elim ∘′ ¬msb $ qcVoteSigsSentB4-handle pid preach sps m'∈acts qc∈m' sig' vs∈qc v≈rbld ¬bootstrap'
...| vote∈vm = ⊥-elim (sendVote∉actions{outs = hvOut}{st = hvPre} (sym noVotes) m'∈acts)
where
hvPre = peerStates pre pid
hvOut = LBFT-outs (handleVote 0 vm) hvPre
open handleVoteSpec.Contract (handleVoteSpec.contract! 0 vm (msgPool pre) hvPre)
------------------------------------------------------------------------------
-- This proof is essentially the same as the votesOnce₂: no handler sends two different Votes
-- TODO-2: refactor for DRY?
preferredRound₂ : PR.ImplObligation₂ Handle.InitHandler.initAndHandlers 𝓔
preferredRound₂ {pid} _ (step-init rm×acts uni) _ v⊂m m∈acts _ _ _ _ _ _ _ _ _ _ _ _
with initHandlerSpec.contract pid fakeBootstrapInfo rm×acts
...| init-contract
with initHandlerSpec.ContractOk.isInitPM init-contract m∈acts
...| (_ , refl , noSigs)
with v⊂m
...| vote∈qc vs∈qc _ qc∈pm = ⊥-elim (noSigs vs∈qc qc∈pm)
preferredRound₂ {pid}{pk = pk}{pre} rss (step-msg{sndr , m“} m“∈pool ini) {v = v}{v' = v'} hpk v⊂m m∈acts sig ¬bootstrap ¬msb4 pcsfpk v'⊂m' m'∈acts sig' ¬bootstrap' ¬msb4' _ _ round<
with v⊂m
...| vote∈qc vs∈qc v≈rbld qc∈m rewrite cong _vSignature v≈rbld =
⊥-elim ∘′ ¬msb4 $ qcVoteSigsSentB4-handle pid rss (step-msg m“∈pool ini) m∈acts qc∈m sig vs∈qc v≈rbld ¬bootstrap
...| vote∈vm
with v'⊂m'
...| vote∈qc vs∈qc' v≈rbld' qc∈m' rewrite cong _vSignature v≈rbld' =
⊥-elim ∘′ ¬msb4' $ qcVoteSigsSentB4-handle pid rss (step-msg m“∈pool ini) m'∈acts qc∈m' sig' vs∈qc' v≈rbld' ¬bootstrap'
...| vote∈vm
with m“
...| P pm = ⊥-elim (<⇒≢ round< (cong (_^∙ vRound) v≡v'))
where
hpPool = msgPool pre
hpPre = peerStates pre pid
hpOut = LBFT-outs (handleProposal 0 pm) hpPre
open handleProposalSpec.Contract (handleProposalSpec.contract! 0 pm hpPool hpPre)
v≡v' : v ≡ v'
v≡v'
with BlockId-correct? (pm ^∙ pmProposal)
...| no ¬validProposal = ⊥-elim (sendVote∉actions {outs = hpOut} {st = hpPre} (sym (proj₂ $ invalidProposal ¬validProposal)) m∈acts)
...| yes refl
with voteAttemptCorrect refl (nohc rss m“∈pool pid ini (invariantsCorrect pid pre ini rss) refl refl )
...| Voting.mkVoteAttemptCorrectWithEpochReq (Left (_ , Voting.mkVoteUnsentCorrect noVoteMsgOuts _)) _ =
⊥-elim (sendVote∉actions{outs = hpOut}{st = hpPre} (sym noVoteMsgOuts) m∈acts)
...| Voting.mkVoteAttemptCorrectWithEpochReq (Right (Voting.mkVoteSentCorrect vm pid voteMsgOuts _)) _ = begin
v ≡⟨ cong (_^∙ vmVote) (sendVote∈actions{outs = hpOut}{st = hpPre} (sym voteMsgOuts) m∈acts) ⟩
vm ^∙ vmVote ≡⟨ (sym $ cong (_^∙ vmVote) (sendVote∈actions{outs = hpOut}{st = hpPre} (sym voteMsgOuts) m'∈acts)) ⟩
v' ∎
where
open ≡-Reasoning
... | V vm = ⊥-elim (sendVote∉actions{outs = hvOut}{st = hvPre} (sym noVotes) m∈acts)
where
hvPre = peerStates pre pid
hvOut = LBFT-outs (handle pid (V vm) 0) hvPre
open handleVoteSpec.Contract (handleVoteSpec.contract! 0 vm (msgPool pre) hvPre)
|
test/Succeed/Issue4750.agda | cruhland/agda | 1,989 | 8893 | <gh_stars>1000+
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
data Three : Set -- (AAA) To fix things, move this line...
data One : Set where
one : Nat → One
data Two : Set where
two : One → Two
lemma′ : ∀ (m n : Nat) → (one m) ≡ (one n) → m ≡ n
lemma′ m .m refl = refl
lemma : ∀ (m n : Nat) → (two (one m)) ≡ (two (one n)) → m ≡ n
lemma m .m refl = refl
{- Error was:
I'm not sure if there should be a case for the constructor refl,
because I get stuck when trying to solve the following unification
problems (inferred index ≟ expected index):
two (one m) ≟ two (one n)
when checking that the pattern refl has type
two (one m) ≡ two (one n)
-}
-- (BBB) ... to here.
data Three where
three : Three
|
programs/oeis/127/A127713.asm | jmorken/loda | 1 | 174438 | ; A127713: A bisection of the row sums of the inverse of the triangle A(n,k) = 1/F(n+1) if k <= n <= 2k, 0 otherwise.
; 1,2,4,10,23,59,149,387,1000,2607,6799,17770,46457,121542,318044,832427,2178919,5703887,14931949,39090776,102338336,267921095,701419679,1836329673,4807555633,12586315482
mul $0,2
sub $2,$0
lpb $2
mov $1,$0
add $1,1
mov $2,0
lpe
cal $1,127712 ; Row sums of the inverse of the triangle A(n,k) = 1/F(n+1) if k <= n <= 2k, 0 otherwise.
|
programs/oeis/256/A256244.asm | neoneye/loda | 22 | 242971 | ; A256244: a(n) = sqrt(n + 2*A256243(n)).
; 3,2,3,4,3,4,3,4,5,4,5,4,5,4,5,6,5,6,5,6,5,6,5,6,7,6,7,6,7,6,7,6,7,6,7,8,7,8,7,8,7,8,7,8,7,8,7,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,11,10,11,10,11,10,11,10,11,10,11,10,11,10,11,10,11,10,11,12
add $0,1
mov $2,1
lpb $0,7
mov $1,$0
add $2,2
trn $0,$2
mod $1,2
lpe
mov $1,$2
div $1,2
add $1,1
mov $0,$1
|
kernel/blkdev/ahci.asm | ssebs/xos | 15 | 179917 |
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use32
; AHCI ABAR Structure
AHCI_ABAR_CAP = 0x0000
AHCI_ABAR_HOST_CONTROL = 0x0004
AHCI_ABAR_INTERRUPT_STATUS = 0x0008
AHCI_ABAR_PORTS = 0x000C
AHCI_ABAR_VERSION = 0x0010
AHCI_ABAR_COMMAND_CONTROL = 0x0014
AHCI_ABAR_COMMAND_PORTS = 0x0018
AHCI_ABAR_ENCLOSURE_LOCATION = 0x001C
AHCI_ABAR_ENCLOSURE_CONTROL = 0x0020
AHCI_ABAR_HOST_CAP = 0x0024
AHCI_ABAR_HANDOFF = 0x0028
AHCI_ABAR_RESERVED = 0x002C
AHCI_ABAR_VENDOR_SPECIFIC = 0x00A0
AHCI_ABAR_PORT_CONTROL = 0x0100
; AHCI Port Structure
AHCI_PORT_COMMAND_LIST = 0x0000
AHCI_PORT_FIS = 0x0008
AHCI_PORT_IRQ_STATUS = 0x0010
AHCI_PORT_IRQ_ENABLE = 0x0014
AHCI_PORT_COMMAND = 0x0018
AHCI_PORT_RESERVED0 = 0x001C
AHCI_PORT_TASK_FILE = 0x0020
AHCI_PORT_SIGNATURE = 0x0024
AHCI_PORT_SATA_STATUS = 0x0028
AHCI_PORT_SATA_CONTROL = 0x002C
AHCI_PORT_SATA_ERROR = 0x0030
AHCI_PORT_SATA_ACTIVE = 0x0034
AHCI_PORT_COMMAND_ISSUE = 0x0038
AHCI_PORT_SATA_NOTIFICATION = 0x003C
AHCI_PORT_FIS_CONTROL = 0x0040
AHCI_PORT_RESERVED1 = 0x0044
AHCI_PORT_VENDOR_SPECIFIC = 0x0070
; AHCI Port Command And Status
AHCI_COMMAND_START = 0x00000001
AHCI_COMMAND_FIS_RECEIVE = 0x00000010
AHCI_COMMAND_DMA_RUNNING = 0x00008000
; FIS Types
AHCI_FIS_H2D = 0x27
AHCI_FIS_D2H = 0x34
AHCI_FIS_DMA_ACT = 0x39
AHCI_FIS_DMA_SETUP = 0x41
AHCI_FIS_DATA = 0x46
AHCI_FIS_BIST = 0x58
AHCI_FIS_PIO_SETUP = 0x5F
AHCI_FIS_DEV_BITS = 0xA1
; Command Set
SATA_IDENTIFY = 0xEC
SATA_READ_LBA28 = 0xC8
SATA_READ_LBA48 = 0x25
SATA_WRITE_LBA28 = 0xCA
SATA_WRITE_LBA48 = 0x35
SATA_FLUSH_LBA28 = 0xE7
SATA_FLUSH_LBA48 = 0xEA
pci_ahci_bus db 0
pci_ahci_slot db 0
pci_ahci_function db 0
align 4
ahci_abar dd 0
;ahci_port_count db 0 ; counts how many ports are present
; ahci_detect:
; Detects a AHCI controller
ahci_detect:
;mov esi, .starting_msg
;call kprint
mov ax, 0x0106
call pci_get_device_class
cmp al, 0xFF
je .no
mov [pci_ahci_bus], al
mov [pci_ahci_slot], ah
mov [pci_ahci_function], bl
mov esi, .found_msg
call kprint
mov al, [pci_ahci_bus]
call hex_byte_to_string
call kprint
mov esi, .colon
call kprint
mov al, [pci_ahci_slot]
call hex_byte_to_string
call kprint
mov esi, .colon
call kprint
mov al, [pci_ahci_function]
call hex_byte_to_string
call kprint
mov esi, newline
call kprint
; map the AHCI memory
mov al, [pci_ahci_bus]
mov ah, [pci_ahci_slot]
mov bl, [pci_ahci_function]
mov dl, 5 ; bar5
call pci_map_memory
cmp eax, 0
je .no_memory
mov [ahci_abar], eax
; enable MMIO, DMA, disable IRQs
mov al, [pci_ahci_bus]
mov ah, [pci_ahci_slot]
mov bl, [pci_ahci_function]
mov bh, PCI_STATUS_COMMAND
call pci_read_dword
or eax, 0x406
;or eax, 6
mov edx, eax
mov al, [pci_ahci_bus]
mov ah, [pci_ahci_slot]
mov bl, [pci_ahci_function]
mov bh, PCI_STATUS_COMMAND
call pci_write_dword
; handoff is needed on some hardware
; if it fails, ignore this ahci controller
call ahci_handoff
jc .finish
mov [.port], 0
.loop:
mov bl, [.port]
call ahci_identify
inc [.port]
cmp [.port], 31
jg .finish
jmp .loop
.finish:
ret
.no:
;mov esi, .no_msg
;call kprint
ret
.no_memory:
mov esi, .no_memory_msg
call kprint
ret
.starting_msg db "ahci: detecting AHCI controller...",10,0
.no_msg db "ahci: AHCI controller not present.",10,0
.found_msg db "ahci: found AHCI controller on PCI slot ",0
.colon db ":",0
.no_memory_msg db "ahci: insufficient memory to map PCI MMIO memory.",10,0
.port db 0
; ahci_handoff:
; Takes ownership of the AHCI from the BIOS
; In\ Nothing
; Out\ EFLAGS.CF = 0 on success
ahci_handoff:
; does the controller support handoff?
mov edi, [ahci_abar]
test dword[edi+AHCI_ABAR_HOST_CAP], 1
jz .no_handoff
; take ownership from the BIOS
or dword[edi+AHCI_ABAR_HANDOFF], 2
mov ecx, TIMER_FREQUENCY*2 ; time limit is 2 seconds -- much more than enough
; but God knows what kind of weird and buggy HW exist...
.loop:
dec ecx
cmp ecx, 0
je .not_respond
sti
hlt
test dword[edi+AHCI_ABAR_HANDOFF], 1
jnz .loop
test dword[edi+AHCI_ABAR_HANDOFF], 2
jz .loop
.done:
mov esi, .done_msg
call kprint
clc
ret
.no_handoff:
mov esi, .no_handoff_msg
call kprint
clc
ret
.not_respond:
mov esi, .not_respond_msg
call kprint
stc
ret
.done_msg db "ahci: handoff succeeded.",10,0
.no_handoff_msg db "ahci: controller doesn't support handoff.",10,0
.not_respond_msg db "ahci: BIOS is not responding to handoff request.",10,0
; ahci_start:
; Turns on AHCI command execution
; In\ BL = Port number
; Out\ Nothing
ahci_start:
pusha
mov [.port], bl
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
.loop:
test dword[edi+AHCI_PORT_COMMAND], AHCI_COMMAND_DMA_RUNNING
jnz .loop
or dword[edi+AHCI_PORT_COMMAND], AHCI_COMMAND_START or AHCI_COMMAND_FIS_RECEIVE
popa
ret
.port db 0
; ahci_stop:
; Turns off AHCI command execution
; In\ BL = Port
; Out\ Nothing
ahci_stop:
pusha
mov [.port], bl
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
; disable DMA
and dword[edi+AHCI_PORT_COMMAND], not AHCI_COMMAND_START
.wait:
test dword[edi+AHCI_PORT_COMMAND], AHCI_COMMAND_DMA_RUNNING
jnz .wait
; disable FIS receive
and dword[edi+AHCI_PORT_COMMAND], not AHCI_COMMAND_FIS_RECEIVE
popa
ret
.port db 0
; ahci_identify:
; Identifies an AHCI device
; In\ BL = Port Number
; Out\ Nothing
ahci_identify:
mov [.port], bl
mov cl, [.port]
mov eax, 1
shl eax, cl
test dword[ahci_abar+AHCI_ABAR_PORTS], eax
jz .quit
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov eax, [edi+AHCI_PORT_SIGNATURE]
cmp eax, 0x0101 ; SATA?
jne .quit
; if it's SATA, identify the drive
; clear all nescessary structures
mov edi, ahci_command_list
mov ecx, end_ahci_command_list - ahci_command_list
xor al, al
rep stosb
mov edi, ahci_command_table
mov ecx, end_ahci_command_table - ahci_command_table
xor al, al
rep stosb
mov edi, ahci_received_fis
mov ecx, end_ahci_received_fis - ahci_received_fis
xor al, al
rep stosb
; make the received FIS
mov [ahci_dma_setup_fis.type], AHCI_FIS_DMA_SETUP
mov [ahci_pio_setup_fis.type], AHCI_FIS_PIO_SETUP
mov [ahci_d2h_fis.type], AHCI_FIS_D2H
mov [ahci_dev_bits_fis.type], AHCI_FIS_DEV_BITS
; make the command list
mov [ahci_command_list.cfis_length], (end_ahci_command_fis-ahci_command_fis+3) / 4
mov [ahci_command_list.prdt_length], 1
mov dword[ahci_command_list.command_table], ahci_command_table
; the command FIS
mov [ahci_command_fis.fis_type], AHCI_FIS_H2D
mov [ahci_command_fis.flags], 0x80
mov [ahci_command_fis.command], SATA_IDENTIFY ; 0xEC
mov [ahci_command_fis.count], 0
mov [ahci_command_fis.device], 0xA0 ; drive select
; the PRDT
mov dword[ahci_prdt.base], sata_identify_data
mov [ahci_prdt.count], 511
; send the command to the device
mov bl, [.port]
call ahci_stop
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov eax, [edi+AHCI_PORT_IRQ_STATUS]
mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov dword[edi+AHCI_PORT_COMMAND_LIST], ahci_command_list
mov dword[edi+AHCI_PORT_COMMAND_LIST+4], 0
mov dword[edi+AHCI_PORT_FIS], ahci_received_fis
mov dword[edi+AHCI_PORT_FIS+4], 0
mov bl, [.port]
call ahci_start
.wait_bsy:
test dword[edi+AHCI_PORT_TASK_FILE], 0x80
jnz .wait_bsy
.send_command:
or dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
.loop:
;sti
;hlt
test dword[edi+AHCI_PORT_TASK_FILE], 0x01 ; error
jnz .error
test dword[edi+AHCI_PORT_TASK_FILE], 0x20 ; drive fault
jnz .error
test dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
jz .after_loop
jmp .loop
.after_loop:
; turn off the command execution
mov bl, [.port]
call ahci_stop
;mov eax, [edi+AHCI_PORT_IRQ_STATUS]
;mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov eax, [edi+AHCI_PORT_TASK_FILE]
test al, 0x01 ; error
jnz .error
test al, 0x20 ; drive fault
jnz .error
cmp [ahci_command_list.prdt_byte_count], 512 ; did the DMA transfer all the data?
jne .error ; nope -- bail out
mov esi, .sata_model_msg
call kprint
mov esi, sata_identify_data.model
call swap_string_order
call trim_string
call kprint
mov esi, .sata_model_msg2
call kprint
movzx eax, [.port]
call int_to_string
call kprint
mov esi, newline
call kprint
; register the device
mov al, BLKDEV_AHCI
mov ah, BLKDEV_PARTITIONED
movzx edx, [.port]
call blkdev_register
.quit:
ret
.error:
mov bl, [.port]
call ahci_stop
mov esi, .error_msg
call kprint
ret
.port db 0
.sata_model_msg db "ahci: found SATA device '",0
.sata_model_msg2 db "' on AHCI port ",0
.error_msg db "ahci: failed to receive identify information from SATA drive.",10,0
; ahci_read:
; Reads from an AHCI SATA device
; In\ EDX:EAX = LBA sector
; In\ ECX = Sector count
; In\ BL = Port number
; In\ EDI = Buffer to read sectors
; Out\ AL = 0 on success, 1 on error
; Out\ AH = Device task file register
ahci_read:
;;
;; TO-DO: Check if the device is SATAPI, and then read it instead of SATA.
;;
mov [.port], bl
mov dword[.lba], eax
mov dword[.lba+4], edx
mov [.count], ecx
mov [.buffer], edi
; ahci uses DMA so we need physical address
mov eax, [.buffer]
and eax, 0xFFFFF000
call vmm_get_page
test dl, PAGE_PRESENT ; the DMA is not aware of paging, so we need to do this for safety...
jz .memory_error
mov ebx, [.buffer]
and ebx, 0xFFF
add eax, ebx
mov [.buffer_phys], eax
; clear all nescessary structures
mov edi, ahci_command_list
mov ecx, end_ahci_command_list - ahci_command_list
xor al, al
rep stosb
mov edi, ahci_command_table
mov ecx, end_ahci_command_table - ahci_command_table
xor al, al
rep stosb
mov edi, ahci_received_fis
mov ecx, end_ahci_received_fis - ahci_received_fis
xor al, al
rep stosb
; make the received FIS
mov [ahci_dma_setup_fis.type], AHCI_FIS_DMA_SETUP
mov [ahci_pio_setup_fis.type], AHCI_FIS_PIO_SETUP
mov [ahci_d2h_fis.type], AHCI_FIS_D2H
mov [ahci_dev_bits_fis.type], AHCI_FIS_DEV_BITS
; make the command list
mov [ahci_command_list.cfis_length], (end_ahci_command_fis-ahci_command_fis+3) / 4
mov [ahci_command_list.prdt_length], 1
mov dword[ahci_command_list.command_table], ahci_command_table
; the command FIS
mov [ahci_command_fis.fis_type], AHCI_FIS_H2D
mov [ahci_command_fis.flags], 0x80
mov eax, [.count]
mov [ahci_command_fis.count], ax
; determine whether to use LBA28 or LBA48
cmp dword[.lba], 0xFFFFFFF-256
jge .lba48
cmp dword[.lba+4], 0
jne .lba48
.lba28:
mov [ahci_command_fis.device], 0xE0
mov [ahci_command_fis.command], SATA_READ_LBA28
jmp .continue
.lba48:
mov [ahci_command_fis.device], 0x40
mov [ahci_command_fis.command], SATA_READ_LBA48
.continue:
; LBA...
mov eax, dword[.lba]
mov [ahci_command_fis.lba0], al
shr eax, 8
mov [ahci_command_fis.lba1], al
shr eax, 8
mov [ahci_command_fis.lba2], al
shr eax, 8
mov [ahci_command_fis.lba3], al
mov eax, dword[.lba+4]
mov [ahci_command_fis.lba4], al
shr eax, 8
mov [ahci_command_fis.lba5], al
; the PRDT
mov eax, [.buffer_phys]
mov dword[ahci_prdt.base], eax
mov eax, [.count]
shl eax, 9 ; mul 512
dec eax
mov [ahci_prdt.count], eax
; send the command to the device
mov bl, [.port]
call ahci_stop
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov eax, [edi+AHCI_PORT_IRQ_STATUS]
mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov dword[edi+AHCI_PORT_COMMAND_LIST], ahci_command_list
mov dword[edi+AHCI_PORT_COMMAND_LIST+4], 0
mov dword[edi+AHCI_PORT_FIS], ahci_received_fis
mov dword[edi+AHCI_PORT_FIS+4], 0
mov bl, [.port]
call ahci_start
.wait_bsy:
test dword[edi+AHCI_PORT_TASK_FILE], 0x80
jnz .wait_bsy
.send_command:
or dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
.loop:
;sti
;hlt
test dword[edi+AHCI_PORT_TASK_FILE], 0x01 ; error
jnz .error
test dword[edi+AHCI_PORT_TASK_FILE], 0x20 ; drive fault
jnz .error
test dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
jz .after_loop
jmp .loop
.after_loop:
; turn off the command execution
mov bl, [.port]
call ahci_stop
;mov eax, [edi+AHCI_PORT_IRQ_STATUS]
;mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov eax, [edi+AHCI_PORT_TASK_FILE]
test al, 0x01 ; drive error?
jnz .error
test al, 0x20 ; drive fault?
jnz .error
mov eax, [.count]
mov ebx, [ahci_prdt.count]
shl eax, 9
cmp [ahci_command_list.prdt_byte_count], eax
jne .error
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov ebx, [edi+AHCI_PORT_TASK_FILE]
mov [.task_file], bl
mov al, 0
mov ah, [.task_file]
ret
.error:
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov ebx, [edi+AHCI_PORT_TASK_FILE]
mov [.task_file], bl
mov bl, [.port]
call ahci_stop
mov esi, .error_msg
call kprint
movzx eax, [.port]
call int_to_string
call kprint
mov esi, .error_msg2
call kprint
mov al, [.task_file]
call hex_byte_to_string
call kprint
mov esi, .error_msg3
call kprint
mov al, [ahci_command_fis.command]
call hex_byte_to_string
call kprint
mov esi, .error_msg4
call kprint
mov edx, dword[.lba+4]
mov eax, dword[.lba]
call hex_qword_to_string
call kprint
mov esi, .error_msg5
call kprint
mov eax, [.count]
call hex_word_to_string
call kprint
mov esi,newline
call kprint
mov al, 1
mov ah, [.task_file]
ret
.memory_error:
mov esi, .memory_error_msg
call kprint
mov eax, [.buffer]
call hex_dword_to_string
call kprint
mov esi, .memory_error_msg2
call kprint
mov ax, 0xFF01
ret
align 8
.lba dq 0
.port db 0
align 4
.count dd 0
.buffer dd 0
.buffer_phys dd 0
.task_file db 0
.error_msg db "ahci: hardware error on SATA device, AHCI port ",0
.error_msg2 db "; task file 0x",0
.error_msg3 db "; command 0x",0
.error_msg4 db "; LBA 0x",0
.error_msg5 db "; count 0x",0
.memory_error_msg db "ahci: attempted to read to non-present page (0x",0
.memory_error_msg2 db ")",10,0
; ahci_write:
; Writes to an AHCI SATA device
; In\ EDX:EAX = LBA sector
; In\ ECX = Sector count
; In\ BL = Port number
; In\ ESI = Buffer to write sectors
; Out\ AL = 0 on success, 1 on error
; Out\ AH = Device task file register
ahci_write:
mov [.port], bl
mov dword[.lba], eax
mov dword[.lba+4], edx
mov [.count], ecx
mov [.buffer], esi
; ahci uses DMA so we need physical address
mov eax, [.buffer]
and eax, 0xFFFFF000
call vmm_get_page
test dl, PAGE_PRESENT ; the DMA is not aware of paging, so we need to do this for safety...
jz .memory_error
mov ebx, [.buffer]
and ebx, 0xFFF
add eax, ebx
mov [.buffer_phys], eax
; clear all nescessary structures
mov edi, ahci_command_list
mov ecx, end_ahci_command_list - ahci_command_list
xor al, al
rep stosb
mov edi, ahci_command_table
mov ecx, end_ahci_command_table - ahci_command_table
xor al, al
rep stosb
mov edi, ahci_received_fis
mov ecx, end_ahci_received_fis - ahci_received_fis
xor al, al
rep stosb
; make the received FIS
mov [ahci_dma_setup_fis.type], AHCI_FIS_DMA_SETUP
mov [ahci_pio_setup_fis.type], AHCI_FIS_PIO_SETUP
mov [ahci_d2h_fis.type], AHCI_FIS_D2H
mov [ahci_dev_bits_fis.type], AHCI_FIS_DEV_BITS
; make the command list
mov [ahci_command_list.cfis_length], (end_ahci_command_fis-ahci_command_fis+3) / 4
or [ahci_command_list.cfis_length], 1 shl 6 ; host to device (write dma transfer)
mov [ahci_command_list.prdt_length], 1
mov dword[ahci_command_list.command_table], ahci_command_table
; the command FIS
mov [ahci_command_fis.fis_type], AHCI_FIS_H2D
mov [ahci_command_fis.flags], 0x80
mov eax, [.count]
mov [ahci_command_fis.count], ax
; determine whether to use LBA28 or LBA48
cmp dword[.lba], 0xFFFFFFF-256
jge .lba48
cmp dword[.lba+4], 0
jne .lba48
.lba28:
mov [ahci_command_fis.device], 0xE0
mov [ahci_command_fis.command], SATA_WRITE_LBA28
jmp .continue
.lba48:
mov [ahci_command_fis.device], 0x40
mov [ahci_command_fis.command], SATA_WRITE_LBA48
.continue:
; LBA...
mov eax, dword[.lba]
mov [ahci_command_fis.lba0], al
shr eax, 8
mov [ahci_command_fis.lba1], al
shr eax, 8
mov [ahci_command_fis.lba2], al
shr eax, 8
mov [ahci_command_fis.lba3], al
mov eax, dword[.lba+4]
mov [ahci_command_fis.lba4], al
shr eax, 8
mov [ahci_command_fis.lba5], al
; the PRDT
mov eax, [.buffer_phys]
mov dword[ahci_prdt.base], eax
mov eax, [.count]
shl eax, 9 ; mul 512
dec eax
mov [ahci_prdt.count], eax
; send the command to the device
mov bl, [.port]
call ahci_stop
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov eax, [edi+AHCI_PORT_IRQ_STATUS]
mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov dword[edi+AHCI_PORT_COMMAND_LIST], ahci_command_list
mov dword[edi+AHCI_PORT_COMMAND_LIST+4], 0
mov dword[edi+AHCI_PORT_FIS], ahci_received_fis
mov dword[edi+AHCI_PORT_FIS+4], 0
mov bl, [.port]
call ahci_start
.wait_bsy:
test dword[edi+AHCI_PORT_TASK_FILE], 0x80
jnz .wait_bsy
.send_command:
or dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
.loop:
;sti
;hlt
test dword[edi+AHCI_PORT_TASK_FILE], 0x01 ; error
jnz .error
test dword[edi+AHCI_PORT_TASK_FILE], 0x20 ; drive fault
jnz .error
test dword[edi+AHCI_PORT_COMMAND_ISSUE], 1
jz .after_loop
jmp .loop
.after_loop:
; turn off the command execution
mov bl, [.port]
call ahci_stop
;mov eax, [edi+AHCI_PORT_IRQ_STATUS]
;mov [edi+AHCI_PORT_IRQ_STATUS], eax
mov eax, [edi+AHCI_PORT_TASK_FILE]
test al, 0x01 ; drive error?
jnz .error
test al, 0x20 ; drive fault?
jnz .error
mov eax, [.count]
mov ebx, [ahci_prdt.count]
shl eax, 9
cmp [ahci_command_list.prdt_byte_count], eax
jne .error
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov ebx, [edi+AHCI_PORT_TASK_FILE]
mov [.task_file], bl
mov al, 0
mov ah, [.task_file]
ret
.error:
movzx edi, [.port]
shl edi, 7
add edi, AHCI_ABAR_PORT_CONTROL
add edi, [ahci_abar]
mov ebx, [edi+AHCI_PORT_TASK_FILE]
mov [.task_file], bl
mov bl, [.port]
call ahci_stop
mov esi, .error_msg
call kprint
movzx eax, [.port]
call int_to_string
call kprint
mov esi, .error_msg2
call kprint
mov al, [.task_file]
call hex_byte_to_string
call kprint
mov esi, .error_msg3
call kprint
mov al, [ahci_command_fis.command]
call hex_byte_to_string
call kprint
mov esi, .error_msg4
call kprint
mov edx, dword[.lba+4]
mov eax, dword[.lba]
call hex_qword_to_string
call kprint
mov esi, .error_msg5
call kprint
mov eax, [.count]
call hex_word_to_string
call kprint
mov esi,newline
call kprint
mov al, 1
mov ah, [.task_file]
ret
.memory_error:
mov esi, .memory_error_msg
call kprint
mov eax, [.buffer]
call hex_dword_to_string
call kprint
mov esi, .memory_error_msg2
call kprint
mov ax, 0xFF01
ret
align 8
.lba dq 0
.port db 0
align 4
.count dd 0
.buffer dd 0
.buffer_phys dd 0
.task_file db 0
.error_msg db "ahci: hardware error on SATA device, AHCI port ",0
.error_msg2 db "; task file 0x",0
.error_msg3 db "; command 0x",0
.error_msg4 db "; LBA 0x",0
.error_msg5 db "; count 0x",0
.memory_error_msg db "ahci: attempted to write from non-present page (0x",0
.memory_error_msg2 db ")",10,0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ahci_command_list:
; Names says^^
align 4096
ahci_command_list:
.cfis_length db (end_ahci_command_fis-ahci_command_fis) / 4
.port_multiplier db 0
.prdt_length dw 1
.prdt_byte_count dd 0
.command_table dq ahci_command_table
times 4 dd 0
times 31*8 dd 0
end_ahci_command_list:
; ahci_command_table:
; Name says again^^
align 4096
ahci_command_table:
ahci_command_fis:
.fis_type db AHCI_FIS_H2D
.flags db 0x80
.command db 0
.feature_low db 0
.lba0 db 0
.lba1 db 0
.lba2 db 0
.device db 0
.lba3 db 0
.lba4 db 0
.lba5 db 0
.feature_high db 0
.count dw 0
.icc db 0
.control db 0
.reserved dd 0
end_ahci_command_fis:
times 0x80 - ($-ahci_command_table) db 0
ahci_prdt:
.base dq 0
.reserved dd 0
.count dd 0
end_ahci_command_table:
; ahci_received_fis:
; Names says it all
align 4096
ahci_received_fis:
ahci_dma_setup_fis:
.type db AHCI_FIS_DMA_SETUP
times 0x20 - ($-ahci_received_fis) db 0
ahci_pio_setup_fis:
.type db AHCI_FIS_PIO_SETUP
times 0x40 - ($-ahci_received_fis) db 0
ahci_d2h_fis:
.type db AHCI_FIS_D2H
times 0x58 - ($-ahci_received_fis) db 0
ahci_dev_bits_fis:
.type db AHCI_FIS_DEV_BITS
times 0x100 - ($-ahci_received_fis) db 0
end_ahci_received_fis:
; sata_identify_data:
; Data returned from the SATA/SATAPI IDENTIFY command
align 16
sata_identify_data:
.device_type dw 0 ; 0
.cylinders dw 0 ; 1
.reserved_word2 dw 0 ; 2
.heads dw 0 ; 3
dd 0 ; 4
.sectors_per_track dw 0 ; 6
.vendor_unique: times 3 dw 0 ; 7
.serial_number: times 20 db 0 ; 10
dd 0 ; 11
.obsolete1 dw 0 ; 13
.firmware_revision: times 8 db 0 ; 14
.model: times 40 db 0 ; 18
.maximum_block_transfer db 0
db 0
dw 0
db 0
.dma_support db 0
.lba_support db 0
.iordy_disable db 0
.iordy_support db 0
db 0
.standyby_timer_support db 0
db 0
dw 0
dd 0
.translation_fields dw 0
dw 0
.current_cylinders dw 0
.current_heads dw 0
.current_spt dw 0
.current_sectors dd 0
db 0
db 0
db 0
.user_addressable_secs dd 0
dw 0
times 512 - ($-sata_identify_data) db 0
|
sbsext/ut/remst.asm | olifink/smsqe | 0 | 15540 | <reponame>olifink/smsqe
* Remove string from RI stack V0.0 1985 <NAME> QJUMP
*
section utils
*
xdef ut_remst remove string (a1)
*
include dev8_sbsext_ext_keys
*
* d1 s total length occupied
* a1 c p pointer to RI stack
*
ut_remst
moveq #3,d1 round up to word, including char count
add.w (a6,a1.l),d1 get length
bclr #0,d1
add.l d1,bv_rip(a6) change RIP but not a1
rts
end
|
oeis/201/A201553.asm | neoneye/loda-programs | 11 | 6047 | ; A201553: Number of arrays of 6 integers in -n..n with sum zero.
; 1,141,1751,9331,32661,88913,204763,418503,782153,1363573,2248575,3543035,5375005,7896825,11287235,15753487,21533457,28897757,38151847,49638147,63738149,80874529,101513259,126165719,155390809,189797061,230044751,276848011,330976941,393259721,464584723,545902623,638228513,742644013,860299383,992415635,1140286645,1305281265,1488845435,1692504295,1917864297,2166615317,2440532767,2741479707,3071408957,3432365209,3826487139,4256009519,4723265329,5230687869,5780812871,6376280611,7019838021,7714340801
mul $0,2
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,70302 ; Number of 3 X 3 X 3 magic cubes with sum 3n.
add $1,$2
lpe
mov $0,$1
|
commands/apps/safari/safari-clear-cache-reload.applescript | daviddzhou/script-commands | 3,305 | 1913 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Clear Cache and Refresh Page
# @raycast.mode silent
#
# Optional parameters:
# @raycast.packageName Safari
# @raycast.icon images/safari.png
#
# Documentation:
# @raycast.description This script clears cache and reloads the page of the frontmost Safari window.
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/aaronhmiller
tell application "Safari" to activate
tell application "System Events" to keystroke "r" using {option down, command down} --warning: undocumented can change w/o notice
|
Formalization/ClassicalPropositionalLogic/NaturalDeduction/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 11442 | <gh_stars>1-10
module Formalization.ClassicalPropositionalLogic.NaturalDeduction.Proofs where
open import Data.Boolean
open import Data.Either
open import Functional
open import Formalization.ClassicalPropositionalLogic.NaturalDeduction
open import Formalization.ClassicalPropositionalLogic.Place
open import Formalization.ClassicalPropositionalLogic.Syntax
import Lvl
open import Logic
import Logic.Propositional as Meta
open import Relator.Equals
open import Relator.Equals.Proofs.Equiv
open import Sets.PredicateSet using (PredSet ; _∈_ ; _∉_ ; _∪_ ; _∪•_ ; _∖_ ; _⊆_ ; _⊇_ ; ∅ ; [≡]-to-[⊆] ; [≡]-to-[⊇]) renaming (•_ to singleton ; _≡_ to _≡ₛ_)
open import Type
private variable ℓₚ ℓ ℓ₁ ℓ₂ : Lvl.Level
private variable T A B : Type{ℓ}
private variable P : Type{ℓₚ}
private variable φ ψ γ : Formula(P)
private variable Γ : Formulas(P){ℓ}
private variable f : A → B
private variable s e : Bool
private variable p : P
module _ where
[¬]-intro-converse : ((Γ ∪ singleton(φ)) ⊢ ⊥) ← (Γ ⊢ (¬ φ))
[¬]-intro-converse {Γ = Γ}{φ = φ} Γ¬φ = [⊥]-intro (direct (Right [≡]-intro)) (weaken-union Γ¬φ)
excluded-middle : Γ ⊢ (φ ∨ (¬ φ))
excluded-middle =
([¬¬]-elim
([¬]-intro
([⊥]-intro
([∨]-introᵣ
([¬]-intro
([⊥]-intro
([∨]-introₗ (direct (Right [≡]-intro)))
(direct (Left (Right [≡]-intro)))
)
)
)
(direct (Right [≡]-intro))
)
)
)
[→]-disjunctive-form : (Γ ⊢ (φ ⟶ ψ)) Meta.↔ (Γ ⊢ ((¬ φ) ∨ ψ))
[→]-disjunctive-form = Meta.[↔]-intro l r where
l = [∨]-elim
([⟶]-intro ([⊥]-elim ([⊥]-intro
(direct (Right [≡]-intro))
(direct (Left (Right [≡]-intro)))
)))
([⟶]-intro (direct (Left (Right [≡]-intro))))
r = pq ↦
([∨]-elim
([∨]-introᵣ ([⟶]-elim (direct (Right [≡]-intro)) (weaken Left pq)))
([∨]-introₗ (direct (Right [≡]-intro)))
excluded-middle
)
[⟷]-negated : (Γ ⊢ (φ ⟷ ψ)) → (Γ ⊢ ((¬ φ) ⟷ (¬ ψ)))
[⟷]-negated p = [⟷]-intro
([¬]-intro ([⊥]-intro ([⟷]-elimᵣ (direct (Right [≡]-intro)) (weaken (Left ∘ Left) p)) (direct (Left (Right [≡]-intro)))))
(([¬]-intro ([⊥]-intro ([⟷]-elimₗ (direct (Right [≡]-intro)) (weaken (Left ∘ Left) p)) (direct (Left (Right [≡]-intro))))))
[⟷]-conjunction-disjunction-negation : (Γ ⊢ (φ ⟷ ψ)) Meta.↔ (Γ ⊢ ((φ ∧ ψ) ∨ ((¬ φ) ∧ (¬ ψ))))
[⟷]-conjunction-disjunction-negation = Meta.[↔]-intro l r where
l = [∨]-elim
([⟷]-intro
([∧]-elimₗ (direct (Left (Right [≡]-intro))))
([∧]-elimᵣ (direct (Left (Right [≡]-intro))))
)
([⟷]-intro
([⊥]-elim ([⊥]-intro (direct (Right [≡]-intro)) ([∧]-elimᵣ (direct (Left (Right [≡]-intro))))))
([⊥]-elim ([⊥]-intro (direct (Right [≡]-intro)) ([∧]-elimₗ (direct (Left (Right [≡]-intro))))))
)
r = p ↦ [∨]-elim
([∨]-introₗ ([∧]-intro
(direct (Right [≡]-intro))
([⟷]-elimᵣ (direct (Right [≡]-intro)) (weaken Left p))
))
([∨]-introᵣ ([∧]-intro
(direct (Right [≡]-intro))
([⟷]-elimᵣ (direct (Right [≡]-intro)) (weaken Left ([⟷]-negated p)))
))
excluded-middle
-- TODO: The two proofs contain very similar cases (the structure is identical in all cases). Are there any good ways to generalize? Maybe by using the strict variants?
positive-congruence : Positive(P) f → (Γ ⊢ (φ ⟶ ψ) ⟶ (f(φ) ⟶ f(ψ)))
negative-congruence : Negative(P) f → (Γ ⊢ (φ ⟶ ψ) ⟶ (f(φ) ⟵ f(ψ)))
positive-congruence identity = [⟶]-intro ([⟶]-intro ([⟶]-elim (direct (Right [≡]-intro)) (direct (Left (Right [≡]-intro)))))
positive-congruence (conjunctionₗ ctx) =
[⟶]-intro ([⟶]-intro ([∧]-intro
([∧]-elimₗ (direct (Right [≡]-intro)))
([⟶]-elim ([∧]-elimᵣ (direct (Right [≡]-intro))) ([⟶]-elim (direct (Left (Right [≡]-intro))) (positive-congruence ctx)))
))
positive-congruence (conjunctionᵣ ctx) =
[⟶]-intro ([⟶]-intro ([∧]-intro
([⟶]-elim ([∧]-elimₗ (direct (Right [≡]-intro))) ([⟶]-elim (direct (Left (Right [≡]-intro))) (positive-congruence ctx)))
([∧]-elimᵣ (direct (Right [≡]-intro)))
))
positive-congruence (disjunctionₗ ctx) =
[⟶]-intro ([⟶]-intro ([∨]-elim
([∨]-introₗ (direct (Right [≡]-intro)))
([∨]-introᵣ ([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (positive-congruence ctx))))
(direct (Right [≡]-intro))
))
positive-congruence (disjunctionᵣ ctx) =
[⟶]-intro ([⟶]-intro ([∨]-elim
([∨]-introₗ ([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (positive-congruence ctx))))
([∨]-introᵣ (direct (Right [≡]-intro)))
(direct (Right [≡]-intro))
))
positive-congruence (implicationₗ ctx) =
[⟶]-intro ([⟶]-intro ([⟶]-intro ([⟶]-elim
([⟶]-elim (direct(Right [≡]-intro)) (direct (Left (Right [≡]-intro))))
([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (positive-congruence ctx))
)))
positive-congruence (implicationᵣ ctx) =
[⟶]-intro ([⟶]-intro ([⟶]-intro ([⟶]-elim
([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (negative-congruence ctx)))
(direct (Left (Right [≡]-intro)))
)))
negative-congruence (conjunctionₗ ctx) =
[⟶]-intro ([⟶]-intro ([∧]-intro
([∧]-elimₗ (direct (Right [≡]-intro)))
([⟶]-elim ([∧]-elimᵣ (direct (Right [≡]-intro))) ([⟶]-elim (direct (Left (Right [≡]-intro))) (negative-congruence ctx)))
))
negative-congruence (conjunctionᵣ ctx) =
[⟶]-intro ([⟶]-intro ([∧]-intro
([⟶]-elim ([∧]-elimₗ (direct (Right [≡]-intro))) ([⟶]-elim (direct (Left (Right [≡]-intro))) (negative-congruence ctx)))
([∧]-elimᵣ (direct (Right [≡]-intro)))
))
negative-congruence (disjunctionₗ ctx) =
[⟶]-intro ([⟶]-intro ([∨]-elim
([∨]-introₗ (direct (Right [≡]-intro)))
([∨]-introᵣ ([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (negative-congruence ctx))))
(direct (Right [≡]-intro))
))
negative-congruence (disjunctionᵣ ctx) =
[⟶]-intro ([⟶]-intro ([∨]-elim
([∨]-introₗ ([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (negative-congruence ctx))))
([∨]-introᵣ (direct (Right [≡]-intro)))
(direct (Right [≡]-intro))
))
negative-congruence (implicationₗ ctx) =
[⟶]-intro ([⟶]-intro ([⟶]-intro ([⟶]-elim
([⟶]-elim (direct(Right [≡]-intro)) (direct (Left (Right [≡]-intro))))
([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (negative-congruence ctx))
)))
negative-congruence (implicationᵣ ctx) =
[⟶]-intro ([⟶]-intro ([⟶]-intro ([⟶]-elim
([⟶]-elim (direct (Right [≡]-intro)) ([⟶]-elim (direct (Left (Left (Right [≡]-intro)))) (positive-congruence ctx)))
(direct (Left (Right [≡]-intro)))
)))
-- TODO: Mainly for results in minimal logic
data NegativeFragment {P : Type{ℓₚ}} : Formula(P) → Type{Lvl.of(P)} where
atom : NegativeFragment(¬(• p))
bottom : NegativeFragment(⊥)
top : NegativeFragment(⊤)
neg : NegativeFragment(φ) → NegativeFragment(¬ φ)
and : NegativeFragment(φ) → NegativeFragment(ψ) → NegativeFragment(φ ∧ ψ)
impl : NegativeFragment(φ) → NegativeFragment(ψ) → NegativeFragment(φ ⟶ ψ)
eq : NegativeFragment(φ) → NegativeFragment(ψ) → NegativeFragment(φ ⟷ ψ)
open import Functional
open import Type.Dependent
open import Type.Dependent.Functions
module GGNegativeTranslation where
trans : Formula(P) → Formula(P)
trans (• p) = ¬(¬(• p))
trans ⊤ = ⊤
trans ⊥ = ⊥
trans (¬ φ) = ¬(trans φ)
trans (φ ∧ ψ) = (trans φ) ∧ (trans ψ)
trans (φ ∨ ψ) = ¬((¬(trans φ)) ∧ (¬(trans ψ)))
trans (φ ⟶ ψ) = (trans φ) ⟶ (trans ψ)
trans (φ ⟷ ψ) = (trans φ) ⟷ (trans ψ)
trans-negativeFragment : NegativeFragment(trans(φ))
trans-negativeFragment {φ = • p} = neg atom
trans-negativeFragment {φ = ⊤} = top
trans-negativeFragment {φ = ⊥} = bottom
trans-negativeFragment {φ = ¬ φ} = neg trans-negativeFragment
trans-negativeFragment {φ = φ ∧ ψ} = and trans-negativeFragment trans-negativeFragment
trans-negativeFragment {φ = φ ∨ ψ} = neg(and(neg trans-negativeFragment) (neg trans-negativeFragment))
trans-negativeFragment {φ = φ ⟶ ψ} = impl trans-negativeFragment trans-negativeFragment
trans-negativeFragment {φ = φ ⟷ ψ} = eq trans-negativeFragment trans-negativeFragment
|
_build/dispatcher/jmp_ippsSMS4EncryptCBC_CS2_5921c97e.asm | zyktrcn/ippcp | 1 | 93879 | <gh_stars>1-10
extern m7_ippsSMS4EncryptCBC_CS2:function
extern n8_ippsSMS4EncryptCBC_CS2:function
extern y8_ippsSMS4EncryptCBC_CS2:function
extern e9_ippsSMS4EncryptCBC_CS2:function
extern l9_ippsSMS4EncryptCBC_CS2:function
extern n0_ippsSMS4EncryptCBC_CS2:function
extern k0_ippsSMS4EncryptCBC_CS2:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsSMS4EncryptCBC_CS2
.Larraddr_ippsSMS4EncryptCBC_CS2:
dq m7_ippsSMS4EncryptCBC_CS2
dq n8_ippsSMS4EncryptCBC_CS2
dq y8_ippsSMS4EncryptCBC_CS2
dq e9_ippsSMS4EncryptCBC_CS2
dq l9_ippsSMS4EncryptCBC_CS2
dq n0_ippsSMS4EncryptCBC_CS2
dq k0_ippsSMS4EncryptCBC_CS2
segment .text
global ippsSMS4EncryptCBC_CS2:function (ippsSMS4EncryptCBC_CS2.LEndippsSMS4EncryptCBC_CS2 - ippsSMS4EncryptCBC_CS2)
.Lin_ippsSMS4EncryptCBC_CS2:
db 0xf3, 0x0f, 0x1e, 0xfa
call ippcpSafeInit wrt ..plt
align 16
ippsSMS4EncryptCBC_CS2:
db 0xf3, 0x0f, 0x1e, 0xfa
mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc]
movsxd rax, dword [rax]
lea r11, [rel .Larraddr_ippsSMS4EncryptCBC_CS2]
mov r11, qword [r11+rax*8]
jmp r11
.LEndippsSMS4EncryptCBC_CS2:
|
solitaire_operations.adb | doug16rogers/solitaire | 1 | 27450 | <reponame>doug16rogers/solitaire<gh_stars>1-10
with Ada.Characters.Handling;
with Ada.Numerics.Discrete_Random;
use Ada;
use Ada.Characters;
package body Solitaire_Operations is
function Value (Card : Card_Value) return Card_Value is
begin -- Value
if Card >= Card_Value'Last then
return Card_Value'Last - 1;
else
return Card;
end if;
end Value;
package Random is new Numerics.Discrete_Random (Card_Value);
procedure Swap (Left : in out Card_Value; Right : in out Card_Value) is
Temp : constant Card_Value := Left;
begin -- Swap
Left := Right;
Right := Temp;
end Swap;
pragma Inline (Swap);
Gen : Random.Generator;
procedure Shuffle (Deck : in out Deck_List) is
begin -- Shuffle
All_Cards : for I in Deck'range loop
Swap (Deck (I), Deck (Random.Random (Gen) ) );
end loop All_Cards;
end Shuffle;
function Find (Value : Card_Value; Deck : Deck_List) return Card_Value is
-- Returns the index in Deck of Value
-- Note: raises Program_Error if Value not in Deck
begin -- Find
-- pragma Warnings (Off, "*statement missing following this statement"); -- GNAT-specific.
Search : for I in Deck'range loop
if Deck (I) = Value then
return I;
end if;
end loop Search;
-- pragma Warnings (On, "*statement missing following this statement"); -- GNAT-specific.
end Find;
procedure End_Joker_To_Front (Index : in out Card_Value; Deck : in out Deck_List) is
-- If Index points to the last card of Deck, moves the last card of Deck to the front of Deck and adjusts Index
begin -- End_Joker_To_Front
if Index >= Deck'Last then
Deck := Deck (Deck'Last) & Deck (Deck'First .. Deck'Last - 1);
Index := Deck'First;
end if;
end End_Joker_To_Front;
A_Joker : constant Card_Value := Card_Value'Last - 1;
B_Joker : constant Card_Value := Card_Value'Last;
procedure Move_A_Joker (Deck : in out Deck_List) is
-- Moves the A Joker 1 card down
Index : Card_Value := Find (A_Joker, Deck);
begin -- Move_A_Joker
End_Joker_To_Front (Index => Index, Deck => Deck); -- Make sure A Joker not last card of Deck
Swap (Deck (Index), Deck (Index + 1) );
end Move_A_Joker;
procedure Move_B_Joker (Deck : in out Deck_List) is
-- Moves the B Joker 2 cards down
Index : Card_Value := Find (B_Joker, Deck);
begin -- Move_B_Joker
End_Joker_To_Front (Index => Index, Deck => Deck); -- Make sure B Joker not last card of Deck
Swap (Deck (Index), Deck (Index + 1) );
Index := Index + 1;
End_Joker_To_Front (Index => Index, Deck => Deck); -- Make sure B Joker not last card of Deck
Swap (Deck (Index), Deck (Index + 1) );
end Move_B_Joker;
procedure Triple_Cut (Deck : in out Deck_List) is
-- Perform a triple cut on Deck
A_Index : constant Card_Value := Find (A_Joker, Deck);
B_Index : constant Card_Value := Find (B_Joker, Deck);
T_Index : constant Card_Value := Card_Value'Min (A_Index, B_Index); -- Index of top Joker
L_Index : constant Card_Value := Card_Value'Max (A_Index, B_Index); -- Index of lower (bottom) Joker
begin -- Triple_Cut
Deck := Deck (L_Index + 1 .. Deck'Last) & Deck (T_Index .. L_Index) & Deck (Deck'First .. T_Index - 1);
end Triple_Cut;
pragma Inline (Triple_Cut);
procedure Counted_Cut (Deck : in out Deck_List; Count : in Card_Value) is
-- Perform a counted cut on Deck moving Count cards from the top to before the last card
begin -- Counted_Cut
Deck := Deck (Count + 1 .. Deck'Last - 1) & Deck (Deck'First .. Count) & Deck (Deck'Last);
end Counted_Cut;
pragma Inline (Counted_Cut);
function To_Value (Char : Character) return Character_Value is
begin -- To_Value
return Character'Pos (Handling.To_Upper (Char) ) - Character'Pos ('A') + 1;
end To_Value;
pragma Inline (To_Value);
procedure Key (Deck : out Deck_List; Passphrase : in String) is
begin -- Key
Deck := Standard_Deck;
All_Characters : for I in Passphrase'range loop
if Handling.Is_Letter (Passphrase (I) ) then
Move_A_Joker (Deck => Deck);
Move_B_Joker (Deck => Deck);
Triple_Cut (Deck => Deck);
Counted_Cut (Deck => Deck, Count => Value (Deck (Deck'Last) ) );
Counted_Cut (Deck => Deck, Count => Value (To_Value (Passphrase (I) ) ) );
end if;
end loop All_Characters;
end Key;
procedure Generate (Deck : in out Deck_List; Key : out Character_Value) is
Count : Card_Value;
Result : Card_Value;
begin -- Generate
Move_A_Joker (Deck => Deck);
Move_B_Joker (Deck => Deck);
Triple_Cut (Deck => Deck);
Counted_Cut (Deck => Deck, Count => Value (Deck (Deck'Last) ) );
-- Output card
Count := Value (Deck (Deck'First) ) + 1;
Result := Deck (Count);
if Result in A_Joker .. B_Joker then -- Found a Joker; repeat
Generate (Deck => Deck, Key => Key);
else
if Result > Character_Value'Last then
Result := Result - Character_Value'Last;
end if;
Key := Result;
end if;
end Generate;
function Add (Left : Character_Value; Right : Character_Value) return Character_Value is
Result : Positive := Left + Right;
begin -- Add
Reduce : loop
exit Reduce when Result in Character_Value;
Result := Result - Character_Value'Last;
end loop Reduce;
return Result;
end Add;
function Sub (Left : Character_Value; Right : Character_Value) return Character_Value is
Result : Integer := Left - Right;
begin -- Sub
Increase : loop
exit Increase when Result in Character_Value;
Result := Result + Character_Value'Last;
end loop Increase;
return Result;
end Sub;
function To_Character (Value : Character_Value) return Character is
begin -- To_Character
return Character'Val (Character'Pos ('A') + Value - 1);
end To_Character;
pragma Inline (To_Character);
procedure Encrypt (Deck : in out Deck_List; Plain : in String; Crypto : out String) is
Key : Character_Value;
begin -- Encrypt
if Plain'Length /= Crypto'Length then
raise Constraint_Error;
end if;
All_Chars : for I in Plain'range loop
Generate (Deck => Deck, Key => Key);
Crypto (I - Plain'First + Crypto'First) := To_Character (Add (To_Value (Plain (I) ), Key) );
end loop All_Chars;
end Encrypt;
procedure Decrypt (Deck : in out Deck_List; Crypto : in String; Plain : out String) is
Key : Character_Value;
begin -- Decrypt
if Plain'Length /= Crypto'Length then
raise Constraint_Error;
end if;
All_Chars : for I in Crypto'range loop
Generate (Deck => Deck, Key => Key);
Plain (I - Crypto'First + Plain'First) := To_Character (Sub (To_Value (Crypto (I) ), Key) );
end loop All_Chars;
end Decrypt;
begin -- Solitaire_Operations
Random.Reset (Gen);
end Solitaire_Operations;
|
Cubical/Data/Int/Base.agda | bijan2005/univalent-foundations | 0 | 9101 | <filename>Cubical/Data/Int/Base.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Int.Base where
open import Cubical.Core.Everything
open import Cubical.Data.Nat
data ℤ : Type₀ where
pos : (n : ℕ) → ℤ
negsuc : (n : ℕ) → ℤ
neg : (n : ℕ) → ℤ
neg zero = pos zero
neg (suc n) = negsuc n
infix 100 -_
-_ : ℕ → ℤ
-_ = neg
{-# DISPLAY pos n = n #-}
{-# DISPLAY negsuc n = - (suc n) #-}
sucInt : ℤ → ℤ
sucInt (pos n) = pos (suc n)
sucInt (negsuc zero) = pos zero
sucInt (negsuc (suc n)) = negsuc n
predInt : ℤ → ℤ
predInt (pos zero) = negsuc zero
predInt (pos (suc n)) = pos n
predInt (negsuc n) = negsuc (suc n)
-- Natural number and negative integer literals for ℤ
open import Cubical.Data.Nat.Literals public
instance
fromNatℤ : FromNat ℤ
fromNatℤ = record { Constraint = λ _ → ⊤ ; fromNat = λ n → pos n }
instance
negativeℤ : Negative ℤ
negativeℤ = record { Constraint = λ _ → ⊤ ; fromNeg = λ n → neg n }
|
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_1_3.asm | jpoikela/z88dk | 640 | 241887 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dconst_1_3
EXTERN mm48__ac1_3
; set AC = 1/3
;
; uses : bc, de, hl
defc am48_dconst_1_3 = mm48__ac1_3
|
oeis/191/A191782.asm | neoneye/loda-programs | 11 | 245389 | <reponame>neoneye/loda-programs
; A191782: Sum of the lengths of the first ascents in all n-length left factors of Dyck paths.
; Submitted by <NAME>
; 1,3,6,13,24,49,90,181,335,671,1253,2507,4718,9437,17874,35749,68067,136135,260337,520675,999361,1998723,3848221,7696443,14857999,29715999,57500459,115000919,222981434,445962869,866262914,1732525829,3370764539,6741529079,13135064249,26270128499,51250632509,102501265019,200205672809,400411345619,782920544639,1565841089279,3064665881939,6129331763879,12007086477749,24014172955499,47081501377325,94163002754651,184753963255175,369507926510351,725510446350003,1451020892700007,2850875587556163
add $0,1
mov $1,$0
div $0,2
mov $2,$1
add $1,1
bin $1,$0
add $0,1
bin $2,$0
add $2,$1
mov $0,$2
sub $0,1
|
programs/oeis/023/A023536.asm | karttu/loda | 0 | 12735 | <reponame>karttu/loda<gh_stars>0
; A023536: Convolution of natural numbers with A023532.
; 1,2,4,7,10,14,19,25,31,38,46,55,65,75,86,98,111,125,140,155,171,188,206,225,245,266,287,309,332,356,381,407,434,462,490,519,549,580,612,645,679,714,750,786,823,861,900,940,981,1023,1066,1110,1155,1200,1246,1293,1341,1390,1440,1491,1543,1596,1650,1705,1760,1816,1873,1931,1990,2050,2111,2173,2236,2300,2365,2431,2497,2564,2632,2701,2771,2842,2914,2987,3061,3136,3212,3289,3367,3445,3524,3604,3685,3767,3850,3934,4019,4105,4192,4280,4369,4459,4550,4641,4733,4826,4920,5015,5111,5208,5306,5405,5505,5606,5708,5811,5915,6020,6125,6231,6338,6446,6555,6665,6776,6888,7001,7115,7230,7346,7463,7581,7700,7820,7940,8061,8183,8306,8430,8555,8681,8808,8936,9065,9195,9326,9458,9591,9725,9860,9996,10132,10269,10407,10546,10686,10827,10969,11112,11256,11401,11547,11694,11842,11991,12141,12292,12444,12597,12750,12904,13059,13215,13372,13530,13689,13849,14010,14172,14335,14499,14664,14830,14997,15165,15334,15504,15675,15846,16018,16191,16365,16540,16716,16893,17071,17250,17430,17611,17793,17976,18160,18345,18531,18718,18906,19095,19285,19475,19666,19858,20051,20245,20440,20636,20833,21031,21230,21430,21631,21833,22036,22240,22445,22651,22858,23066,23275,23485,23695,23906,24118,24331,24545,24760,24976,25193,25411,25630,25850,26071,26293,26516,26740,26965,27191,27418,27646,27875,28105
mov $1,1
mov $4,$0
lpb $0,1
add $1,$0
sub $0,1
add $2,3
add $3,$4
trn $3,$2
trn $4,$1
sub $1,$3
sub $2,2
lpe
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_76_994.asm | ljhsiun2/medusa | 9 | 175638 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_76_994.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x14216, %rax
nop
nop
nop
nop
nop
cmp $2298, %r13
movw $0x6162, (%rax)
nop
nop
nop
lfence
lea addresses_UC_ht+0x19b4e, %r14
nop
nop
nop
nop
xor %rbx, %rbx
movups (%r14), %xmm5
vpextrq $0, %xmm5, %r13
nop
nop
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0x1243e, %r14
nop
nop
nop
nop
nop
sub $34960, %r15
movl $0x61626364, (%r14)
add $17015, %rax
lea addresses_WC_ht+0x5916, %rsi
nop
nop
nop
nop
cmp $19403, %r14
movw $0x6162, (%rsi)
add %r13, %r13
lea addresses_WC_ht+0x1ba40, %rsi
lea addresses_normal_ht+0x4a3e, %rdi
nop
nop
nop
nop
nop
xor $6723, %rbx
mov $92, %rcx
rep movsq
nop
nop
sub $41485, %r13
lea addresses_WT_ht+0x15e3e, %r14
nop
nop
nop
cmp $28528, %rsi
mov $0x6162636465666768, %rdi
movq %rdi, %xmm7
movups %xmm7, (%r14)
nop
nop
nop
nop
nop
xor $29164, %rbx
lea addresses_UC_ht+0x16a56, %rsi
lea addresses_WC_ht+0xb63e, %rdi
nop
nop
nop
nop
dec %r14
mov $110, %rcx
rep movsw
nop
nop
nop
lfence
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rdx
// Store
lea addresses_PSE+0xb8e, %r12
clflush (%r12)
nop
nop
sub $55862, %rdx
mov $0x5152535455565758, %r11
movq %r11, %xmm6
vmovups %ymm6, (%r12)
nop
nop
nop
nop
add $7448, %r8
// Load
lea addresses_D+0x2a3e, %rax
nop
nop
nop
add %rdi, %rdi
movups (%rax), %xmm3
vpextrq $0, %xmm3, %r11
nop
dec %rdx
// Store
lea addresses_D+0x9a5b, %rax
nop
nop
nop
nop
nop
add %r8, %r8
mov $0x5152535455565758, %r12
movq %r12, %xmm4
vmovntdq %ymm4, (%rax)
nop
nop
nop
add %rdx, %rdx
// Store
lea addresses_UC+0xca06, %rdi
nop
nop
nop
nop
nop
sub $48525, %rdx
movw $0x5152, (%rdi)
nop
nop
nop
nop
nop
xor %r11, %r11
// Store
lea addresses_D+0x1355e, %r8
nop
nop
sub $24195, %rax
mov $0x5152535455565758, %r12
movq %r12, %xmm7
movups %xmm7, (%r8)
nop
nop
inc %r8
// Store
lea addresses_D+0x18d84, %rcx
nop
nop
add $49026, %rax
mov $0x5152535455565758, %r11
movq %r11, %xmm4
movups %xmm4, (%rcx)
nop
nop
cmp %r8, %r8
// Load
lea addresses_A+0x983e, %r8
nop
nop
cmp %rdx, %rdx
movb (%r8), %r11b
nop
nop
nop
xor $22095, %rdi
// Faulty Load
lea addresses_RW+0x1623e, %r12
nop
add %rdi, %rdi
movb (%r12), %r8b
lea oracles, %rdi
and $0xff, %r8
shlq $12, %r8
mov (%rdi,%r8,1), %r8
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 3, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 11, 'same': False, 'type': 'addresses_D'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 4, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 8, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_RW'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': True, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 4, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 9, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'32': 76}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
|
programs/oeis/081/A081041.asm | neoneye/loda | 22 | 161807 | ; A081041: 6th binomial transform of (1,5,0,0,0,0,0,0,.....).
; 1,11,96,756,5616,40176,279936,1912896,12877056,85660416,564350976,3688436736,23944605696,154551545856,992612745216,6347497291776,40435908673536,256721001578496,1624959306694656,10257555623510016,64592132441112576,405833586846990336,2544686274283831296,15926226164914323456,99506008104753954816,620727955320131813376,3866519172070439387136,24052023673320527364096,149429593885310510432256,927282274384187140079616,5747921912739067305394176,35592901075038070621863936,220189624041850424468176896,1360931049800834551231021056,8404346132103399333917884416,51858635792410748162697854976,319747168753206601931330420736,1970055136511692289318842269696,12129763563024869802298212089856,74635177841877515212100223369216,458950645833634869662467045195776,2820541347696027888313996501057536,17324272922341479351919144385642496,106351786551040748243725858589638656,652547613408195722255621105192534016
mov $1,$0
lpb $1
add $0,1
mul $0,6
sub $1,1
lpe
div $0,6
mul $0,5
add $0,1
|
sem1/asc/Prime/main.asm | itsbratu/bachelor | 0 | 5363 | bits 32
global start
extern exit , printf , scanf
import exit msvcrt.dll
import printf msvcrt.dll
import scanf msvcrt.dll
segment data use32 class=data
afisare1 db "Va rugam introduceti primul numar : " , 0
afisare2 db "Va rugam introduceti al doilea numar : " , 0
adevarat db "Cele doua numere sunt prime intre ele ! " , 0
fals db "Cele doua numere nu sunt prime intre ele ! " , 0
format db "%d" , 0
copie1 dd -1
copie2 dd -1
n dd -1
m dd -1
minim dd -1
segment code use32 class=code
start:
push dword afisare1
call [printf]
add esp , 4
push dword n
push dword format
call [scanf]
add esp , 4*2
push dword afisare2
call [printf]
add esp , 4
push dword m
push dword format
call [scanf]
add esp , 4 * 2
mov eax , dword[n]
mov ebx , dword[m]
cmp eax , 0
je false
cmp ebx , 0
je false
cmp eax , 1
je false
cmp ebx , 1
je false
cmp eax , ebx
jbe prima
mov dword[minim] , ebx
jmp next
prima:
mov dword[minim] , eax
next:
xor ecx , ecx
mov cl , 2
parcurgere:
mov dword[copie1] , eax
mov dword[copie2] , ebx
xor eax , eax
mov eax , dword[copie1]
div cl
cmp ah , 0
je set_value1
jmp final
set_value1:
mov eax , dword[copie2]
div cl
cmp ah , 0
je false
final:
inc ecx
cmp ecx , dword[minim]
ja true
mov eax , dword[copie1]
mov ebx , dword[copie2]
jmp parcurgere
true:
push dword adevarat
call [printf]
add esp , 4
jmp end_code
false:
push dword fals
call [printf]
add esp , 4
end_code:
push dword 0
call [exit]
|
oeis/064/A064326.asm | loda-lang/loda-programs | 11 | 19272 | ; A064326: Generalized Catalan numbers C(-4; n).
; Submitted by <NAME>(w2)
; 1,1,-3,25,-251,2817,-33843,425769,-5537835,73865617,-1004862179,13888533561,-194475377243,2752994728225,-39333541106835,566464908534345,-8214515461250955,119845125957958065,-1757855400878129475,25906894146115000665,-383443906519878272955,5697172601025528974145,-84943589725434781397235,1270513905554918313027945,-19058436571389095377005291,286648904547323369680346577,-4321922219465445556535202723,65310979117327776593592181369,-989021880960736125355469781275,15006229892257809309295899689313
mov $1,1
mov $3,$0
lpb $3
mov $0,$1
mul $0,4
mul $1,2
sub $2,2
sub $3,1
mul $1,$3
add $2,1
div $1,$2
add $4,$1
sub $1,$0
mul $1,2
lpe
mov $0,$4
mul $0,2
add $0,1
|
project/win32kstub/amd64/6_1_7600_sp0_shadowssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 372 | 102340 | <reponame>mehrdad-shokri/windows-syscall-table<filename>project/win32kstub/amd64/6_1_7600_sp0_shadowssdt_sysenter.asm
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 6.1.7600-sp0-windows-7 amd64
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG64 __stdcall NtUserGetThreadState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetThreadState PROC STDCALL
mov r10 , rcx
mov eax , 4096
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetThreadState ENDP
; ULONG64 __stdcall NtUserPeekMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserPeekMessage PROC STDCALL
mov r10 , rcx
mov eax , 4097
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPeekMessage ENDP
; ULONG64 __stdcall NtUserCallOneParam( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCallOneParam PROC STDCALL
mov r10 , rcx
mov eax , 4098
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallOneParam ENDP
; ULONG64 __stdcall NtUserGetKeyState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetKeyState PROC STDCALL
mov r10 , rcx
mov eax , 4099
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetKeyState ENDP
; ULONG64 __stdcall NtUserInvalidateRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserInvalidateRect PROC STDCALL
mov r10 , rcx
mov eax , 4100
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInvalidateRect ENDP
; ULONG64 __stdcall NtUserCallNoParam( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserCallNoParam PROC STDCALL
mov r10 , rcx
mov eax , 4101
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallNoParam ENDP
; ULONG64 __stdcall NtUserGetMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetMessage PROC STDCALL
mov r10 , rcx
mov eax , 4102
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetMessage ENDP
; ULONG64 __stdcall NtUserMessageCall( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserMessageCall PROC STDCALL
mov r10 , rcx
mov eax , 4103
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMessageCall ENDP
; ULONG64 __stdcall NtGdiBitBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiBitBlt PROC STDCALL
mov r10 , rcx
mov eax , 4104
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBitBlt ENDP
; ULONG64 __stdcall NtGdiGetCharSet( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetCharSet PROC STDCALL
mov r10 , rcx
mov eax , 4105
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCharSet ENDP
; ULONG64 __stdcall NtUserGetDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetDC PROC STDCALL
mov r10 , rcx
mov eax , 4106
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetDC ENDP
; ULONG64 __stdcall NtGdiSelectBitmap( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSelectBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4107
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSelectBitmap ENDP
; ULONG64 __stdcall NtUserWaitMessage( );
_6_1_7600_sp0_windows_7_NtUserWaitMessage PROC STDCALL
mov r10 , rcx
mov eax , 4108
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserWaitMessage ENDP
; ULONG64 __stdcall NtUserTranslateMessage( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserTranslateMessage PROC STDCALL
mov r10 , rcx
mov eax , 4109
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserTranslateMessage ENDP
; ULONG64 __stdcall NtUserGetProp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetProp PROC STDCALL
mov r10 , rcx
mov eax , 4110
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetProp ENDP
; ULONG64 __stdcall NtUserPostMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserPostMessage PROC STDCALL
mov r10 , rcx
mov eax , 4111
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPostMessage ENDP
; ULONG64 __stdcall NtUserQueryWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserQueryWindow PROC STDCALL
mov r10 , rcx
mov eax , 4112
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserQueryWindow ENDP
; ULONG64 __stdcall NtUserTranslateAccelerator( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserTranslateAccelerator PROC STDCALL
mov r10 , rcx
mov eax , 4113
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserTranslateAccelerator ENDP
; ULONG64 __stdcall NtGdiFlush( );
_6_1_7600_sp0_windows_7_NtGdiFlush PROC STDCALL
mov r10 , rcx
mov eax , 4114
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFlush ENDP
; ULONG64 __stdcall NtUserRedrawWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserRedrawWindow PROC STDCALL
mov r10 , rcx
mov eax , 4115
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRedrawWindow ENDP
; ULONG64 __stdcall NtUserWindowFromPoint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserWindowFromPoint PROC STDCALL
mov r10 , rcx
mov eax , 4116
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserWindowFromPoint ENDP
; ULONG64 __stdcall NtUserCallMsgFilter( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCallMsgFilter PROC STDCALL
mov r10 , rcx
mov eax , 4117
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallMsgFilter ENDP
; ULONG64 __stdcall NtUserValidateTimerCallback( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserValidateTimerCallback PROC STDCALL
mov r10 , rcx
mov eax , 4118
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserValidateTimerCallback ENDP
; ULONG64 __stdcall NtUserBeginPaint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserBeginPaint PROC STDCALL
mov r10 , rcx
mov eax , 4119
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBeginPaint ENDP
; ULONG64 __stdcall NtUserSetTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetTimer PROC STDCALL
mov r10 , rcx
mov eax , 4120
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetTimer ENDP
; ULONG64 __stdcall NtUserEndPaint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserEndPaint PROC STDCALL
mov r10 , rcx
mov eax , 4121
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEndPaint ENDP
; ULONG64 __stdcall NtUserSetCursor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetCursor PROC STDCALL
mov r10 , rcx
mov eax , 4122
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetCursor ENDP
; ULONG64 __stdcall NtUserKillTimer( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserKillTimer PROC STDCALL
mov r10 , rcx
mov eax , 4123
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserKillTimer ENDP
; ULONG64 __stdcall NtUserBuildHwndList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserBuildHwndList PROC STDCALL
mov r10 , rcx
mov eax , 4124
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBuildHwndList ENDP
; ULONG64 __stdcall NtUserSelectPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSelectPalette PROC STDCALL
mov r10 , rcx
mov eax , 4125
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSelectPalette ENDP
; ULONG64 __stdcall NtUserCallNextHookEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserCallNextHookEx PROC STDCALL
mov r10 , rcx
mov eax , 4126
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallNextHookEx ENDP
; ULONG64 __stdcall NtUserHideCaret( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserHideCaret PROC STDCALL
mov r10 , rcx
mov eax , 4127
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHideCaret ENDP
; ULONG64 __stdcall NtGdiIntersectClipRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiIntersectClipRect PROC STDCALL
mov r10 , rcx
mov eax , 4128
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiIntersectClipRect ENDP
; ULONG64 __stdcall NtUserCallHwndLock( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCallHwndLock PROC STDCALL
mov r10 , rcx
mov eax , 4129
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallHwndLock ENDP
; ULONG64 __stdcall NtUserGetProcessWindowStation( );
_6_1_7600_sp0_windows_7_NtUserGetProcessWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4130
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetProcessWindowStation ENDP
; ULONG64 __stdcall NtGdiDeleteObjectApp( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDeleteObjectApp PROC STDCALL
mov r10 , rcx
mov eax , 4131
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDeleteObjectApp ENDP
; ULONG64 __stdcall NtUserSetWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserSetWindowPos PROC STDCALL
mov r10 , rcx
mov eax , 4132
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowPos ENDP
; ULONG64 __stdcall NtUserShowCaret( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserShowCaret PROC STDCALL
mov r10 , rcx
mov eax , 4133
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserShowCaret ENDP
; ULONG64 __stdcall NtUserEndDeferWindowPosEx( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserEndDeferWindowPosEx PROC STDCALL
mov r10 , rcx
mov eax , 4134
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEndDeferWindowPosEx ENDP
; ULONG64 __stdcall NtUserCallHwndParamLock( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCallHwndParamLock PROC STDCALL
mov r10 , rcx
mov eax , 4135
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallHwndParamLock ENDP
; ULONG64 __stdcall NtUserVkKeyScanEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserVkKeyScanEx PROC STDCALL
mov r10 , rcx
mov eax , 4136
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserVkKeyScanEx ENDP
; ULONG64 __stdcall NtGdiSetDIBitsToDeviceInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 );
_6_1_7600_sp0_windows_7_NtGdiSetDIBitsToDeviceInternal PROC STDCALL
mov r10 , rcx
mov eax , 4137
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetDIBitsToDeviceInternal ENDP
; ULONG64 __stdcall NtUserCallTwoParam( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCallTwoParam PROC STDCALL
mov r10 , rcx
mov eax , 4138
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallTwoParam ENDP
; ULONG64 __stdcall NtGdiGetRandomRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetRandomRgn PROC STDCALL
mov r10 , rcx
mov eax , 4139
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetRandomRgn ENDP
; ULONG64 __stdcall NtUserCopyAcceleratorTable( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCopyAcceleratorTable PROC STDCALL
mov r10 , rcx
mov eax , 4140
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCopyAcceleratorTable ENDP
; ULONG64 __stdcall NtUserNotifyWinEvent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserNotifyWinEvent PROC STDCALL
mov r10 , rcx
mov eax , 4141
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserNotifyWinEvent ENDP
; ULONG64 __stdcall NtGdiExtSelectClipRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiExtSelectClipRgn PROC STDCALL
mov r10 , rcx
mov eax , 4142
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtSelectClipRgn ENDP
; ULONG64 __stdcall NtUserIsClipboardFormatAvailable( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserIsClipboardFormatAvailable PROC STDCALL
mov r10 , rcx
mov eax , 4143
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserIsClipboardFormatAvailable ENDP
; ULONG64 __stdcall NtUserSetScrollInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetScrollInfo PROC STDCALL
mov r10 , rcx
mov eax , 4144
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetScrollInfo ENDP
; ULONG64 __stdcall NtGdiStretchBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 );
_6_1_7600_sp0_windows_7_NtGdiStretchBlt PROC STDCALL
mov r10 , rcx
mov eax , 4145
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStretchBlt ENDP
; ULONG64 __stdcall NtUserCreateCaret( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserCreateCaret PROC STDCALL
mov r10 , rcx
mov eax , 4146
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateCaret ENDP
; ULONG64 __stdcall NtGdiRectVisible( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiRectVisible PROC STDCALL
mov r10 , rcx
mov eax , 4147
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRectVisible ENDP
; ULONG64 __stdcall NtGdiCombineRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiCombineRgn PROC STDCALL
mov r10 , rcx
mov eax , 4148
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCombineRgn ENDP
; ULONG64 __stdcall NtGdiGetDCObject( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetDCObject PROC STDCALL
mov r10 , rcx
mov eax , 4149
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDCObject ENDP
; ULONG64 __stdcall NtUserDispatchMessage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDispatchMessage PROC STDCALL
mov r10 , rcx
mov eax , 4150
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDispatchMessage ENDP
; ULONG64 __stdcall NtUserRegisterWindowMessage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserRegisterWindowMessage PROC STDCALL
mov r10 , rcx
mov eax , 4151
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterWindowMessage ENDP
; ULONG64 __stdcall NtGdiExtTextOutW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_1_7600_sp0_windows_7_NtGdiExtTextOutW PROC STDCALL
mov r10 , rcx
mov eax , 4152
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtTextOutW ENDP
; ULONG64 __stdcall NtGdiSelectFont( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSelectFont PROC STDCALL
mov r10 , rcx
mov eax , 4153
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSelectFont ENDP
; ULONG64 __stdcall NtGdiRestoreDC( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiRestoreDC PROC STDCALL
mov r10 , rcx
mov eax , 4154
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRestoreDC ENDP
; ULONG64 __stdcall NtGdiSaveDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSaveDC PROC STDCALL
mov r10 , rcx
mov eax , 4155
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSaveDC ENDP
; ULONG64 __stdcall NtUserGetForegroundWindow( );
_6_1_7600_sp0_windows_7_NtUserGetForegroundWindow PROC STDCALL
mov r10 , rcx
mov eax , 4156
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetForegroundWindow ENDP
; ULONG64 __stdcall NtUserShowScrollBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserShowScrollBar PROC STDCALL
mov r10 , rcx
mov eax , 4157
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserShowScrollBar ENDP
; ULONG64 __stdcall NtUserFindExistingCursorIcon( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserFindExistingCursorIcon PROC STDCALL
mov r10 , rcx
mov eax , 4158
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserFindExistingCursorIcon ENDP
; ULONG64 __stdcall NtGdiGetDCDword( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetDCDword PROC STDCALL
mov r10 , rcx
mov eax , 4159
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDCDword ENDP
; ULONG64 __stdcall NtGdiGetRegionData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetRegionData PROC STDCALL
mov r10 , rcx
mov eax , 4160
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetRegionData ENDP
; ULONG64 __stdcall NtGdiLineTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiLineTo PROC STDCALL
mov r10 , rcx
mov eax , 4161
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiLineTo ENDP
; ULONG64 __stdcall NtUserSystemParametersInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSystemParametersInfo PROC STDCALL
mov r10 , rcx
mov eax , 4162
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSystemParametersInfo ENDP
; ULONG64 __stdcall NtGdiGetAppClipBox( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetAppClipBox PROC STDCALL
mov r10 , rcx
mov eax , 4163
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetAppClipBox ENDP
; ULONG64 __stdcall NtUserGetAsyncKeyState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetAsyncKeyState PROC STDCALL
mov r10 , rcx
mov eax , 4164
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetAsyncKeyState ENDP
; ULONG64 __stdcall NtUserGetCPD( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetCPD PROC STDCALL
mov r10 , rcx
mov eax , 4165
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetCPD ENDP
; ULONG64 __stdcall NtUserRemoveProp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserRemoveProp PROC STDCALL
mov r10 , rcx
mov eax , 4166
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoveProp ENDP
; ULONG64 __stdcall NtGdiDoPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiDoPalette PROC STDCALL
mov r10 , rcx
mov eax , 4167
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDoPalette ENDP
; ULONG64 __stdcall NtGdiPolyPolyDraw( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiPolyPolyDraw PROC STDCALL
mov r10 , rcx
mov eax , 4168
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPolyPolyDraw ENDP
; ULONG64 __stdcall NtUserSetCapture( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetCapture PROC STDCALL
mov r10 , rcx
mov eax , 4169
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetCapture ENDP
; ULONG64 __stdcall NtUserEnumDisplayMonitors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserEnumDisplayMonitors PROC STDCALL
mov r10 , rcx
mov eax , 4170
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEnumDisplayMonitors ENDP
; ULONG64 __stdcall NtGdiCreateCompatibleBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiCreateCompatibleBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4171
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateCompatibleBitmap ENDP
; ULONG64 __stdcall NtUserSetProp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetProp PROC STDCALL
mov r10 , rcx
mov eax , 4172
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetProp ENDP
; ULONG64 __stdcall NtGdiGetTextCharsetInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetTextCharsetInfo PROC STDCALL
mov r10 , rcx
mov eax , 4173
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTextCharsetInfo ENDP
; ULONG64 __stdcall NtUserSBGetParms( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSBGetParms PROC STDCALL
mov r10 , rcx
mov eax , 4174
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSBGetParms ENDP
; ULONG64 __stdcall NtUserGetIconInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserGetIconInfo PROC STDCALL
mov r10 , rcx
mov eax , 4175
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetIconInfo ENDP
; ULONG64 __stdcall NtUserExcludeUpdateRgn( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserExcludeUpdateRgn PROC STDCALL
mov r10 , rcx
mov eax , 4176
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserExcludeUpdateRgn ENDP
; ULONG64 __stdcall NtUserSetFocus( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetFocus PROC STDCALL
mov r10 , rcx
mov eax , 4177
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetFocus ENDP
; ULONG64 __stdcall NtGdiExtGetObjectW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiExtGetObjectW PROC STDCALL
mov r10 , rcx
mov eax , 4178
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtGetObjectW ENDP
; ULONG64 __stdcall NtUserDeferWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserDeferWindowPos PROC STDCALL
mov r10 , rcx
mov eax , 4179
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDeferWindowPos ENDP
; ULONG64 __stdcall NtUserGetUpdateRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetUpdateRect PROC STDCALL
mov r10 , rcx
mov eax , 4180
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetUpdateRect ENDP
; ULONG64 __stdcall NtGdiCreateCompatibleDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCreateCompatibleDC PROC STDCALL
mov r10 , rcx
mov eax , 4181
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateCompatibleDC ENDP
; ULONG64 __stdcall NtUserGetClipboardSequenceNumber( );
_6_1_7600_sp0_windows_7_NtUserGetClipboardSequenceNumber PROC STDCALL
mov r10 , rcx
mov eax , 4182
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipboardSequenceNumber ENDP
; ULONG64 __stdcall NtGdiCreatePen( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiCreatePen PROC STDCALL
mov r10 , rcx
mov eax , 4183
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreatePen ENDP
; ULONG64 __stdcall NtUserShowWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserShowWindow PROC STDCALL
mov r10 , rcx
mov eax , 4184
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserShowWindow ENDP
; ULONG64 __stdcall NtUserGetKeyboardLayoutList( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetKeyboardLayoutList PROC STDCALL
mov r10 , rcx
mov eax , 4185
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetKeyboardLayoutList ENDP
; ULONG64 __stdcall NtGdiPatBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiPatBlt PROC STDCALL
mov r10 , rcx
mov eax , 4186
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPatBlt ENDP
; ULONG64 __stdcall NtUserMapVirtualKeyEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserMapVirtualKeyEx PROC STDCALL
mov r10 , rcx
mov eax , 4187
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMapVirtualKeyEx ENDP
; ULONG64 __stdcall NtUserSetWindowLong( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetWindowLong PROC STDCALL
mov r10 , rcx
mov eax , 4188
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowLong ENDP
; ULONG64 __stdcall NtGdiHfontCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiHfontCreate PROC STDCALL
mov r10 , rcx
mov eax , 4189
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiHfontCreate ENDP
; ULONG64 __stdcall NtUserMoveWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserMoveWindow PROC STDCALL
mov r10 , rcx
mov eax , 4190
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMoveWindow ENDP
; ULONG64 __stdcall NtUserPostThreadMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserPostThreadMessage PROC STDCALL
mov r10 , rcx
mov eax , 4191
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPostThreadMessage ENDP
; ULONG64 __stdcall NtUserDrawIconEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtUserDrawIconEx PROC STDCALL
mov r10 , rcx
mov eax , 4192
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDrawIconEx ENDP
; ULONG64 __stdcall NtUserGetSystemMenu( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetSystemMenu PROC STDCALL
mov r10 , rcx
mov eax , 4193
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetSystemMenu ENDP
; ULONG64 __stdcall NtGdiDrawStream( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDrawStream PROC STDCALL
mov r10 , rcx
mov eax , 4194
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDrawStream ENDP
; ULONG64 __stdcall NtUserInternalGetWindowText( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserInternalGetWindowText PROC STDCALL
mov r10 , rcx
mov eax , 4195
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInternalGetWindowText ENDP
; ULONG64 __stdcall NtUserGetWindowDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetWindowDC PROC STDCALL
mov r10 , rcx
mov eax , 4196
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowDC ENDP
; ULONG64 __stdcall NtGdiD3dDrawPrimitives2( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiD3dDrawPrimitives2 PROC STDCALL
mov r10 , rcx
mov eax , 4197
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiD3dDrawPrimitives2 ENDP
; ULONG64 __stdcall NtGdiInvertRgn( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiInvertRgn PROC STDCALL
mov r10 , rcx
mov eax , 4198
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiInvertRgn ENDP
; ULONG64 __stdcall NtGdiGetRgnBox( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetRgnBox PROC STDCALL
mov r10 , rcx
mov eax , 4199
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetRgnBox ENDP
; ULONG64 __stdcall NtGdiGetAndSetDCDword( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetAndSetDCDword PROC STDCALL
mov r10 , rcx
mov eax , 4200
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetAndSetDCDword ENDP
; ULONG64 __stdcall NtGdiMaskBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 );
_6_1_7600_sp0_windows_7_NtGdiMaskBlt PROC STDCALL
mov r10 , rcx
mov eax , 4201
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMaskBlt ENDP
; ULONG64 __stdcall NtGdiGetWidthTable( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiGetWidthTable PROC STDCALL
mov r10 , rcx
mov eax , 4202
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetWidthTable ENDP
; ULONG64 __stdcall NtUserScrollDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserScrollDC PROC STDCALL
mov r10 , rcx
mov eax , 4203
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserScrollDC ENDP
; ULONG64 __stdcall NtUserGetObjectInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserGetObjectInformation PROC STDCALL
mov r10 , rcx
mov eax , 4204
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetObjectInformation ENDP
; ULONG64 __stdcall NtGdiCreateBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiCreateBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4205
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateBitmap ENDP
; ULONG64 __stdcall NtUserFindWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserFindWindowEx PROC STDCALL
mov r10 , rcx
mov eax , 4206
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserFindWindowEx ENDP
; ULONG64 __stdcall NtGdiPolyPatBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiPolyPatBlt PROC STDCALL
mov r10 , rcx
mov eax , 4207
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPolyPatBlt ENDP
; ULONG64 __stdcall NtUserUnhookWindowsHookEx( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserUnhookWindowsHookEx PROC STDCALL
mov r10 , rcx
mov eax , 4208
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnhookWindowsHookEx ENDP
; ULONG64 __stdcall NtGdiGetNearestColor( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetNearestColor PROC STDCALL
mov r10 , rcx
mov eax , 4209
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetNearestColor ENDP
; ULONG64 __stdcall NtGdiTransformPoints( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiTransformPoints PROC STDCALL
mov r10 , rcx
mov eax , 4210
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiTransformPoints ENDP
; ULONG64 __stdcall NtGdiGetDCPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetDCPoint PROC STDCALL
mov r10 , rcx
mov eax , 4211
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDCPoint ENDP
; ULONG64 __stdcall NtGdiCreateDIBBrush( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiCreateDIBBrush PROC STDCALL
mov r10 , rcx
mov eax , 4212
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateDIBBrush ENDP
; ULONG64 __stdcall NtGdiGetTextMetricsW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetTextMetricsW PROC STDCALL
mov r10 , rcx
mov eax , 4213
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTextMetricsW ENDP
; ULONG64 __stdcall NtUserCreateWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 );
_6_1_7600_sp0_windows_7_NtUserCreateWindowEx PROC STDCALL
mov r10 , rcx
mov eax , 4214
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateWindowEx ENDP
; ULONG64 __stdcall NtUserSetParent( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetParent PROC STDCALL
mov r10 , rcx
mov eax , 4215
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetParent ENDP
; ULONG64 __stdcall NtUserGetKeyboardState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetKeyboardState PROC STDCALL
mov r10 , rcx
mov eax , 4216
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetKeyboardState ENDP
; ULONG64 __stdcall NtUserToUnicodeEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserToUnicodeEx PROC STDCALL
mov r10 , rcx
mov eax , 4217
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserToUnicodeEx ENDP
; ULONG64 __stdcall NtUserGetControlBrush( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetControlBrush PROC STDCALL
mov r10 , rcx
mov eax , 4218
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetControlBrush ENDP
; ULONG64 __stdcall NtUserGetClassName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetClassName PROC STDCALL
mov r10 , rcx
mov eax , 4219
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClassName ENDP
; ULONG64 __stdcall NtGdiAlphaBlend( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 );
_6_1_7600_sp0_windows_7_NtGdiAlphaBlend PROC STDCALL
mov r10 , rcx
mov eax , 4220
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAlphaBlend ENDP
; ULONG64 __stdcall NtGdiDdBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdBlt PROC STDCALL
mov r10 , rcx
mov eax , 4221
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdBlt ENDP
; ULONG64 __stdcall NtGdiOffsetRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiOffsetRgn PROC STDCALL
mov r10 , rcx
mov eax , 4222
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiOffsetRgn ENDP
; ULONG64 __stdcall NtUserDefSetText( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserDefSetText PROC STDCALL
mov r10 , rcx
mov eax , 4223
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDefSetText ENDP
; ULONG64 __stdcall NtGdiGetTextFaceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetTextFaceW PROC STDCALL
mov r10 , rcx
mov eax , 4224
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTextFaceW ENDP
; ULONG64 __stdcall NtGdiStretchDIBitsInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 , ULONG64 arg_14 , ULONG64 arg_15 , ULONG64 arg_16 );
_6_1_7600_sp0_windows_7_NtGdiStretchDIBitsInternal PROC STDCALL
mov r10 , rcx
mov eax , 4225
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStretchDIBitsInternal ENDP
; ULONG64 __stdcall NtUserSendInput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSendInput PROC STDCALL
mov r10 , rcx
mov eax , 4226
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSendInput ENDP
; ULONG64 __stdcall NtUserGetThreadDesktop( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetThreadDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4227
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetThreadDesktop ENDP
; ULONG64 __stdcall NtGdiCreateRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiCreateRectRgn PROC STDCALL
mov r10 , rcx
mov eax , 4228
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateRectRgn ENDP
; ULONG64 __stdcall NtGdiGetDIBitsInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_1_7600_sp0_windows_7_NtGdiGetDIBitsInternal PROC STDCALL
mov r10 , rcx
mov eax , 4229
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDIBitsInternal ENDP
; ULONG64 __stdcall NtUserGetUpdateRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetUpdateRgn PROC STDCALL
mov r10 , rcx
mov eax , 4230
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetUpdateRgn ENDP
; ULONG64 __stdcall NtGdiDeleteClientObj( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDeleteClientObj PROC STDCALL
mov r10 , rcx
mov eax , 4231
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDeleteClientObj ENDP
; ULONG64 __stdcall NtUserGetIconSize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetIconSize PROC STDCALL
mov r10 , rcx
mov eax , 4232
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetIconSize ENDP
; ULONG64 __stdcall NtUserFillWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserFillWindow PROC STDCALL
mov r10 , rcx
mov eax , 4233
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserFillWindow ENDP
; ULONG64 __stdcall NtGdiExtCreateRegion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiExtCreateRegion PROC STDCALL
mov r10 , rcx
mov eax , 4234
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtCreateRegion ENDP
; ULONG64 __stdcall NtGdiComputeXformCoefficients( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiComputeXformCoefficients PROC STDCALL
mov r10 , rcx
mov eax , 4235
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiComputeXformCoefficients ENDP
; ULONG64 __stdcall NtUserSetWindowsHookEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserSetWindowsHookEx PROC STDCALL
mov r10 , rcx
mov eax , 4236
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowsHookEx ENDP
; ULONG64 __stdcall NtUserNotifyProcessCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserNotifyProcessCreate PROC STDCALL
mov r10 , rcx
mov eax , 4237
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserNotifyProcessCreate ENDP
; ULONG64 __stdcall NtGdiUnrealizeObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiUnrealizeObject PROC STDCALL
mov r10 , rcx
mov eax , 4238
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiUnrealizeObject ENDP
; ULONG64 __stdcall NtUserGetTitleBarInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetTitleBarInfo PROC STDCALL
mov r10 , rcx
mov eax , 4239
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetTitleBarInfo ENDP
; ULONG64 __stdcall NtGdiRectangle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiRectangle PROC STDCALL
mov r10 , rcx
mov eax , 4240
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRectangle ENDP
; ULONG64 __stdcall NtUserSetThreadDesktop( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetThreadDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4241
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetThreadDesktop ENDP
; ULONG64 __stdcall NtUserGetDCEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetDCEx PROC STDCALL
mov r10 , rcx
mov eax , 4242
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetDCEx ENDP
; ULONG64 __stdcall NtUserGetScrollBarInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetScrollBarInfo PROC STDCALL
mov r10 , rcx
mov eax , 4243
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetScrollBarInfo ENDP
; ULONG64 __stdcall NtGdiGetTextExtent( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetTextExtent PROC STDCALL
mov r10 , rcx
mov eax , 4244
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTextExtent ENDP
; ULONG64 __stdcall NtUserSetWindowFNID( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetWindowFNID PROC STDCALL
mov r10 , rcx
mov eax , 4245
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowFNID ENDP
; ULONG64 __stdcall NtGdiSetLayout( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetLayout PROC STDCALL
mov r10 , rcx
mov eax , 4246
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetLayout ENDP
; ULONG64 __stdcall NtUserCalcMenuBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserCalcMenuBar PROC STDCALL
mov r10 , rcx
mov eax , 4247
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCalcMenuBar ENDP
; ULONG64 __stdcall NtUserThunkedMenuItemInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserThunkedMenuItemInfo PROC STDCALL
mov r10 , rcx
mov eax , 4248
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserThunkedMenuItemInfo ENDP
; ULONG64 __stdcall NtGdiExcludeClipRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiExcludeClipRect PROC STDCALL
mov r10 , rcx
mov eax , 4249
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExcludeClipRect ENDP
; ULONG64 __stdcall NtGdiCreateDIBSection( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_1_7600_sp0_windows_7_NtGdiCreateDIBSection PROC STDCALL
mov r10 , rcx
mov eax , 4250
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateDIBSection ENDP
; ULONG64 __stdcall NtGdiGetDCforBitmap( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetDCforBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4251
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDCforBitmap ENDP
; ULONG64 __stdcall NtUserDestroyCursor( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserDestroyCursor PROC STDCALL
mov r10 , rcx
mov eax , 4252
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDestroyCursor ENDP
; ULONG64 __stdcall NtUserDestroyWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDestroyWindow PROC STDCALL
mov r10 , rcx
mov eax , 4253
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDestroyWindow ENDP
; ULONG64 __stdcall NtUserCallHwndParam( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCallHwndParam PROC STDCALL
mov r10 , rcx
mov eax , 4254
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallHwndParam ENDP
; ULONG64 __stdcall NtGdiCreateDIBitmapInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiCreateDIBitmapInternal PROC STDCALL
mov r10 , rcx
mov eax , 4255
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateDIBitmapInternal ENDP
; ULONG64 __stdcall NtUserOpenWindowStation( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserOpenWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4256
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserOpenWindowStation ENDP
; ULONG64 __stdcall NtGdiDdDeleteSurfaceObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDeleteSurfaceObject PROC STDCALL
mov r10 , rcx
mov eax , 4257
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDeleteSurfaceObject ENDP
; ULONG64 __stdcall NtGdiDdCanCreateSurface( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdCanCreateSurface PROC STDCALL
mov r10 , rcx
mov eax , 4258
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCanCreateSurface ENDP
; ULONG64 __stdcall NtGdiDdCreateSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurface PROC STDCALL
mov r10 , rcx
mov eax , 4259
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurface ENDP
; ULONG64 __stdcall NtUserSetCursorIconData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetCursorIconData PROC STDCALL
mov r10 , rcx
mov eax , 4260
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetCursorIconData ENDP
; ULONG64 __stdcall NtGdiDdDestroySurface( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDestroySurface PROC STDCALL
mov r10 , rcx
mov eax , 4261
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDestroySurface ENDP
; ULONG64 __stdcall NtUserCloseDesktop( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserCloseDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4262
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCloseDesktop ENDP
; ULONG64 __stdcall NtUserOpenDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserOpenDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4263
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserOpenDesktop ENDP
; ULONG64 __stdcall NtUserSetProcessWindowStation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetProcessWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4264
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetProcessWindowStation ENDP
; ULONG64 __stdcall NtUserGetAtomName( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetAtomName PROC STDCALL
mov r10 , rcx
mov eax , 4265
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetAtomName ENDP
; ULONG64 __stdcall NtGdiDdResetVisrgn( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdResetVisrgn PROC STDCALL
mov r10 , rcx
mov eax , 4266
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdResetVisrgn ENDP
; ULONG64 __stdcall NtGdiExtCreatePen( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiExtCreatePen PROC STDCALL
mov r10 , rcx
mov eax , 4267
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtCreatePen ENDP
; ULONG64 __stdcall NtGdiCreatePaletteInternal( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiCreatePaletteInternal PROC STDCALL
mov r10 , rcx
mov eax , 4268
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreatePaletteInternal ENDP
; ULONG64 __stdcall NtGdiSetBrushOrg( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiSetBrushOrg PROC STDCALL
mov r10 , rcx
mov eax , 4269
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBrushOrg ENDP
; ULONG64 __stdcall NtUserBuildNameList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserBuildNameList PROC STDCALL
mov r10 , rcx
mov eax , 4270
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBuildNameList ENDP
; ULONG64 __stdcall NtGdiSetPixel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiSetPixel PROC STDCALL
mov r10 , rcx
mov eax , 4271
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetPixel ENDP
; ULONG64 __stdcall NtUserRegisterClassExWOW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserRegisterClassExWOW PROC STDCALL
mov r10 , rcx
mov eax , 4272
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterClassExWOW ENDP
; ULONG64 __stdcall NtGdiCreatePatternBrushInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiCreatePatternBrushInternal PROC STDCALL
mov r10 , rcx
mov eax , 4273
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreatePatternBrushInternal ENDP
; ULONG64 __stdcall NtUserGetAncestor( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetAncestor PROC STDCALL
mov r10 , rcx
mov eax , 4274
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetAncestor ENDP
; ULONG64 __stdcall NtGdiGetOutlineTextMetricsInternalW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetOutlineTextMetricsInternalW PROC STDCALL
mov r10 , rcx
mov eax , 4275
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetOutlineTextMetricsInternalW ENDP
; ULONG64 __stdcall NtGdiSetBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetBitmapBits PROC STDCALL
mov r10 , rcx
mov eax , 4276
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBitmapBits ENDP
; ULONG64 __stdcall NtUserCloseWindowStation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserCloseWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4277
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCloseWindowStation ENDP
; ULONG64 __stdcall NtUserGetDoubleClickTime( );
_6_1_7600_sp0_windows_7_NtUserGetDoubleClickTime PROC STDCALL
mov r10 , rcx
mov eax , 4278
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetDoubleClickTime ENDP
; ULONG64 __stdcall NtUserEnableScrollBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserEnableScrollBar PROC STDCALL
mov r10 , rcx
mov eax , 4279
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEnableScrollBar ENDP
; ULONG64 __stdcall NtGdiCreateSolidBrush( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiCreateSolidBrush PROC STDCALL
mov r10 , rcx
mov eax , 4280
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateSolidBrush ENDP
; ULONG64 __stdcall NtUserGetClassInfoEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserGetClassInfoEx PROC STDCALL
mov r10 , rcx
mov eax , 4281
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClassInfoEx ENDP
; ULONG64 __stdcall NtGdiCreateClientObj( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCreateClientObj PROC STDCALL
mov r10 , rcx
mov eax , 4282
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateClientObj ENDP
; ULONG64 __stdcall NtUserUnregisterClass( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserUnregisterClass PROC STDCALL
mov r10 , rcx
mov eax , 4283
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnregisterClass ENDP
; ULONG64 __stdcall NtUserDeleteMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserDeleteMenu PROC STDCALL
mov r10 , rcx
mov eax , 4284
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDeleteMenu ENDP
; ULONG64 __stdcall NtGdiRectInRegion( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiRectInRegion PROC STDCALL
mov r10 , rcx
mov eax , 4285
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRectInRegion ENDP
; ULONG64 __stdcall NtUserScrollWindowEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserScrollWindowEx PROC STDCALL
mov r10 , rcx
mov eax , 4286
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserScrollWindowEx ENDP
; ULONG64 __stdcall NtGdiGetPixel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetPixel PROC STDCALL
mov r10 , rcx
mov eax , 4287
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetPixel ENDP
; ULONG64 __stdcall NtUserSetClassLong( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetClassLong PROC STDCALL
mov r10 , rcx
mov eax , 4288
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetClassLong ENDP
; ULONG64 __stdcall NtUserGetMenuBarInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetMenuBarInfo PROC STDCALL
mov r10 , rcx
mov eax , 4289
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetMenuBarInfo ENDP
; ULONG64 __stdcall NtGdiDdCreateSurfaceEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurfaceEx PROC STDCALL
mov r10 , rcx
mov eax , 4290
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurfaceEx ENDP
; ULONG64 __stdcall NtGdiDdCreateSurfaceObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurfaceObject PROC STDCALL
mov r10 , rcx
mov eax , 4291
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateSurfaceObject ENDP
; ULONG64 __stdcall NtGdiGetNearestPaletteIndex( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetNearestPaletteIndex PROC STDCALL
mov r10 , rcx
mov eax , 4292
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetNearestPaletteIndex ENDP
; ULONG64 __stdcall NtGdiDdLockD3D( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdLockD3D PROC STDCALL
mov r10 , rcx
mov eax , 4293
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdLockD3D ENDP
; ULONG64 __stdcall NtGdiDdUnlockD3D( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdUnlockD3D PROC STDCALL
mov r10 , rcx
mov eax , 4294
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdUnlockD3D ENDP
; ULONG64 __stdcall NtGdiGetCharWidthW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGetCharWidthW PROC STDCALL
mov r10 , rcx
mov eax , 4295
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCharWidthW ENDP
; ULONG64 __stdcall NtUserInvalidateRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserInvalidateRgn PROC STDCALL
mov r10 , rcx
mov eax , 4296
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInvalidateRgn ENDP
; ULONG64 __stdcall NtUserGetClipboardOwner( );
_6_1_7600_sp0_windows_7_NtUserGetClipboardOwner PROC STDCALL
mov r10 , rcx
mov eax , 4297
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipboardOwner ENDP
; ULONG64 __stdcall NtUserSetWindowRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetWindowRgn PROC STDCALL
mov r10 , rcx
mov eax , 4298
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowRgn ENDP
; ULONG64 __stdcall NtUserBitBltSysBmp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserBitBltSysBmp PROC STDCALL
mov r10 , rcx
mov eax , 4299
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBitBltSysBmp ENDP
; ULONG64 __stdcall NtGdiGetCharWidthInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetCharWidthInfo PROC STDCALL
mov r10 , rcx
mov eax , 4300
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCharWidthInfo ENDP
; ULONG64 __stdcall NtUserValidateRect( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserValidateRect PROC STDCALL
mov r10 , rcx
mov eax , 4301
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserValidateRect ENDP
; ULONG64 __stdcall NtUserCloseClipboard( );
_6_1_7600_sp0_windows_7_NtUserCloseClipboard PROC STDCALL
mov r10 , rcx
mov eax , 4302
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCloseClipboard ENDP
; ULONG64 __stdcall NtUserOpenClipboard( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserOpenClipboard PROC STDCALL
mov r10 , rcx
mov eax , 4303
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserOpenClipboard ENDP
; ULONG64 __stdcall NtGdiGetStockObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetStockObject PROC STDCALL
mov r10 , rcx
mov eax , 4304
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetStockObject ENDP
; ULONG64 __stdcall NtUserSetClipboardData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetClipboardData PROC STDCALL
mov r10 , rcx
mov eax , 4305
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetClipboardData ENDP
; ULONG64 __stdcall NtUserEnableMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserEnableMenuItem PROC STDCALL
mov r10 , rcx
mov eax , 4306
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEnableMenuItem ENDP
; ULONG64 __stdcall NtUserAlterWindowStyle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserAlterWindowStyle PROC STDCALL
mov r10 , rcx
mov eax , 4307
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserAlterWindowStyle ENDP
; ULONG64 __stdcall NtGdiFillRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiFillRgn PROC STDCALL
mov r10 , rcx
mov eax , 4308
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFillRgn ENDP
; ULONG64 __stdcall NtUserGetWindowPlacement( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWindowPlacement PROC STDCALL
mov r10 , rcx
mov eax , 4309
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowPlacement ENDP
; ULONG64 __stdcall NtGdiModifyWorldTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiModifyWorldTransform PROC STDCALL
mov r10 , rcx
mov eax , 4310
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiModifyWorldTransform ENDP
; ULONG64 __stdcall NtGdiGetFontData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetFontData PROC STDCALL
mov r10 , rcx
mov eax , 4311
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetFontData ENDP
; ULONG64 __stdcall NtUserGetOpenClipboardWindow( );
_6_1_7600_sp0_windows_7_NtUserGetOpenClipboardWindow PROC STDCALL
mov r10 , rcx
mov eax , 4312
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetOpenClipboardWindow ENDP
; ULONG64 __stdcall NtUserSetThreadState( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetThreadState PROC STDCALL
mov r10 , rcx
mov eax , 4313
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetThreadState ENDP
; ULONG64 __stdcall NtGdiOpenDCW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiOpenDCW PROC STDCALL
mov r10 , rcx
mov eax , 4314
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiOpenDCW ENDP
; ULONG64 __stdcall NtUserTrackMouseEvent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserTrackMouseEvent PROC STDCALL
mov r10 , rcx
mov eax , 4315
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserTrackMouseEvent ENDP
; ULONG64 __stdcall NtGdiGetTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetTransform PROC STDCALL
mov r10 , rcx
mov eax , 4316
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTransform ENDP
; ULONG64 __stdcall NtUserDestroyMenu( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDestroyMenu PROC STDCALL
mov r10 , rcx
mov eax , 4317
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDestroyMenu ENDP
; ULONG64 __stdcall NtGdiGetBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetBitmapBits PROC STDCALL
mov r10 , rcx
mov eax , 4318
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetBitmapBits ENDP
; ULONG64 __stdcall NtUserConsoleControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserConsoleControl PROC STDCALL
mov r10 , rcx
mov eax , 4319
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserConsoleControl ENDP
; ULONG64 __stdcall NtUserSetActiveWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetActiveWindow PROC STDCALL
mov r10 , rcx
mov eax , 4320
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetActiveWindow ENDP
; ULONG64 __stdcall NtUserSetInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetInformationThread PROC STDCALL
mov r10 , rcx
mov eax , 4321
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetInformationThread ENDP
; ULONG64 __stdcall NtUserSetWindowPlacement( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetWindowPlacement PROC STDCALL
mov r10 , rcx
mov eax , 4322
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowPlacement ENDP
; ULONG64 __stdcall NtUserGetControlColor( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetControlColor PROC STDCALL
mov r10 , rcx
mov eax , 4323
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetControlColor ENDP
; ULONG64 __stdcall NtGdiSetMetaRgn( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSetMetaRgn PROC STDCALL
mov r10 , rcx
mov eax , 4324
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetMetaRgn ENDP
; ULONG64 __stdcall NtGdiSetMiterLimit( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetMiterLimit PROC STDCALL
mov r10 , rcx
mov eax , 4325
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetMiterLimit ENDP
; ULONG64 __stdcall NtGdiSetVirtualResolution( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiSetVirtualResolution PROC STDCALL
mov r10 , rcx
mov eax , 4326
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetVirtualResolution ENDP
; ULONG64 __stdcall NtGdiGetRasterizerCaps( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetRasterizerCaps PROC STDCALL
mov r10 , rcx
mov eax , 4327
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetRasterizerCaps ENDP
; ULONG64 __stdcall NtUserSetWindowWord( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetWindowWord PROC STDCALL
mov r10 , rcx
mov eax , 4328
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowWord ENDP
; ULONG64 __stdcall NtUserGetClipboardFormatName( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetClipboardFormatName PROC STDCALL
mov r10 , rcx
mov eax , 4329
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipboardFormatName ENDP
; ULONG64 __stdcall NtUserRealInternalGetMessage( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserRealInternalGetMessage PROC STDCALL
mov r10 , rcx
mov eax , 4330
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRealInternalGetMessage ENDP
; ULONG64 __stdcall NtUserCreateLocalMemHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserCreateLocalMemHandle PROC STDCALL
mov r10 , rcx
mov eax , 4331
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateLocalMemHandle ENDP
; ULONG64 __stdcall NtUserAttachThreadInput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserAttachThreadInput PROC STDCALL
mov r10 , rcx
mov eax , 4332
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserAttachThreadInput ENDP
; ULONG64 __stdcall NtGdiCreateHalftonePalette( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCreateHalftonePalette PROC STDCALL
mov r10 , rcx
mov eax , 4333
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateHalftonePalette ENDP
; ULONG64 __stdcall NtUserPaintMenuBar( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserPaintMenuBar PROC STDCALL
mov r10 , rcx
mov eax , 4334
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPaintMenuBar ENDP
; ULONG64 __stdcall NtUserSetKeyboardState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetKeyboardState PROC STDCALL
mov r10 , rcx
mov eax , 4335
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetKeyboardState ENDP
; ULONG64 __stdcall NtGdiCombineTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiCombineTransform PROC STDCALL
mov r10 , rcx
mov eax , 4336
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCombineTransform ENDP
; ULONG64 __stdcall NtUserCreateAcceleratorTable( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCreateAcceleratorTable PROC STDCALL
mov r10 , rcx
mov eax , 4337
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateAcceleratorTable ENDP
; ULONG64 __stdcall NtUserGetCursorFrameInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetCursorFrameInfo PROC STDCALL
mov r10 , rcx
mov eax , 4338
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetCursorFrameInfo ENDP
; ULONG64 __stdcall NtUserGetAltTabInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserGetAltTabInfo PROC STDCALL
mov r10 , rcx
mov eax , 4339
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetAltTabInfo ENDP
; ULONG64 __stdcall NtUserGetCaretBlinkTime( );
_6_1_7600_sp0_windows_7_NtUserGetCaretBlinkTime PROC STDCALL
mov r10 , rcx
mov eax , 4340
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetCaretBlinkTime ENDP
; ULONG64 __stdcall NtGdiQueryFontAssocInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiQueryFontAssocInfo PROC STDCALL
mov r10 , rcx
mov eax , 4341
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiQueryFontAssocInfo ENDP
; ULONG64 __stdcall NtUserProcessConnect( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserProcessConnect PROC STDCALL
mov r10 , rcx
mov eax , 4342
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserProcessConnect ENDP
; ULONG64 __stdcall NtUserEnumDisplayDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserEnumDisplayDevices PROC STDCALL
mov r10 , rcx
mov eax , 4343
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEnumDisplayDevices ENDP
; ULONG64 __stdcall NtUserEmptyClipboard( );
_6_1_7600_sp0_windows_7_NtUserEmptyClipboard PROC STDCALL
mov r10 , rcx
mov eax , 4344
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEmptyClipboard ENDP
; ULONG64 __stdcall NtUserGetClipboardData( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetClipboardData PROC STDCALL
mov r10 , rcx
mov eax , 4345
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipboardData ENDP
; ULONG64 __stdcall NtUserRemoveMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserRemoveMenu PROC STDCALL
mov r10 , rcx
mov eax , 4346
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoveMenu ENDP
; ULONG64 __stdcall NtGdiSetBoundsRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetBoundsRect PROC STDCALL
mov r10 , rcx
mov eax , 4347
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBoundsRect ENDP
; ULONG64 __stdcall NtGdiGetBitmapDimension( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetBitmapDimension PROC STDCALL
mov r10 , rcx
mov eax , 4348
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetBitmapDimension ENDP
; ULONG64 __stdcall NtUserConvertMemHandle( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserConvertMemHandle PROC STDCALL
mov r10 , rcx
mov eax , 4349
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserConvertMemHandle ENDP
; ULONG64 __stdcall NtUserDestroyAcceleratorTable( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDestroyAcceleratorTable PROC STDCALL
mov r10 , rcx
mov eax , 4350
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDestroyAcceleratorTable ENDP
; ULONG64 __stdcall NtUserGetGUIThreadInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetGUIThreadInfo PROC STDCALL
mov r10 , rcx
mov eax , 4351
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetGUIThreadInfo ENDP
; ULONG64 __stdcall NtGdiCloseFigure( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCloseFigure PROC STDCALL
mov r10 , rcx
mov eax , 4352
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCloseFigure ENDP
; ULONG64 __stdcall NtUserSetWindowsHookAW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetWindowsHookAW PROC STDCALL
mov r10 , rcx
mov eax , 4353
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowsHookAW ENDP
; ULONG64 __stdcall NtUserSetMenuDefaultItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetMenuDefaultItem PROC STDCALL
mov r10 , rcx
mov eax , 4354
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetMenuDefaultItem ENDP
; ULONG64 __stdcall NtUserCheckMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCheckMenuItem PROC STDCALL
mov r10 , rcx
mov eax , 4355
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCheckMenuItem ENDP
; ULONG64 __stdcall NtUserSetWinEventHook( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserSetWinEventHook PROC STDCALL
mov r10 , rcx
mov eax , 4356
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWinEventHook ENDP
; ULONG64 __stdcall NtUserUnhookWinEvent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserUnhookWinEvent PROC STDCALL
mov r10 , rcx
mov eax , 4357
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnhookWinEvent ENDP
; ULONG64 __stdcall NtUserLockWindowUpdate( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserLockWindowUpdate PROC STDCALL
mov r10 , rcx
mov eax , 4358
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserLockWindowUpdate ENDP
; ULONG64 __stdcall NtUserSetSystemMenu( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetSystemMenu PROC STDCALL
mov r10 , rcx
mov eax , 4359
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetSystemMenu ENDP
; ULONG64 __stdcall NtUserThunkedMenuInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserThunkedMenuInfo PROC STDCALL
mov r10 , rcx
mov eax , 4360
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserThunkedMenuInfo ENDP
; ULONG64 __stdcall NtGdiBeginPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiBeginPath PROC STDCALL
mov r10 , rcx
mov eax , 4361
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBeginPath ENDP
; ULONG64 __stdcall NtGdiEndPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEndPath PROC STDCALL
mov r10 , rcx
mov eax , 4362
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEndPath ENDP
; ULONG64 __stdcall NtGdiFillPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFillPath PROC STDCALL
mov r10 , rcx
mov eax , 4363
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFillPath ENDP
; ULONG64 __stdcall NtUserCallHwnd( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCallHwnd PROC STDCALL
mov r10 , rcx
mov eax , 4364
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallHwnd ENDP
; ULONG64 __stdcall NtUserDdeInitialize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserDdeInitialize PROC STDCALL
mov r10 , rcx
mov eax , 4365
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDdeInitialize ENDP
; ULONG64 __stdcall NtUserModifyUserStartupInfoFlags( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserModifyUserStartupInfoFlags PROC STDCALL
mov r10 , rcx
mov eax , 4366
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserModifyUserStartupInfoFlags ENDP
; ULONG64 __stdcall NtUserCountClipboardFormats( );
_6_1_7600_sp0_windows_7_NtUserCountClipboardFormats PROC STDCALL
mov r10 , rcx
mov eax , 4367
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCountClipboardFormats ENDP
; ULONG64 __stdcall NtGdiAddFontMemResourceEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiAddFontMemResourceEx PROC STDCALL
mov r10 , rcx
mov eax , 4368
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAddFontMemResourceEx ENDP
; ULONG64 __stdcall NtGdiEqualRgn( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiEqualRgn PROC STDCALL
mov r10 , rcx
mov eax , 4369
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEqualRgn ENDP
; ULONG64 __stdcall NtGdiGetSystemPaletteUse( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetSystemPaletteUse PROC STDCALL
mov r10 , rcx
mov eax , 4370
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetSystemPaletteUse ENDP
; ULONG64 __stdcall NtGdiRemoveFontMemResourceEx( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiRemoveFontMemResourceEx PROC STDCALL
mov r10 , rcx
mov eax , 4371
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRemoveFontMemResourceEx ENDP
; ULONG64 __stdcall NtUserEnumDisplaySettings( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserEnumDisplaySettings PROC STDCALL
mov r10 , rcx
mov eax , 4372
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEnumDisplaySettings ENDP
; ULONG64 __stdcall NtUserPaintDesktop( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserPaintDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4373
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPaintDesktop ENDP
; ULONG64 __stdcall NtGdiExtEscape( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiExtEscape PROC STDCALL
mov r10 , rcx
mov eax , 4374
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtEscape ENDP
; ULONG64 __stdcall NtGdiSetBitmapDimension( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiSetBitmapDimension PROC STDCALL
mov r10 , rcx
mov eax , 4375
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBitmapDimension ENDP
; ULONG64 __stdcall NtGdiSetFontEnumeration( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSetFontEnumeration PROC STDCALL
mov r10 , rcx
mov eax , 4376
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetFontEnumeration ENDP
; ULONG64 __stdcall NtUserChangeClipboardChain( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserChangeClipboardChain PROC STDCALL
mov r10 , rcx
mov eax , 4377
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserChangeClipboardChain ENDP
; ULONG64 __stdcall NtUserSetClipboardViewer( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetClipboardViewer PROC STDCALL
mov r10 , rcx
mov eax , 4378
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetClipboardViewer ENDP
; ULONG64 __stdcall NtUserShowWindowAsync( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserShowWindowAsync PROC STDCALL
mov r10 , rcx
mov eax , 4379
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserShowWindowAsync ENDP
; ULONG64 __stdcall NtGdiCreateColorSpace( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCreateColorSpace PROC STDCALL
mov r10 , rcx
mov eax , 4380
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateColorSpace ENDP
; ULONG64 __stdcall NtGdiDeleteColorSpace( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDeleteColorSpace PROC STDCALL
mov r10 , rcx
mov eax , 4381
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDeleteColorSpace ENDP
; ULONG64 __stdcall NtUserActivateKeyboardLayout( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserActivateKeyboardLayout PROC STDCALL
mov r10 , rcx
mov eax , 4382
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserActivateKeyboardLayout ENDP
; ULONG64 __stdcall NtGdiAbortDoc( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiAbortDoc PROC STDCALL
mov r10 , rcx
mov eax , 4383
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAbortDoc ENDP
; ULONG64 __stdcall NtGdiAbortPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiAbortPath PROC STDCALL
mov r10 , rcx
mov eax , 4384
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAbortPath ENDP
; ULONG64 __stdcall NtGdiAddEmbFontToDC( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiAddEmbFontToDC PROC STDCALL
mov r10 , rcx
mov eax , 4385
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAddEmbFontToDC ENDP
; ULONG64 __stdcall NtGdiAddFontResourceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiAddFontResourceW PROC STDCALL
mov r10 , rcx
mov eax , 4386
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAddFontResourceW ENDP
; ULONG64 __stdcall NtGdiAddRemoteFontToDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiAddRemoteFontToDC PROC STDCALL
mov r10 , rcx
mov eax , 4387
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAddRemoteFontToDC ENDP
; ULONG64 __stdcall NtGdiAddRemoteMMInstanceToDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiAddRemoteMMInstanceToDC PROC STDCALL
mov r10 , rcx
mov eax , 4388
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAddRemoteMMInstanceToDC ENDP
; ULONG64 __stdcall NtGdiAngleArc( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiAngleArc PROC STDCALL
mov r10 , rcx
mov eax , 4389
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAngleArc ENDP
; ULONG64 __stdcall NtGdiAnyLinkedFonts( );
_6_1_7600_sp0_windows_7_NtGdiAnyLinkedFonts PROC STDCALL
mov r10 , rcx
mov eax , 4390
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiAnyLinkedFonts ENDP
; ULONG64 __stdcall NtGdiArcInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtGdiArcInternal PROC STDCALL
mov r10 , rcx
mov eax , 4391
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiArcInternal ENDP
; ULONG64 __stdcall NtGdiBRUSHOBJ_DeleteRbrush( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_DeleteRbrush PROC STDCALL
mov r10 , rcx
mov eax , 4392
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_DeleteRbrush ENDP
; ULONG64 __stdcall NtGdiBRUSHOBJ_hGetColorTransform( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_hGetColorTransform PROC STDCALL
mov r10 , rcx
mov eax , 4393
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_hGetColorTransform ENDP
; ULONG64 __stdcall NtGdiBRUSHOBJ_pvAllocRbrush( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_pvAllocRbrush PROC STDCALL
mov r10 , rcx
mov eax , 4394
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_pvAllocRbrush ENDP
; ULONG64 __stdcall NtGdiBRUSHOBJ_pvGetRbrush( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_pvGetRbrush PROC STDCALL
mov r10 , rcx
mov eax , 4395
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_pvGetRbrush ENDP
; ULONG64 __stdcall NtGdiBRUSHOBJ_ulGetBrushColor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_ulGetBrushColor PROC STDCALL
mov r10 , rcx
mov eax , 4396
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBRUSHOBJ_ulGetBrushColor ENDP
; ULONG64 __stdcall NtGdiBeginGdiRendering( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiBeginGdiRendering PROC STDCALL
mov r10 , rcx
mov eax , 4397
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiBeginGdiRendering ENDP
; ULONG64 __stdcall NtGdiCLIPOBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_bEnum PROC STDCALL
mov r10 , rcx
mov eax , 4398
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_bEnum ENDP
; ULONG64 __stdcall NtGdiCLIPOBJ_cEnumStart( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_cEnumStart PROC STDCALL
mov r10 , rcx
mov eax , 4399
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_cEnumStart ENDP
; ULONG64 __stdcall NtGdiCLIPOBJ_ppoGetPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_ppoGetPath PROC STDCALL
mov r10 , rcx
mov eax , 4400
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCLIPOBJ_ppoGetPath ENDP
; ULONG64 __stdcall NtGdiCancelDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCancelDC PROC STDCALL
mov r10 , rcx
mov eax , 4401
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCancelDC ENDP
; ULONG64 __stdcall NtGdiChangeGhostFont( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiChangeGhostFont PROC STDCALL
mov r10 , rcx
mov eax , 4402
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiChangeGhostFont ENDP
; ULONG64 __stdcall NtGdiCheckBitmapBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiCheckBitmapBits PROC STDCALL
mov r10 , rcx
mov eax , 4403
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCheckBitmapBits ENDP
; ULONG64 __stdcall NtGdiClearBitmapAttributes( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiClearBitmapAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4404
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiClearBitmapAttributes ENDP
; ULONG64 __stdcall NtGdiClearBrushAttributes( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiClearBrushAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4405
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiClearBrushAttributes ENDP
; ULONG64 __stdcall NtGdiColorCorrectPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiColorCorrectPalette PROC STDCALL
mov r10 , rcx
mov eax , 4406
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiColorCorrectPalette ENDP
; ULONG64 __stdcall NtGdiConfigureOPMProtectedOutput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiConfigureOPMProtectedOutput PROC STDCALL
mov r10 , rcx
mov eax , 4407
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiConfigureOPMProtectedOutput ENDP
; ULONG64 __stdcall NtGdiConvertMetafileRect( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiConvertMetafileRect PROC STDCALL
mov r10 , rcx
mov eax , 4408
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiConvertMetafileRect ENDP
; ULONG64 __stdcall NtGdiCreateBitmapFromDxSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiCreateBitmapFromDxSurface PROC STDCALL
mov r10 , rcx
mov eax , 4409
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateBitmapFromDxSurface ENDP
; ULONG64 __stdcall NtGdiCreateColorTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiCreateColorTransform PROC STDCALL
mov r10 , rcx
mov eax , 4410
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateColorTransform ENDP
; ULONG64 __stdcall NtGdiCreateEllipticRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiCreateEllipticRgn PROC STDCALL
mov r10 , rcx
mov eax , 4411
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateEllipticRgn ENDP
; ULONG64 __stdcall NtGdiCreateHatchBrushInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiCreateHatchBrushInternal PROC STDCALL
mov r10 , rcx
mov eax , 4412
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateHatchBrushInternal ENDP
; ULONG64 __stdcall NtGdiCreateMetafileDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiCreateMetafileDC PROC STDCALL
mov r10 , rcx
mov eax , 4413
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateMetafileDC ENDP
; ULONG64 __stdcall NtGdiCreateOPMProtectedOutputs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiCreateOPMProtectedOutputs PROC STDCALL
mov r10 , rcx
mov eax , 4414
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateOPMProtectedOutputs ENDP
; ULONG64 __stdcall NtGdiCreateRoundRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiCreateRoundRectRgn PROC STDCALL
mov r10 , rcx
mov eax , 4415
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateRoundRectRgn ENDP
; ULONG64 __stdcall NtGdiCreateServerMetaFile( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiCreateServerMetaFile PROC STDCALL
mov r10 , rcx
mov eax , 4416
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiCreateServerMetaFile ENDP
; ULONG64 __stdcall NtGdiD3dContextCreate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiD3dContextCreate PROC STDCALL
mov r10 , rcx
mov eax , 4417
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiD3dContextCreate ENDP
; ULONG64 __stdcall NtGdiD3dContextDestroy( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiD3dContextDestroy PROC STDCALL
mov r10 , rcx
mov eax , 4418
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiD3dContextDestroy ENDP
; ULONG64 __stdcall NtGdiD3dContextDestroyAll( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiD3dContextDestroyAll PROC STDCALL
mov r10 , rcx
mov eax , 4419
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiD3dContextDestroyAll ENDP
; ULONG64 __stdcall NtGdiD3dValidateTextureStageState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiD3dValidateTextureStageState PROC STDCALL
mov r10 , rcx
mov eax , 4420
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiD3dValidateTextureStageState ENDP
; ULONG64 __stdcall NtGdiDDCCIGetCapabilitiesString( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetCapabilitiesString PROC STDCALL
mov r10 , rcx
mov eax , 4421
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetCapabilitiesString ENDP
; ULONG64 __stdcall NtGdiDDCCIGetCapabilitiesStringLength( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetCapabilitiesStringLength PROC STDCALL
mov r10 , rcx
mov eax , 4422
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetCapabilitiesStringLength ENDP
; ULONG64 __stdcall NtGdiDDCCIGetTimingReport( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetTimingReport PROC STDCALL
mov r10 , rcx
mov eax , 4423
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetTimingReport ENDP
; ULONG64 __stdcall NtGdiDDCCIGetVCPFeature( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetVCPFeature PROC STDCALL
mov r10 , rcx
mov eax , 4424
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCIGetVCPFeature ENDP
; ULONG64 __stdcall NtGdiDDCCISaveCurrentSettings( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDDCCISaveCurrentSettings PROC STDCALL
mov r10 , rcx
mov eax , 4425
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCISaveCurrentSettings ENDP
; ULONG64 __stdcall NtGdiDDCCISetVCPFeature( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDDCCISetVCPFeature PROC STDCALL
mov r10 , rcx
mov eax , 4426
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDDCCISetVCPFeature ENDP
; ULONG64 __stdcall NtGdiDdAddAttachedSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdAddAttachedSurface PROC STDCALL
mov r10 , rcx
mov eax , 4427
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdAddAttachedSurface ENDP
; ULONG64 __stdcall NtGdiDdAlphaBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdAlphaBlt PROC STDCALL
mov r10 , rcx
mov eax , 4428
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdAlphaBlt ENDP
; ULONG64 __stdcall NtGdiDdAttachSurface( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdAttachSurface PROC STDCALL
mov r10 , rcx
mov eax , 4429
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdAttachSurface ENDP
; ULONG64 __stdcall NtGdiDdBeginMoCompFrame( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdBeginMoCompFrame PROC STDCALL
mov r10 , rcx
mov eax , 4430
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdBeginMoCompFrame ENDP
; ULONG64 __stdcall NtGdiDdCanCreateD3DBuffer( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdCanCreateD3DBuffer PROC STDCALL
mov r10 , rcx
mov eax , 4431
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCanCreateD3DBuffer ENDP
; ULONG64 __stdcall NtGdiDdColorControl( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdColorControl PROC STDCALL
mov r10 , rcx
mov eax , 4432
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdColorControl ENDP
; ULONG64 __stdcall NtGdiDdCreateD3DBuffer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateD3DBuffer PROC STDCALL
mov r10 , rcx
mov eax , 4433
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateD3DBuffer ENDP
; ULONG64 __stdcall NtGdiDdCreateDirectDrawObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateDirectDrawObject PROC STDCALL
mov r10 , rcx
mov eax , 4434
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateDirectDrawObject ENDP
; ULONG64 __stdcall NtGdiDdCreateFullscreenSprite( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateFullscreenSprite PROC STDCALL
mov r10 , rcx
mov eax , 4435
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateFullscreenSprite ENDP
; ULONG64 __stdcall NtGdiDdCreateMoComp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdCreateMoComp PROC STDCALL
mov r10 , rcx
mov eax , 4436
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdCreateMoComp ENDP
; ULONG64 __stdcall NtGdiDdDDIAcquireKeyedMutex( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIAcquireKeyedMutex PROC STDCALL
mov r10 , rcx
mov eax , 4437
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIAcquireKeyedMutex ENDP
; ULONG64 __stdcall NtGdiDdDDICheckExclusiveOwnership( );
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckExclusiveOwnership PROC STDCALL
mov r10 , rcx
mov eax , 4438
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckExclusiveOwnership ENDP
; ULONG64 __stdcall NtGdiDdDDICheckMonitorPowerState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckMonitorPowerState PROC STDCALL
mov r10 , rcx
mov eax , 4439
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckMonitorPowerState ENDP
; ULONG64 __stdcall NtGdiDdDDICheckOcclusion( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckOcclusion PROC STDCALL
mov r10 , rcx
mov eax , 4440
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckOcclusion ENDP
; ULONG64 __stdcall NtGdiDdDDICheckSharedResourceAccess( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckSharedResourceAccess PROC STDCALL
mov r10 , rcx
mov eax , 4441
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckSharedResourceAccess ENDP
; ULONG64 __stdcall NtGdiDdDDICheckVidPnExclusiveOwnership( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckVidPnExclusiveOwnership PROC STDCALL
mov r10 , rcx
mov eax , 4442
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICheckVidPnExclusiveOwnership ENDP
; ULONG64 __stdcall NtGdiDdDDICloseAdapter( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICloseAdapter PROC STDCALL
mov r10 , rcx
mov eax , 4443
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICloseAdapter ENDP
; ULONG64 __stdcall NtGdiDdDDIConfigureSharedResource( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIConfigureSharedResource PROC STDCALL
mov r10 , rcx
mov eax , 4444
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIConfigureSharedResource ENDP
; ULONG64 __stdcall NtGdiDdDDICreateAllocation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateAllocation PROC STDCALL
mov r10 , rcx
mov eax , 4445
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateAllocation ENDP
; ULONG64 __stdcall NtGdiDdDDICreateContext( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateContext PROC STDCALL
mov r10 , rcx
mov eax , 4446
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateContext ENDP
; ULONG64 __stdcall NtGdiDdDDICreateDCFromMemory( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateDCFromMemory PROC STDCALL
mov r10 , rcx
mov eax , 4447
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateDCFromMemory ENDP
; ULONG64 __stdcall NtGdiDdDDICreateDevice( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateDevice PROC STDCALL
mov r10 , rcx
mov eax , 4448
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateDevice ENDP
; ULONG64 __stdcall NtGdiDdDDICreateKeyedMutex( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateKeyedMutex PROC STDCALL
mov r10 , rcx
mov eax , 4449
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateKeyedMutex ENDP
; ULONG64 __stdcall NtGdiDdDDICreateOverlay( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateOverlay PROC STDCALL
mov r10 , rcx
mov eax , 4450
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateOverlay ENDP
; ULONG64 __stdcall NtGdiDdDDICreateSynchronizationObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateSynchronizationObject PROC STDCALL
mov r10 , rcx
mov eax , 4451
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDICreateSynchronizationObject ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyAllocation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyAllocation PROC STDCALL
mov r10 , rcx
mov eax , 4452
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyAllocation ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyContext( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyContext PROC STDCALL
mov r10 , rcx
mov eax , 4453
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyContext ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyDCFromMemory( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyDCFromMemory PROC STDCALL
mov r10 , rcx
mov eax , 4454
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyDCFromMemory ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyDevice( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyDevice PROC STDCALL
mov r10 , rcx
mov eax , 4455
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyDevice ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyKeyedMutex( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyKeyedMutex PROC STDCALL
mov r10 , rcx
mov eax , 4456
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyKeyedMutex ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroyOverlay( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyOverlay PROC STDCALL
mov r10 , rcx
mov eax , 4457
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroyOverlay ENDP
; ULONG64 __stdcall NtGdiDdDDIDestroySynchronizationObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroySynchronizationObject PROC STDCALL
mov r10 , rcx
mov eax , 4458
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIDestroySynchronizationObject ENDP
; ULONG64 __stdcall NtGdiDdDDIEscape( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIEscape PROC STDCALL
mov r10 , rcx
mov eax , 4459
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIEscape ENDP
; ULONG64 __stdcall NtGdiDdDDIFlipOverlay( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIFlipOverlay PROC STDCALL
mov r10 , rcx
mov eax , 4460
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIFlipOverlay ENDP
; ULONG64 __stdcall NtGdiDdDDIGetContextSchedulingPriority( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetContextSchedulingPriority PROC STDCALL
mov r10 , rcx
mov eax , 4461
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetContextSchedulingPriority ENDP
; ULONG64 __stdcall NtGdiDdDDIGetDeviceState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetDeviceState PROC STDCALL
mov r10 , rcx
mov eax , 4462
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetDeviceState ENDP
; ULONG64 __stdcall NtGdiDdDDIGetDisplayModeList( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetDisplayModeList PROC STDCALL
mov r10 , rcx
mov eax , 4463
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetDisplayModeList ENDP
; ULONG64 __stdcall NtGdiDdDDIGetMultisampleMethodList( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetMultisampleMethodList PROC STDCALL
mov r10 , rcx
mov eax , 4464
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetMultisampleMethodList ENDP
; ULONG64 __stdcall NtGdiDdDDIGetOverlayState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetOverlayState PROC STDCALL
mov r10 , rcx
mov eax , 4465
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetOverlayState ENDP
; ULONG64 __stdcall NtGdiDdDDIGetPresentHistory( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetPresentHistory PROC STDCALL
mov r10 , rcx
mov eax , 4466
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetPresentHistory ENDP
; ULONG64 __stdcall NtGdiDdDDIGetPresentQueueEvent( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetPresentQueueEvent PROC STDCALL
mov r10 , rcx
mov eax , 4467
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetPresentQueueEvent ENDP
; ULONG64 __stdcall NtGdiDdDDIGetProcessSchedulingPriorityClass( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetProcessSchedulingPriorityClass PROC STDCALL
mov r10 , rcx
mov eax , 4468
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetProcessSchedulingPriorityClass ENDP
; ULONG64 __stdcall NtGdiDdDDIGetRuntimeData( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetRuntimeData PROC STDCALL
mov r10 , rcx
mov eax , 4469
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetRuntimeData ENDP
; ULONG64 __stdcall NtGdiDdDDIGetScanLine( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetScanLine PROC STDCALL
mov r10 , rcx
mov eax , 4470
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetScanLine ENDP
; ULONG64 __stdcall NtGdiDdDDIGetSharedPrimaryHandle( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetSharedPrimaryHandle PROC STDCALL
mov r10 , rcx
mov eax , 4471
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIGetSharedPrimaryHandle ENDP
; ULONG64 __stdcall NtGdiDdDDIInvalidateActiveVidPn( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIInvalidateActiveVidPn PROC STDCALL
mov r10 , rcx
mov eax , 4472
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIInvalidateActiveVidPn ENDP
; ULONG64 __stdcall NtGdiDdDDILock( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDILock PROC STDCALL
mov r10 , rcx
mov eax , 4473
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDILock ENDP
; ULONG64 __stdcall NtGdiDdDDIOpenAdapterFromDeviceName( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenAdapterFromDeviceName PROC STDCALL
mov r10 , rcx
mov eax , 4474
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenAdapterFromDeviceName ENDP
; ULONG64 __stdcall NtGdiDdDDIOpenAdapterFromHdc( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenAdapterFromHdc PROC STDCALL
mov r10 , rcx
mov eax , 4475
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenAdapterFromHdc ENDP
; ULONG64 __stdcall NtGdiDdDDIOpenKeyedMutex( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenKeyedMutex PROC STDCALL
mov r10 , rcx
mov eax , 4476
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenKeyedMutex ENDP
; ULONG64 __stdcall NtGdiDdDDIOpenResource( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenResource PROC STDCALL
mov r10 , rcx
mov eax , 4477
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenResource ENDP
; ULONG64 __stdcall NtGdiDdDDIOpenSynchronizationObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenSynchronizationObject PROC STDCALL
mov r10 , rcx
mov eax , 4478
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIOpenSynchronizationObject ENDP
; ULONG64 __stdcall NtGdiDdDDIPollDisplayChildren( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIPollDisplayChildren PROC STDCALL
mov r10 , rcx
mov eax , 4479
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIPollDisplayChildren ENDP
; ULONG64 __stdcall NtGdiDdDDIPresent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIPresent PROC STDCALL
mov r10 , rcx
mov eax , 4480
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIPresent ENDP
; ULONG64 __stdcall NtGdiDdDDIQueryAdapterInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryAdapterInfo PROC STDCALL
mov r10 , rcx
mov eax , 4481
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryAdapterInfo ENDP
; ULONG64 __stdcall NtGdiDdDDIQueryAllocationResidency( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryAllocationResidency PROC STDCALL
mov r10 , rcx
mov eax , 4482
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryAllocationResidency ENDP
; ULONG64 __stdcall NtGdiDdDDIQueryResourceInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryResourceInfo PROC STDCALL
mov r10 , rcx
mov eax , 4483
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryResourceInfo ENDP
; ULONG64 __stdcall NtGdiDdDDIQueryStatistics( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryStatistics PROC STDCALL
mov r10 , rcx
mov eax , 4484
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIQueryStatistics ENDP
; ULONG64 __stdcall NtGdiDdDDIReleaseKeyedMutex( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIReleaseKeyedMutex PROC STDCALL
mov r10 , rcx
mov eax , 4485
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIReleaseKeyedMutex ENDP
; ULONG64 __stdcall NtGdiDdDDIReleaseProcessVidPnSourceOwners( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIReleaseProcessVidPnSourceOwners PROC STDCALL
mov r10 , rcx
mov eax , 4486
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIReleaseProcessVidPnSourceOwners ENDP
; ULONG64 __stdcall NtGdiDdDDIRender( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIRender PROC STDCALL
mov r10 , rcx
mov eax , 4487
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIRender ENDP
; ULONG64 __stdcall NtGdiDdDDISetAllocationPriority( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetAllocationPriority PROC STDCALL
mov r10 , rcx
mov eax , 4488
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetAllocationPriority ENDP
; ULONG64 __stdcall NtGdiDdDDISetContextSchedulingPriority( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetContextSchedulingPriority PROC STDCALL
mov r10 , rcx
mov eax , 4489
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetContextSchedulingPriority ENDP
; ULONG64 __stdcall NtGdiDdDDISetDisplayMode( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetDisplayMode PROC STDCALL
mov r10 , rcx
mov eax , 4490
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetDisplayMode ENDP
; ULONG64 __stdcall NtGdiDdDDISetDisplayPrivateDriverFormat( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetDisplayPrivateDriverFormat PROC STDCALL
mov r10 , rcx
mov eax , 4491
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetDisplayPrivateDriverFormat ENDP
; ULONG64 __stdcall NtGdiDdDDISetGammaRamp( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetGammaRamp PROC STDCALL
mov r10 , rcx
mov eax , 4492
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetGammaRamp ENDP
; ULONG64 __stdcall NtGdiDdDDISetProcessSchedulingPriorityClass( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetProcessSchedulingPriorityClass PROC STDCALL
mov r10 , rcx
mov eax , 4493
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetProcessSchedulingPriorityClass ENDP
; ULONG64 __stdcall NtGdiDdDDISetQueuedLimit( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetQueuedLimit PROC STDCALL
mov r10 , rcx
mov eax , 4494
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetQueuedLimit ENDP
; ULONG64 __stdcall NtGdiDdDDISetVidPnSourceOwner( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISetVidPnSourceOwner PROC STDCALL
mov r10 , rcx
mov eax , 4495
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISetVidPnSourceOwner ENDP
; ULONG64 __stdcall NtGdiDdDDISharedPrimaryLockNotification( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISharedPrimaryLockNotification PROC STDCALL
mov r10 , rcx
mov eax , 4496
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISharedPrimaryLockNotification ENDP
; ULONG64 __stdcall NtGdiDdDDISharedPrimaryUnLockNotification( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISharedPrimaryUnLockNotification PROC STDCALL
mov r10 , rcx
mov eax , 4497
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISharedPrimaryUnLockNotification ENDP
; ULONG64 __stdcall NtGdiDdDDISignalSynchronizationObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDISignalSynchronizationObject PROC STDCALL
mov r10 , rcx
mov eax , 4498
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDISignalSynchronizationObject ENDP
; ULONG64 __stdcall NtGdiDdDDIUnlock( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIUnlock PROC STDCALL
mov r10 , rcx
mov eax , 4499
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIUnlock ENDP
; ULONG64 __stdcall NtGdiDdDDIUpdateOverlay( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIUpdateOverlay PROC STDCALL
mov r10 , rcx
mov eax , 4500
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIUpdateOverlay ENDP
; ULONG64 __stdcall NtGdiDdDDIWaitForIdle( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForIdle PROC STDCALL
mov r10 , rcx
mov eax , 4501
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForIdle ENDP
; ULONG64 __stdcall NtGdiDdDDIWaitForSynchronizationObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForSynchronizationObject PROC STDCALL
mov r10 , rcx
mov eax , 4502
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForSynchronizationObject ENDP
; ULONG64 __stdcall NtGdiDdDDIWaitForVerticalBlankEvent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForVerticalBlankEvent PROC STDCALL
mov r10 , rcx
mov eax , 4503
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDDIWaitForVerticalBlankEvent ENDP
; ULONG64 __stdcall NtGdiDdDeleteDirectDrawObject( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDeleteDirectDrawObject PROC STDCALL
mov r10 , rcx
mov eax , 4504
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDeleteDirectDrawObject ENDP
; ULONG64 __stdcall NtGdiDdDestroyD3DBuffer( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdDestroyD3DBuffer PROC STDCALL
mov r10 , rcx
mov eax , 4505
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDestroyD3DBuffer ENDP
; ULONG64 __stdcall NtGdiDdDestroyFullscreenSprite( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDestroyFullscreenSprite PROC STDCALL
mov r10 , rcx
mov eax , 4506
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDestroyFullscreenSprite ENDP
; ULONG64 __stdcall NtGdiDdDestroyMoComp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdDestroyMoComp PROC STDCALL
mov r10 , rcx
mov eax , 4507
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdDestroyMoComp ENDP
; ULONG64 __stdcall NtGdiDdEndMoCompFrame( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdEndMoCompFrame PROC STDCALL
mov r10 , rcx
mov eax , 4508
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdEndMoCompFrame ENDP
; ULONG64 __stdcall NtGdiDdFlip( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiDdFlip PROC STDCALL
mov r10 , rcx
mov eax , 4509
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdFlip ENDP
; ULONG64 __stdcall NtGdiDdFlipToGDISurface( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdFlipToGDISurface PROC STDCALL
mov r10 , rcx
mov eax , 4510
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdFlipToGDISurface ENDP
; ULONG64 __stdcall NtGdiDdGetAvailDriverMemory( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetAvailDriverMemory PROC STDCALL
mov r10 , rcx
mov eax , 4511
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetAvailDriverMemory ENDP
; ULONG64 __stdcall NtGdiDdGetBltStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetBltStatus PROC STDCALL
mov r10 , rcx
mov eax , 4512
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetBltStatus ENDP
; ULONG64 __stdcall NtGdiDdGetDC( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetDC PROC STDCALL
mov r10 , rcx
mov eax , 4513
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetDC ENDP
; ULONG64 __stdcall NtGdiDdGetDriverInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetDriverInfo PROC STDCALL
mov r10 , rcx
mov eax , 4514
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetDriverInfo ENDP
; ULONG64 __stdcall NtGdiDdGetDriverState( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdGetDriverState PROC STDCALL
mov r10 , rcx
mov eax , 4515
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetDriverState ENDP
; ULONG64 __stdcall NtGdiDdGetDxHandle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdGetDxHandle PROC STDCALL
mov r10 , rcx
mov eax , 4516
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetDxHandle ENDP
; ULONG64 __stdcall NtGdiDdGetFlipStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetFlipStatus PROC STDCALL
mov r10 , rcx
mov eax , 4517
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetFlipStatus ENDP
; ULONG64 __stdcall NtGdiDdGetInternalMoCompInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetInternalMoCompInfo PROC STDCALL
mov r10 , rcx
mov eax , 4518
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetInternalMoCompInfo ENDP
; ULONG64 __stdcall NtGdiDdGetMoCompBuffInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompBuffInfo PROC STDCALL
mov r10 , rcx
mov eax , 4519
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompBuffInfo ENDP
; ULONG64 __stdcall NtGdiDdGetMoCompFormats( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompFormats PROC STDCALL
mov r10 , rcx
mov eax , 4520
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompFormats ENDP
; ULONG64 __stdcall NtGdiDdGetMoCompGuids( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompGuids PROC STDCALL
mov r10 , rcx
mov eax , 4521
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetMoCompGuids ENDP
; ULONG64 __stdcall NtGdiDdGetScanLine( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdGetScanLine PROC STDCALL
mov r10 , rcx
mov eax , 4522
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdGetScanLine ENDP
; ULONG64 __stdcall NtGdiDdLock( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdLock PROC STDCALL
mov r10 , rcx
mov eax , 4523
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdLock ENDP
; ULONG64 __stdcall NtGdiDdNotifyFullscreenSpriteUpdate( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdNotifyFullscreenSpriteUpdate PROC STDCALL
mov r10 , rcx
mov eax , 4524
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdNotifyFullscreenSpriteUpdate ENDP
; ULONG64 __stdcall NtGdiDdQueryDirectDrawObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiDdQueryDirectDrawObject PROC STDCALL
mov r10 , rcx
mov eax , 4525
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdQueryDirectDrawObject ENDP
; ULONG64 __stdcall NtGdiDdQueryMoCompStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdQueryMoCompStatus PROC STDCALL
mov r10 , rcx
mov eax , 4526
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdQueryMoCompStatus ENDP
; ULONG64 __stdcall NtGdiDdQueryVisRgnUniqueness( );
_6_1_7600_sp0_windows_7_NtGdiDdQueryVisRgnUniqueness PROC STDCALL
mov r10 , rcx
mov eax , 4527
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdQueryVisRgnUniqueness ENDP
; ULONG64 __stdcall NtGdiDdReenableDirectDrawObject( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdReenableDirectDrawObject PROC STDCALL
mov r10 , rcx
mov eax , 4528
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdReenableDirectDrawObject ENDP
; ULONG64 __stdcall NtGdiDdReleaseDC( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDdReleaseDC PROC STDCALL
mov r10 , rcx
mov eax , 4529
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdReleaseDC ENDP
; ULONG64 __stdcall NtGdiDdRenderMoComp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdRenderMoComp PROC STDCALL
mov r10 , rcx
mov eax , 4530
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdRenderMoComp ENDP
; ULONG64 __stdcall NtGdiDdSetColorKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdSetColorKey PROC STDCALL
mov r10 , rcx
mov eax , 4531
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdSetColorKey ENDP
; ULONG64 __stdcall NtGdiDdSetExclusiveMode( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdSetExclusiveMode PROC STDCALL
mov r10 , rcx
mov eax , 4532
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdSetExclusiveMode ENDP
; ULONG64 __stdcall NtGdiDdSetGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdSetGammaRamp PROC STDCALL
mov r10 , rcx
mov eax , 4533
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdSetGammaRamp ENDP
; ULONG64 __stdcall NtGdiDdSetOverlayPosition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdSetOverlayPosition PROC STDCALL
mov r10 , rcx
mov eax , 4534
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdSetOverlayPosition ENDP
; ULONG64 __stdcall NtGdiDdUnattachSurface( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdUnattachSurface PROC STDCALL
mov r10 , rcx
mov eax , 4535
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdUnattachSurface ENDP
; ULONG64 __stdcall NtGdiDdUnlock( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdUnlock PROC STDCALL
mov r10 , rcx
mov eax , 4536
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdUnlock ENDP
; ULONG64 __stdcall NtGdiDdUpdateOverlay( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDdUpdateOverlay PROC STDCALL
mov r10 , rcx
mov eax , 4537
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdUpdateOverlay ENDP
; ULONG64 __stdcall NtGdiDdWaitForVerticalBlank( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDdWaitForVerticalBlank PROC STDCALL
mov r10 , rcx
mov eax , 4538
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDdWaitForVerticalBlank ENDP
; ULONG64 __stdcall NtGdiDeleteColorTransform( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDeleteColorTransform PROC STDCALL
mov r10 , rcx
mov eax , 4539
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDeleteColorTransform ENDP
; ULONG64 __stdcall NtGdiDescribePixelFormat( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDescribePixelFormat PROC STDCALL
mov r10 , rcx
mov eax , 4540
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDescribePixelFormat ENDP
; ULONG64 __stdcall NtGdiDestroyOPMProtectedOutput( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDestroyOPMProtectedOutput PROC STDCALL
mov r10 , rcx
mov eax , 4541
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDestroyOPMProtectedOutput ENDP
; ULONG64 __stdcall NtGdiDestroyPhysicalMonitor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiDestroyPhysicalMonitor PROC STDCALL
mov r10 , rcx
mov eax , 4542
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDestroyPhysicalMonitor ENDP
; ULONG64 __stdcall NtGdiDoBanding( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDoBanding PROC STDCALL
mov r10 , rcx
mov eax , 4543
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDoBanding ENDP
; ULONG64 __stdcall NtGdiDrawEscape( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDrawEscape PROC STDCALL
mov r10 , rcx
mov eax , 4544
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDrawEscape ENDP
; ULONG64 __stdcall NtGdiDvpAcquireNotification( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiDvpAcquireNotification PROC STDCALL
mov r10 , rcx
mov eax , 4545
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpAcquireNotification ENDP
; ULONG64 __stdcall NtGdiDvpCanCreateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpCanCreateVideoPort PROC STDCALL
mov r10 , rcx
mov eax , 4546
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpCanCreateVideoPort ENDP
; ULONG64 __stdcall NtGdiDvpColorControl( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpColorControl PROC STDCALL
mov r10 , rcx
mov eax , 4547
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpColorControl ENDP
; ULONG64 __stdcall NtGdiDvpCreateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpCreateVideoPort PROC STDCALL
mov r10 , rcx
mov eax , 4548
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpCreateVideoPort ENDP
; ULONG64 __stdcall NtGdiDvpDestroyVideoPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpDestroyVideoPort PROC STDCALL
mov r10 , rcx
mov eax , 4549
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpDestroyVideoPort ENDP
; ULONG64 __stdcall NtGdiDvpFlipVideoPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDvpFlipVideoPort PROC STDCALL
mov r10 , rcx
mov eax , 4550
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpFlipVideoPort ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortBandwidth( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortBandwidth PROC STDCALL
mov r10 , rcx
mov eax , 4551
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortBandwidth ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortConnectInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortConnectInfo PROC STDCALL
mov r10 , rcx
mov eax , 4552
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortConnectInfo ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortField( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortField PROC STDCALL
mov r10 , rcx
mov eax , 4553
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortField ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortFlipStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortFlipStatus PROC STDCALL
mov r10 , rcx
mov eax , 4554
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortFlipStatus ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortInputFormats( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortInputFormats PROC STDCALL
mov r10 , rcx
mov eax , 4555
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortInputFormats ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortLine( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortLine PROC STDCALL
mov r10 , rcx
mov eax , 4556
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortLine ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoPortOutputFormats( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortOutputFormats PROC STDCALL
mov r10 , rcx
mov eax , 4557
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoPortOutputFormats ENDP
; ULONG64 __stdcall NtGdiDvpGetVideoSignalStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoSignalStatus PROC STDCALL
mov r10 , rcx
mov eax , 4558
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpGetVideoSignalStatus ENDP
; ULONG64 __stdcall NtGdiDvpReleaseNotification( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpReleaseNotification PROC STDCALL
mov r10 , rcx
mov eax , 4559
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpReleaseNotification ENDP
; ULONG64 __stdcall NtGdiDvpUpdateVideoPort( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiDvpUpdateVideoPort PROC STDCALL
mov r10 , rcx
mov eax , 4560
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpUpdateVideoPort ENDP
; ULONG64 __stdcall NtGdiDvpWaitForVideoPortSync( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiDvpWaitForVideoPortSync PROC STDCALL
mov r10 , rcx
mov eax , 4561
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDvpWaitForVideoPortSync ENDP
; ULONG64 __stdcall NtGdiDxgGenericThunk( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiDxgGenericThunk PROC STDCALL
mov r10 , rcx
mov eax , 4562
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiDxgGenericThunk ENDP
; ULONG64 __stdcall NtGdiEllipse( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiEllipse PROC STDCALL
mov r10 , rcx
mov eax , 4563
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEllipse ENDP
; ULONG64 __stdcall NtGdiEnableEudc( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEnableEudc PROC STDCALL
mov r10 , rcx
mov eax , 4564
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEnableEudc ENDP
; ULONG64 __stdcall NtGdiEndDoc( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEndDoc PROC STDCALL
mov r10 , rcx
mov eax , 4565
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEndDoc ENDP
; ULONG64 __stdcall NtGdiEndGdiRendering( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiEndGdiRendering PROC STDCALL
mov r10 , rcx
mov eax , 4566
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEndGdiRendering ENDP
; ULONG64 __stdcall NtGdiEndPage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEndPage PROC STDCALL
mov r10 , rcx
mov eax , 4567
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEndPage ENDP
; ULONG64 __stdcall NtGdiEngAlphaBlend( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiEngAlphaBlend PROC STDCALL
mov r10 , rcx
mov eax , 4568
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngAlphaBlend ENDP
; ULONG64 __stdcall NtGdiEngAssociateSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiEngAssociateSurface PROC STDCALL
mov r10 , rcx
mov eax , 4569
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngAssociateSurface ENDP
; ULONG64 __stdcall NtGdiEngBitBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiEngBitBlt PROC STDCALL
mov r10 , rcx
mov eax , 4570
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngBitBlt ENDP
; ULONG64 __stdcall NtGdiEngCheckAbort( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngCheckAbort PROC STDCALL
mov r10 , rcx
mov eax , 4571
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCheckAbort ENDP
; ULONG64 __stdcall NtGdiEngComputeGlyphSet( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiEngComputeGlyphSet PROC STDCALL
mov r10 , rcx
mov eax , 4572
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngComputeGlyphSet ENDP
; ULONG64 __stdcall NtGdiEngCopyBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiEngCopyBits PROC STDCALL
mov r10 , rcx
mov eax , 4573
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCopyBits ENDP
; ULONG64 __stdcall NtGdiEngCreateBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiEngCreateBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4574
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCreateBitmap ENDP
; ULONG64 __stdcall NtGdiEngCreateClip( );
_6_1_7600_sp0_windows_7_NtGdiEngCreateClip PROC STDCALL
mov r10 , rcx
mov eax , 4575
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCreateClip ENDP
; ULONG64 __stdcall NtGdiEngCreateDeviceBitmap( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiEngCreateDeviceBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4576
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCreateDeviceBitmap ENDP
; ULONG64 __stdcall NtGdiEngCreateDeviceSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiEngCreateDeviceSurface PROC STDCALL
mov r10 , rcx
mov eax , 4577
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCreateDeviceSurface ENDP
; ULONG64 __stdcall NtGdiEngCreatePalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiEngCreatePalette PROC STDCALL
mov r10 , rcx
mov eax , 4578
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngCreatePalette ENDP
; ULONG64 __stdcall NtGdiEngDeleteClip( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngDeleteClip PROC STDCALL
mov r10 , rcx
mov eax , 4579
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngDeleteClip ENDP
; ULONG64 __stdcall NtGdiEngDeletePalette( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngDeletePalette PROC STDCALL
mov r10 , rcx
mov eax , 4580
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngDeletePalette ENDP
; ULONG64 __stdcall NtGdiEngDeletePath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngDeletePath PROC STDCALL
mov r10 , rcx
mov eax , 4581
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngDeletePath ENDP
; ULONG64 __stdcall NtGdiEngDeleteSurface( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngDeleteSurface PROC STDCALL
mov r10 , rcx
mov eax , 4582
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngDeleteSurface ENDP
; ULONG64 __stdcall NtGdiEngEraseSurface( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiEngEraseSurface PROC STDCALL
mov r10 , rcx
mov eax , 4583
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngEraseSurface ENDP
; ULONG64 __stdcall NtGdiEngFillPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiEngFillPath PROC STDCALL
mov r10 , rcx
mov eax , 4584
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngFillPath ENDP
; ULONG64 __stdcall NtGdiEngGradientFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtGdiEngGradientFill PROC STDCALL
mov r10 , rcx
mov eax , 4585
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngGradientFill ENDP
; ULONG64 __stdcall NtGdiEngLineTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 );
_6_1_7600_sp0_windows_7_NtGdiEngLineTo PROC STDCALL
mov r10 , rcx
mov eax , 4586
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngLineTo ENDP
; ULONG64 __stdcall NtGdiEngLockSurface( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngLockSurface PROC STDCALL
mov r10 , rcx
mov eax , 4587
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngLockSurface ENDP
; ULONG64 __stdcall NtGdiEngMarkBandingSurface( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngMarkBandingSurface PROC STDCALL
mov r10 , rcx
mov eax , 4588
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngMarkBandingSurface ENDP
; ULONG64 __stdcall NtGdiEngPaint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiEngPaint PROC STDCALL
mov r10 , rcx
mov eax , 4589
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngPaint ENDP
; ULONG64 __stdcall NtGdiEngPlgBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiEngPlgBlt PROC STDCALL
mov r10 , rcx
mov eax , 4590
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngPlgBlt ENDP
; ULONG64 __stdcall NtGdiEngStretchBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiEngStretchBlt PROC STDCALL
mov r10 , rcx
mov eax , 4591
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngStretchBlt ENDP
; ULONG64 __stdcall NtGdiEngStretchBltROP( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 , ULONG64 arg_13 );
_6_1_7600_sp0_windows_7_NtGdiEngStretchBltROP PROC STDCALL
mov r10 , rcx
mov eax , 4592
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngStretchBltROP ENDP
; ULONG64 __stdcall NtGdiEngStrokeAndFillPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtGdiEngStrokeAndFillPath PROC STDCALL
mov r10 , rcx
mov eax , 4593
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngStrokeAndFillPath ENDP
; ULONG64 __stdcall NtGdiEngStrokePath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiEngStrokePath PROC STDCALL
mov r10 , rcx
mov eax , 4594
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngStrokePath ENDP
; ULONG64 __stdcall NtGdiEngTextOut( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtGdiEngTextOut PROC STDCALL
mov r10 , rcx
mov eax , 4595
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngTextOut ENDP
; ULONG64 __stdcall NtGdiEngTransparentBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiEngTransparentBlt PROC STDCALL
mov r10 , rcx
mov eax , 4596
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngTransparentBlt ENDP
; ULONG64 __stdcall NtGdiEngUnlockSurface( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiEngUnlockSurface PROC STDCALL
mov r10 , rcx
mov eax , 4597
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEngUnlockSurface ENDP
; ULONG64 __stdcall NtGdiEnumFonts( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiEnumFonts PROC STDCALL
mov r10 , rcx
mov eax , 4598
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEnumFonts ENDP
; ULONG64 __stdcall NtGdiEnumObjects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiEnumObjects PROC STDCALL
mov r10 , rcx
mov eax , 4599
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEnumObjects ENDP
; ULONG64 __stdcall NtGdiEudcLoadUnloadLink( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiEudcLoadUnloadLink PROC STDCALL
mov r10 , rcx
mov eax , 4600
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiEudcLoadUnloadLink ENDP
; ULONG64 __stdcall NtGdiExtFloodFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiExtFloodFill PROC STDCALL
mov r10 , rcx
mov eax , 4601
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiExtFloodFill ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_cGetAllGlyphHandles( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_cGetAllGlyphHandles PROC STDCALL
mov r10 , rcx
mov eax , 4602
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_cGetAllGlyphHandles ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_cGetGlyphs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_cGetGlyphs PROC STDCALL
mov r10 , rcx
mov eax , 4603
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_cGetGlyphs ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_pQueryGlyphAttrs( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pQueryGlyphAttrs PROC STDCALL
mov r10 , rcx
mov eax , 4604
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pQueryGlyphAttrs ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_pfdg( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pfdg PROC STDCALL
mov r10 , rcx
mov eax , 4605
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pfdg ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_pifi( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pifi PROC STDCALL
mov r10 , rcx
mov eax , 4606
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pifi ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_pvTrueTypeFontFile( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pvTrueTypeFontFile PROC STDCALL
mov r10 , rcx
mov eax , 4607
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pvTrueTypeFontFile ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_pxoGetXform( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pxoGetXform PROC STDCALL
mov r10 , rcx
mov eax , 4608
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_pxoGetXform ENDP
; ULONG64 __stdcall NtGdiFONTOBJ_vGetInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_vGetInfo PROC STDCALL
mov r10 , rcx
mov eax , 4609
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFONTOBJ_vGetInfo ENDP
; ULONG64 __stdcall NtGdiFlattenPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFlattenPath PROC STDCALL
mov r10 , rcx
mov eax , 4610
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFlattenPath ENDP
; ULONG64 __stdcall NtGdiFontIsLinked( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiFontIsLinked PROC STDCALL
mov r10 , rcx
mov eax , 4611
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFontIsLinked ENDP
; ULONG64 __stdcall NtGdiForceUFIMapping( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiForceUFIMapping PROC STDCALL
mov r10 , rcx
mov eax , 4612
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiForceUFIMapping ENDP
; ULONG64 __stdcall NtGdiFrameRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiFrameRgn PROC STDCALL
mov r10 , rcx
mov eax , 4613
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFrameRgn ENDP
; ULONG64 __stdcall NtGdiFullscreenControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiFullscreenControl PROC STDCALL
mov r10 , rcx
mov eax , 4614
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiFullscreenControl ENDP
; ULONG64 __stdcall NtGdiGetBoundsRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetBoundsRect PROC STDCALL
mov r10 , rcx
mov eax , 4615
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetBoundsRect ENDP
; ULONG64 __stdcall NtGdiGetCOPPCompatibleOPMInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetCOPPCompatibleOPMInformation PROC STDCALL
mov r10 , rcx
mov eax , 4616
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCOPPCompatibleOPMInformation ENDP
; ULONG64 __stdcall NtGdiGetCertificate( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetCertificate PROC STDCALL
mov r10 , rcx
mov eax , 4617
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCertificate ENDP
; ULONG64 __stdcall NtGdiGetCertificateSize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetCertificateSize PROC STDCALL
mov r10 , rcx
mov eax , 4618
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCertificateSize ENDP
; ULONG64 __stdcall NtGdiGetCharABCWidthsW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGetCharABCWidthsW PROC STDCALL
mov r10 , rcx
mov eax , 4619
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCharABCWidthsW ENDP
; ULONG64 __stdcall NtGdiGetCharacterPlacementW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGetCharacterPlacementW PROC STDCALL
mov r10 , rcx
mov eax , 4620
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetCharacterPlacementW ENDP
; ULONG64 __stdcall NtGdiGetColorAdjustment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetColorAdjustment PROC STDCALL
mov r10 , rcx
mov eax , 4621
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetColorAdjustment ENDP
; ULONG64 __stdcall NtGdiGetColorSpaceforBitmap( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetColorSpaceforBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4622
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetColorSpaceforBitmap ENDP
; ULONG64 __stdcall NtGdiGetDeviceCaps( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetDeviceCaps PROC STDCALL
mov r10 , rcx
mov eax , 4623
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDeviceCaps ENDP
; ULONG64 __stdcall NtGdiGetDeviceCapsAll( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetDeviceCapsAll PROC STDCALL
mov r10 , rcx
mov eax , 4624
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDeviceCapsAll ENDP
; ULONG64 __stdcall NtGdiGetDeviceGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetDeviceGammaRamp PROC STDCALL
mov r10 , rcx
mov eax , 4625
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDeviceGammaRamp ENDP
; ULONG64 __stdcall NtGdiGetDeviceWidth( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetDeviceWidth PROC STDCALL
mov r10 , rcx
mov eax , 4626
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDeviceWidth ENDP
; ULONG64 __stdcall NtGdiGetDhpdev( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiGetDhpdev PROC STDCALL
mov r10 , rcx
mov eax , 4627
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetDhpdev ENDP
; ULONG64 __stdcall NtGdiGetETM( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetETM PROC STDCALL
mov r10 , rcx
mov eax , 4628
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetETM ENDP
; ULONG64 __stdcall NtGdiGetEmbUFI( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiGetEmbUFI PROC STDCALL
mov r10 , rcx
mov eax , 4629
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetEmbUFI ENDP
; ULONG64 __stdcall NtGdiGetEmbedFonts( );
_6_1_7600_sp0_windows_7_NtGdiGetEmbedFonts PROC STDCALL
mov r10 , rcx
mov eax , 4630
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetEmbedFonts ENDP
; ULONG64 __stdcall NtGdiGetEudcTimeStampEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetEudcTimeStampEx PROC STDCALL
mov r10 , rcx
mov eax , 4631
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetEudcTimeStampEx ENDP
; ULONG64 __stdcall NtGdiGetFontFileData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetFontFileData PROC STDCALL
mov r10 , rcx
mov eax , 4632
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetFontFileData ENDP
; ULONG64 __stdcall NtGdiGetFontFileInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetFontFileInfo PROC STDCALL
mov r10 , rcx
mov eax , 4633
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetFontFileInfo ENDP
; ULONG64 __stdcall NtGdiGetFontResourceInfoInternalW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiGetFontResourceInfoInternalW PROC STDCALL
mov r10 , rcx
mov eax , 4634
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetFontResourceInfoInternalW ENDP
; ULONG64 __stdcall NtGdiGetFontUnicodeRanges( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetFontUnicodeRanges PROC STDCALL
mov r10 , rcx
mov eax , 4635
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetFontUnicodeRanges ENDP
; ULONG64 __stdcall NtGdiGetGlyphIndicesW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetGlyphIndicesW PROC STDCALL
mov r10 , rcx
mov eax , 4636
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetGlyphIndicesW ENDP
; ULONG64 __stdcall NtGdiGetGlyphIndicesWInternal( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGetGlyphIndicesWInternal PROC STDCALL
mov r10 , rcx
mov eax , 4637
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetGlyphIndicesWInternal ENDP
; ULONG64 __stdcall NtGdiGetGlyphOutline( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiGetGlyphOutline PROC STDCALL
mov r10 , rcx
mov eax , 4638
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetGlyphOutline ENDP
; ULONG64 __stdcall NtGdiGetKerningPairs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetKerningPairs PROC STDCALL
mov r10 , rcx
mov eax , 4639
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetKerningPairs ENDP
; ULONG64 __stdcall NtGdiGetLinkedUFIs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetLinkedUFIs PROC STDCALL
mov r10 , rcx
mov eax , 4640
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetLinkedUFIs ENDP
; ULONG64 __stdcall NtGdiGetMiterLimit( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetMiterLimit PROC STDCALL
mov r10 , rcx
mov eax , 4641
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetMiterLimit ENDP
; ULONG64 __stdcall NtGdiGetMonitorID( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetMonitorID PROC STDCALL
mov r10 , rcx
mov eax , 4642
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetMonitorID ENDP
; ULONG64 __stdcall NtGdiGetNumberOfPhysicalMonitors( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetNumberOfPhysicalMonitors PROC STDCALL
mov r10 , rcx
mov eax , 4643
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetNumberOfPhysicalMonitors ENDP
; ULONG64 __stdcall NtGdiGetOPMInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetOPMInformation PROC STDCALL
mov r10 , rcx
mov eax , 4644
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetOPMInformation ENDP
; ULONG64 __stdcall NtGdiGetOPMRandomNumber( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetOPMRandomNumber PROC STDCALL
mov r10 , rcx
mov eax , 4645
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetOPMRandomNumber ENDP
; ULONG64 __stdcall NtGdiGetObjectBitmapHandle( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetObjectBitmapHandle PROC STDCALL
mov r10 , rcx
mov eax , 4646
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetObjectBitmapHandle ENDP
; ULONG64 __stdcall NtGdiGetPath( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetPath PROC STDCALL
mov r10 , rcx
mov eax , 4647
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetPath ENDP
; ULONG64 __stdcall NtGdiGetPerBandInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetPerBandInfo PROC STDCALL
mov r10 , rcx
mov eax , 4648
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetPerBandInfo ENDP
; ULONG64 __stdcall NtGdiGetPhysicalMonitorDescription( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiGetPhysicalMonitorDescription PROC STDCALL
mov r10 , rcx
mov eax , 4649
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetPhysicalMonitorDescription ENDP
; ULONG64 __stdcall NtGdiGetPhysicalMonitors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiGetPhysicalMonitors PROC STDCALL
mov r10 , rcx
mov eax , 4650
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetPhysicalMonitors ENDP
; ULONG64 __stdcall NtGdiGetRealizationInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetRealizationInfo PROC STDCALL
mov r10 , rcx
mov eax , 4651
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetRealizationInfo ENDP
; ULONG64 __stdcall NtGdiGetServerMetaFileBits( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiGetServerMetaFileBits PROC STDCALL
mov r10 , rcx
mov eax , 4652
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetServerMetaFileBits ENDP
; ULONG64 __stdcall DxgStubAlphaBlt( );
_6_1_7600_sp0_windows_7_DxgStubAlphaBlt PROC STDCALL
mov r10 , rcx
mov eax , 4653
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_DxgStubAlphaBlt ENDP
; ULONG64 __stdcall NtGdiGetStats( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetStats PROC STDCALL
mov r10 , rcx
mov eax , 4654
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetStats ENDP
; ULONG64 __stdcall NtGdiGetStringBitmapW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiGetStringBitmapW PROC STDCALL
mov r10 , rcx
mov eax , 4655
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetStringBitmapW ENDP
; ULONG64 __stdcall NtGdiGetSuggestedOPMProtectedOutputArraySize( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiGetSuggestedOPMProtectedOutputArraySize PROC STDCALL
mov r10 , rcx
mov eax , 4656
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetSuggestedOPMProtectedOutputArraySize ENDP
; ULONG64 __stdcall NtGdiGetTextExtentExW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiGetTextExtentExW PROC STDCALL
mov r10 , rcx
mov eax , 4657
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetTextExtentExW ENDP
; ULONG64 __stdcall NtGdiGetUFI( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGetUFI PROC STDCALL
mov r10 , rcx
mov eax , 4658
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetUFI ENDP
; ULONG64 __stdcall NtGdiGetUFIPathname( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtGdiGetUFIPathname PROC STDCALL
mov r10 , rcx
mov eax , 4659
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGetUFIPathname ENDP
; ULONG64 __stdcall NtGdiGradientFill( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiGradientFill PROC STDCALL
mov r10 , rcx
mov eax , 4660
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiGradientFill ENDP
; ULONG64 __stdcall NtGdiHLSurfGetInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiHLSurfGetInformation PROC STDCALL
mov r10 , rcx
mov eax , 4661
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiHLSurfGetInformation ENDP
; ULONG64 __stdcall NtGdiHLSurfSetInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiHLSurfSetInformation PROC STDCALL
mov r10 , rcx
mov eax , 4662
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiHLSurfSetInformation ENDP
; ULONG64 __stdcall NtGdiHT_Get8BPPFormatPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiHT_Get8BPPFormatPalette PROC STDCALL
mov r10 , rcx
mov eax , 4663
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiHT_Get8BPPFormatPalette ENDP
; ULONG64 __stdcall NtGdiHT_Get8BPPMaskPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiHT_Get8BPPMaskPalette PROC STDCALL
mov r10 , rcx
mov eax , 4664
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiHT_Get8BPPMaskPalette ENDP
; ULONG64 __stdcall NtGdiIcmBrushInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtGdiIcmBrushInfo PROC STDCALL
mov r10 , rcx
mov eax , 4665
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiIcmBrushInfo ENDP
; ULONG64 __stdcall EngRestoreFloatingPointState( );
_6_1_7600_sp0_windows_7_EngRestoreFloatingPointState PROC STDCALL
mov r10 , rcx
mov eax , 4666
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_EngRestoreFloatingPointState ENDP
; ULONG64 __stdcall NtGdiInitSpool( );
_6_1_7600_sp0_windows_7_NtGdiInitSpool PROC STDCALL
mov r10 , rcx
mov eax , 4667
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiInitSpool ENDP
; ULONG64 __stdcall NtGdiMakeFontDir( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiMakeFontDir PROC STDCALL
mov r10 , rcx
mov eax , 4668
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMakeFontDir ENDP
; ULONG64 __stdcall NtGdiMakeInfoDC( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiMakeInfoDC PROC STDCALL
mov r10 , rcx
mov eax , 4669
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMakeInfoDC ENDP
; ULONG64 __stdcall NtGdiMakeObjectUnXferable( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiMakeObjectUnXferable PROC STDCALL
mov r10 , rcx
mov eax , 4670
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMakeObjectUnXferable ENDP
; ULONG64 __stdcall NtGdiMakeObjectXferable( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiMakeObjectXferable PROC STDCALL
mov r10 , rcx
mov eax , 4671
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMakeObjectXferable ENDP
; ULONG64 __stdcall NtGdiMirrorWindowOrg( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiMirrorWindowOrg PROC STDCALL
mov r10 , rcx
mov eax , 4672
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMirrorWindowOrg ENDP
; ULONG64 __stdcall NtGdiMonoBitmap( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiMonoBitmap PROC STDCALL
mov r10 , rcx
mov eax , 4673
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMonoBitmap ENDP
; ULONG64 __stdcall NtGdiMoveTo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiMoveTo PROC STDCALL
mov r10 , rcx
mov eax , 4674
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiMoveTo ENDP
; ULONG64 __stdcall NtGdiOffsetClipRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiOffsetClipRgn PROC STDCALL
mov r10 , rcx
mov eax , 4675
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiOffsetClipRgn ENDP
; ULONG64 __stdcall NtGdiPATHOBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_bEnum PROC STDCALL
mov r10 , rcx
mov eax , 4676
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_bEnum ENDP
; ULONG64 __stdcall NtGdiPATHOBJ_bEnumClipLines( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_bEnumClipLines PROC STDCALL
mov r10 , rcx
mov eax , 4677
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_bEnumClipLines ENDP
; ULONG64 __stdcall NtGdiPATHOBJ_vEnumStart( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vEnumStart PROC STDCALL
mov r10 , rcx
mov eax , 4678
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vEnumStart ENDP
; ULONG64 __stdcall NtGdiPATHOBJ_vEnumStartClipLines( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vEnumStartClipLines PROC STDCALL
mov r10 , rcx
mov eax , 4679
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vEnumStartClipLines ENDP
; ULONG64 __stdcall NtGdiPATHOBJ_vGetBounds( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vGetBounds PROC STDCALL
mov r10 , rcx
mov eax , 4680
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPATHOBJ_vGetBounds ENDP
; ULONG64 __stdcall NtGdiPathToRegion( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiPathToRegion PROC STDCALL
mov r10 , rcx
mov eax , 4681
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPathToRegion ENDP
; ULONG64 __stdcall NtGdiPlgBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiPlgBlt PROC STDCALL
mov r10 , rcx
mov eax , 4682
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPlgBlt ENDP
; ULONG64 __stdcall NtGdiPolyDraw( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiPolyDraw PROC STDCALL
mov r10 , rcx
mov eax , 4683
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPolyDraw ENDP
; ULONG64 __stdcall NtGdiPolyTextOutW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiPolyTextOutW PROC STDCALL
mov r10 , rcx
mov eax , 4684
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPolyTextOutW ENDP
; ULONG64 __stdcall NtGdiPtInRegion( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiPtInRegion PROC STDCALL
mov r10 , rcx
mov eax , 4685
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPtInRegion ENDP
; ULONG64 __stdcall NtGdiPtVisible( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiPtVisible PROC STDCALL
mov r10 , rcx
mov eax , 4686
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiPtVisible ENDP
; ULONG64 __stdcall NtGdiQueryFonts( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiQueryFonts PROC STDCALL
mov r10 , rcx
mov eax , 4687
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiQueryFonts ENDP
; ULONG64 __stdcall NtGdiRemoveFontResourceW( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiRemoveFontResourceW PROC STDCALL
mov r10 , rcx
mov eax , 4688
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRemoveFontResourceW ENDP
; ULONG64 __stdcall NtGdiRemoveMergeFont( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiRemoveMergeFont PROC STDCALL
mov r10 , rcx
mov eax , 4689
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRemoveMergeFont ENDP
; ULONG64 __stdcall NtGdiResetDC( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiResetDC PROC STDCALL
mov r10 , rcx
mov eax , 4690
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiResetDC ENDP
; ULONG64 __stdcall NtGdiResizePalette( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiResizePalette PROC STDCALL
mov r10 , rcx
mov eax , 4691
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiResizePalette ENDP
; ULONG64 __stdcall NtGdiRoundRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtGdiRoundRect PROC STDCALL
mov r10 , rcx
mov eax , 4692
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiRoundRect ENDP
; ULONG64 __stdcall NtGdiSTROBJ_bEnum( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bEnum PROC STDCALL
mov r10 , rcx
mov eax , 4693
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bEnum ENDP
; ULONG64 __stdcall NtGdiSTROBJ_bEnumPositionsOnly( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bEnumPositionsOnly PROC STDCALL
mov r10 , rcx
mov eax , 4694
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bEnumPositionsOnly ENDP
; ULONG64 __stdcall NtGdiSTROBJ_bGetAdvanceWidths( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bGetAdvanceWidths PROC STDCALL
mov r10 , rcx
mov eax , 4695
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_bGetAdvanceWidths ENDP
; ULONG64 __stdcall NtGdiSTROBJ_dwGetCodePage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_dwGetCodePage PROC STDCALL
mov r10 , rcx
mov eax , 4696
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_dwGetCodePage ENDP
; ULONG64 __stdcall NtGdiSTROBJ_vEnumStart( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_vEnumStart PROC STDCALL
mov r10 , rcx
mov eax , 4697
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSTROBJ_vEnumStart ENDP
; ULONG64 __stdcall NtGdiScaleViewportExtEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiScaleViewportExtEx PROC STDCALL
mov r10 , rcx
mov eax , 4698
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiScaleViewportExtEx ENDP
; ULONG64 __stdcall NtGdiScaleWindowExtEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtGdiScaleWindowExtEx PROC STDCALL
mov r10 , rcx
mov eax , 4699
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiScaleWindowExtEx ENDP
; ULONG64 __stdcall NtGdiSelectBrush( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSelectBrush PROC STDCALL
mov r10 , rcx
mov eax , 4700
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSelectBrush ENDP
; ULONG64 __stdcall NtGdiSelectClipPath( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSelectClipPath PROC STDCALL
mov r10 , rcx
mov eax , 4701
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSelectClipPath ENDP
; ULONG64 __stdcall NtGdiSelectPen( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSelectPen PROC STDCALL
mov r10 , rcx
mov eax , 4702
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSelectPen ENDP
; ULONG64 __stdcall NtGdiSetBitmapAttributes( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetBitmapAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4703
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBitmapAttributes ENDP
; ULONG64 __stdcall NtGdiSetBrushAttributes( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetBrushAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4704
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetBrushAttributes ENDP
; ULONG64 __stdcall NtGdiSetColorAdjustment( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetColorAdjustment PROC STDCALL
mov r10 , rcx
mov eax , 4705
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetColorAdjustment ENDP
; ULONG64 __stdcall NtGdiSetColorSpace( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetColorSpace PROC STDCALL
mov r10 , rcx
mov eax , 4706
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetColorSpace ENDP
; ULONG64 __stdcall NtGdiSetDeviceGammaRamp( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetDeviceGammaRamp PROC STDCALL
mov r10 , rcx
mov eax , 4707
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetDeviceGammaRamp ENDP
; ULONG64 __stdcall NtGdiSetFontXform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetFontXform PROC STDCALL
mov r10 , rcx
mov eax , 4708
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetFontXform ENDP
; ULONG64 __stdcall NtGdiSetIcmMode( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetIcmMode PROC STDCALL
mov r10 , rcx
mov eax , 4709
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetIcmMode ENDP
; ULONG64 __stdcall NtGdiSetLinkedUFIs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetLinkedUFIs PROC STDCALL
mov r10 , rcx
mov eax , 4710
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetLinkedUFIs ENDP
; ULONG64 __stdcall NtGdiSetMagicColors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetMagicColors PROC STDCALL
mov r10 , rcx
mov eax , 4711
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetMagicColors ENDP
; ULONG64 __stdcall NtGdiSetOPMSigningKeyAndSequenceNumbers( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetOPMSigningKeyAndSequenceNumbers PROC STDCALL
mov r10 , rcx
mov eax , 4712
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetOPMSigningKeyAndSequenceNumbers ENDP
; ULONG64 __stdcall NtGdiSetPUMPDOBJ( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiSetPUMPDOBJ PROC STDCALL
mov r10 , rcx
mov eax , 4713
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetPUMPDOBJ ENDP
; ULONG64 __stdcall NtGdiSetPixelFormat( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetPixelFormat PROC STDCALL
mov r10 , rcx
mov eax , 4714
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetPixelFormat ENDP
; ULONG64 __stdcall NtGdiSetRectRgn( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiSetRectRgn PROC STDCALL
mov r10 , rcx
mov eax , 4715
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetRectRgn ENDP
; ULONG64 __stdcall NtGdiSetSizeDevice( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetSizeDevice PROC STDCALL
mov r10 , rcx
mov eax , 4716
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetSizeDevice ENDP
; ULONG64 __stdcall NtGdiSetSystemPaletteUse( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiSetSystemPaletteUse PROC STDCALL
mov r10 , rcx
mov eax , 4717
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetSystemPaletteUse ENDP
; ULONG64 __stdcall NtGdiSetTextJustification( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSetTextJustification PROC STDCALL
mov r10 , rcx
mov eax , 4718
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSetTextJustification ENDP
; ULONG64 __stdcall NtGdiSfmGetNotificationTokens( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtGdiSfmGetNotificationTokens PROC STDCALL
mov r10 , rcx
mov eax , 4719
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSfmGetNotificationTokens ENDP
; ULONG64 __stdcall NtGdiStartDoc( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiStartDoc PROC STDCALL
mov r10 , rcx
mov eax , 4720
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStartDoc ENDP
; ULONG64 __stdcall NtGdiStartPage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiStartPage PROC STDCALL
mov r10 , rcx
mov eax , 4721
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStartPage ENDP
; ULONG64 __stdcall NtGdiStrokeAndFillPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiStrokeAndFillPath PROC STDCALL
mov r10 , rcx
mov eax , 4722
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStrokeAndFillPath ENDP
; ULONG64 __stdcall NtGdiStrokePath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiStrokePath PROC STDCALL
mov r10 , rcx
mov eax , 4723
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiStrokePath ENDP
; ULONG64 __stdcall NtGdiSwapBuffers( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiSwapBuffers PROC STDCALL
mov r10 , rcx
mov eax , 4724
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiSwapBuffers ENDP
; ULONG64 __stdcall NtGdiTransparentBlt( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 );
_6_1_7600_sp0_windows_7_NtGdiTransparentBlt PROC STDCALL
mov r10 , rcx
mov eax , 4725
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiTransparentBlt ENDP
; ULONG64 __stdcall NtGdiUMPDEngFreeUserMem( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiUMPDEngFreeUserMem PROC STDCALL
mov r10 , rcx
mov eax , 4726
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiUMPDEngFreeUserMem ENDP
; ULONG64 __stdcall DxgStubAlphaBlt( );
_6_1_7600_sp0_windows_7_DxgStubAlphaBlt PROC STDCALL
mov r10 , rcx
mov eax , 4727
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_DxgStubAlphaBlt ENDP
; ULONG64 __stdcall EngRestoreFloatingPointState( );
_6_1_7600_sp0_windows_7_EngRestoreFloatingPointState PROC STDCALL
mov r10 , rcx
mov eax , 4728
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_EngRestoreFloatingPointState ENDP
; ULONG64 __stdcall NtGdiUpdateColors( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiUpdateColors PROC STDCALL
mov r10 , rcx
mov eax , 4729
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiUpdateColors ENDP
; ULONG64 __stdcall NtGdiUpdateTransform( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiUpdateTransform PROC STDCALL
mov r10 , rcx
mov eax , 4730
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiUpdateTransform ENDP
; ULONG64 __stdcall NtGdiWidenPath( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiWidenPath PROC STDCALL
mov r10 , rcx
mov eax , 4731
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiWidenPath ENDP
; ULONG64 __stdcall NtGdiXFORMOBJ_bApplyXform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtGdiXFORMOBJ_bApplyXform PROC STDCALL
mov r10 , rcx
mov eax , 4732
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiXFORMOBJ_bApplyXform ENDP
; ULONG64 __stdcall NtGdiXFORMOBJ_iGetXform( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiXFORMOBJ_iGetXform PROC STDCALL
mov r10 , rcx
mov eax , 4733
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiXFORMOBJ_iGetXform ENDP
; ULONG64 __stdcall NtGdiXLATEOBJ_cGetPalette( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_cGetPalette PROC STDCALL
mov r10 , rcx
mov eax , 4734
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_cGetPalette ENDP
; ULONG64 __stdcall NtGdiXLATEOBJ_hGetColorTransform( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_hGetColorTransform PROC STDCALL
mov r10 , rcx
mov eax , 4735
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_hGetColorTransform ENDP
; ULONG64 __stdcall NtGdiXLATEOBJ_iXlate( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_iXlate PROC STDCALL
mov r10 , rcx
mov eax , 4736
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtGdiXLATEOBJ_iXlate ENDP
; ULONG64 __stdcall NtUserAddClipboardFormatListener( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserAddClipboardFormatListener PROC STDCALL
mov r10 , rcx
mov eax , 4737
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserAddClipboardFormatListener ENDP
; ULONG64 __stdcall NtUserAssociateInputContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserAssociateInputContext PROC STDCALL
mov r10 , rcx
mov eax , 4738
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserAssociateInputContext ENDP
; ULONG64 __stdcall NtUserBlockInput( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserBlockInput PROC STDCALL
mov r10 , rcx
mov eax , 4739
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBlockInput ENDP
; ULONG64 __stdcall NtUserBuildHimcList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserBuildHimcList PROC STDCALL
mov r10 , rcx
mov eax , 4740
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBuildHimcList ENDP
; ULONG64 __stdcall NtUserBuildPropList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserBuildPropList PROC STDCALL
mov r10 , rcx
mov eax , 4741
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserBuildPropList ENDP
; ULONG64 __stdcall NtUserCalculatePopupWindowPosition( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserCalculatePopupWindowPosition PROC STDCALL
mov r10 , rcx
mov eax , 4742
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCalculatePopupWindowPosition ENDP
; ULONG64 __stdcall NtUserCallHwndOpt( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCallHwndOpt PROC STDCALL
mov r10 , rcx
mov eax , 4743
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCallHwndOpt ENDP
; ULONG64 __stdcall NtUserChangeDisplaySettings( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserChangeDisplaySettings PROC STDCALL
mov r10 , rcx
mov eax , 4744
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserChangeDisplaySettings ENDP
; ULONG64 __stdcall NtUserChangeWindowMessageFilterEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserChangeWindowMessageFilterEx PROC STDCALL
mov r10 , rcx
mov eax , 4745
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserChangeWindowMessageFilterEx ENDP
; ULONG64 __stdcall NtUserCheckAccessForIntegrityLevel( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCheckAccessForIntegrityLevel PROC STDCALL
mov r10 , rcx
mov eax , 4746
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCheckAccessForIntegrityLevel ENDP
; ULONG64 __stdcall NtUserCheckDesktopByThreadId( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserCheckDesktopByThreadId PROC STDCALL
mov r10 , rcx
mov eax , 4747
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCheckDesktopByThreadId ENDP
; ULONG64 __stdcall NtUserCheckWindowThreadDesktop( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserCheckWindowThreadDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4748
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCheckWindowThreadDesktop ENDP
; ULONG64 __stdcall NtUserChildWindowFromPointEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserChildWindowFromPointEx PROC STDCALL
mov r10 , rcx
mov eax , 4749
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserChildWindowFromPointEx ENDP
; ULONG64 __stdcall NtUserClipCursor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserClipCursor PROC STDCALL
mov r10 , rcx
mov eax , 4750
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserClipCursor ENDP
; ULONG64 __stdcall NtUserCreateDesktopEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserCreateDesktopEx PROC STDCALL
mov r10 , rcx
mov eax , 4751
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateDesktopEx ENDP
; ULONG64 __stdcall NtUserCreateInputContext( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserCreateInputContext PROC STDCALL
mov r10 , rcx
mov eax , 4752
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateInputContext ENDP
; ULONG64 __stdcall NtUserCreateWindowStation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserCreateWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4753
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCreateWindowStation ENDP
; ULONG64 __stdcall NtUserCtxDisplayIOCtl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserCtxDisplayIOCtl PROC STDCALL
mov r10 , rcx
mov eax , 4754
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserCtxDisplayIOCtl ENDP
; ULONG64 __stdcall NtUserDestroyInputContext( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDestroyInputContext PROC STDCALL
mov r10 , rcx
mov eax , 4755
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDestroyInputContext ENDP
; ULONG64 __stdcall NtUserDisableThreadIme( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDisableThreadIme PROC STDCALL
mov r10 , rcx
mov eax , 4756
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDisableThreadIme ENDP
; ULONG64 __stdcall NtUserDisplayConfigGetDeviceInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDisplayConfigGetDeviceInfo PROC STDCALL
mov r10 , rcx
mov eax , 4757
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDisplayConfigGetDeviceInfo ENDP
; ULONG64 __stdcall NtUserDisplayConfigSetDeviceInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDisplayConfigSetDeviceInfo PROC STDCALL
mov r10 , rcx
mov eax , 4758
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDisplayConfigSetDeviceInfo ENDP
; ULONG64 __stdcall NtUserDoSoundConnect( );
_6_1_7600_sp0_windows_7_NtUserDoSoundConnect PROC STDCALL
mov r10 , rcx
mov eax , 4759
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDoSoundConnect ENDP
; ULONG64 __stdcall NtUserDoSoundDisconnect( );
_6_1_7600_sp0_windows_7_NtUserDoSoundDisconnect PROC STDCALL
mov r10 , rcx
mov eax , 4760
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDoSoundDisconnect ENDP
; ULONG64 __stdcall NtUserDragDetect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserDragDetect PROC STDCALL
mov r10 , rcx
mov eax , 4761
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDragDetect ENDP
; ULONG64 __stdcall NtUserDragObject( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserDragObject PROC STDCALL
mov r10 , rcx
mov eax , 4762
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDragObject ENDP
; ULONG64 __stdcall NtUserDrawAnimatedRects( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserDrawAnimatedRects PROC STDCALL
mov r10 , rcx
mov eax , 4763
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDrawAnimatedRects ENDP
; ULONG64 __stdcall NtUserDrawCaption( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserDrawCaption PROC STDCALL
mov r10 , rcx
mov eax , 4764
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDrawCaption ENDP
; ULONG64 __stdcall NtUserDrawCaptionTemp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 );
_6_1_7600_sp0_windows_7_NtUserDrawCaptionTemp PROC STDCALL
mov r10 , rcx
mov eax , 4765
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDrawCaptionTemp ENDP
; ULONG64 __stdcall NtUserDrawMenuBarTemp( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserDrawMenuBarTemp PROC STDCALL
mov r10 , rcx
mov eax , 4766
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDrawMenuBarTemp ENDP
; ULONG64 __stdcall NtUserDwmStartRedirection( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserDwmStartRedirection PROC STDCALL
mov r10 , rcx
mov eax , 4767
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDwmStartRedirection ENDP
; ULONG64 __stdcall NtUserDwmStopRedirection( );
_6_1_7600_sp0_windows_7_NtUserDwmStopRedirection PROC STDCALL
mov r10 , rcx
mov eax , 4768
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserDwmStopRedirection ENDP
; ULONG64 __stdcall NtUserEndMenu( );
_6_1_7600_sp0_windows_7_NtUserEndMenu PROC STDCALL
mov r10 , rcx
mov eax , 4769
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEndMenu ENDP
; ULONG64 __stdcall NtUserEndTouchOperation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserEndTouchOperation PROC STDCALL
mov r10 , rcx
mov eax , 4770
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEndTouchOperation ENDP
; ULONG64 __stdcall NtUserEvent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserEvent PROC STDCALL
mov r10 , rcx
mov eax , 4771
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserEvent ENDP
; ULONG64 __stdcall NtUserFlashWindowEx( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserFlashWindowEx PROC STDCALL
mov r10 , rcx
mov eax , 4772
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserFlashWindowEx ENDP
; ULONG64 __stdcall NtUserFrostCrashedWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserFrostCrashedWindow PROC STDCALL
mov r10 , rcx
mov eax , 4773
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserFrostCrashedWindow ENDP
; ULONG64 __stdcall NtUserGetAppImeLevel( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetAppImeLevel PROC STDCALL
mov r10 , rcx
mov eax , 4774
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetAppImeLevel ENDP
; ULONG64 __stdcall NtUserGetCaretPos( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetCaretPos PROC STDCALL
mov r10 , rcx
mov eax , 4775
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetCaretPos ENDP
; ULONG64 __stdcall NtUserGetClipCursor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetClipCursor PROC STDCALL
mov r10 , rcx
mov eax , 4776
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipCursor ENDP
; ULONG64 __stdcall NtUserGetClipboardViewer( );
_6_1_7600_sp0_windows_7_NtUserGetClipboardViewer PROC STDCALL
mov r10 , rcx
mov eax , 4777
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetClipboardViewer ENDP
; ULONG64 __stdcall NtUserGetComboBoxInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetComboBoxInfo PROC STDCALL
mov r10 , rcx
mov eax , 4778
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetComboBoxInfo ENDP
; ULONG64 __stdcall NtUserGetCursorInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetCursorInfo PROC STDCALL
mov r10 , rcx
mov eax , 4779
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetCursorInfo ENDP
; ULONG64 __stdcall NtUserGetDisplayConfigBufferSizes( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetDisplayConfigBufferSizes PROC STDCALL
mov r10 , rcx
mov eax , 4780
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetDisplayConfigBufferSizes ENDP
; ULONG64 __stdcall NtUserGetGestureConfig( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserGetGestureConfig PROC STDCALL
mov r10 , rcx
mov eax , 4781
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetGestureConfig ENDP
; ULONG64 __stdcall NtUserGetGestureExtArgs( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetGestureExtArgs PROC STDCALL
mov r10 , rcx
mov eax , 4782
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetGestureExtArgs ENDP
; ULONG64 __stdcall NtUserGetGestureInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetGestureInfo PROC STDCALL
mov r10 , rcx
mov eax , 4783
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetGestureInfo ENDP
; ULONG64 __stdcall NtUserGetGuiResources( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetGuiResources PROC STDCALL
mov r10 , rcx
mov eax , 4784
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetGuiResources ENDP
; ULONG64 __stdcall NtUserGetImeHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetImeHotKey PROC STDCALL
mov r10 , rcx
mov eax , 4785
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetImeHotKey ENDP
; ULONG64 __stdcall NtUserGetImeInfoEx( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetImeInfoEx PROC STDCALL
mov r10 , rcx
mov eax , 4786
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetImeInfoEx ENDP
; ULONG64 __stdcall NtUserGetInputLocaleInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetInputLocaleInfo PROC STDCALL
mov r10 , rcx
mov eax , 4787
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetInputLocaleInfo ENDP
; ULONG64 __stdcall NtUserGetInternalWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetInternalWindowPos PROC STDCALL
mov r10 , rcx
mov eax , 4788
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetInternalWindowPos ENDP
; ULONG64 __stdcall NtUserGetKeyNameText( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetKeyNameText PROC STDCALL
mov r10 , rcx
mov eax , 4789
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetKeyNameText ENDP
; ULONG64 __stdcall NtUserGetKeyboardLayoutName( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetKeyboardLayoutName PROC STDCALL
mov r10 , rcx
mov eax , 4790
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetKeyboardLayoutName ENDP
; ULONG64 __stdcall NtUserGetLayeredWindowAttributes( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetLayeredWindowAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4791
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetLayeredWindowAttributes ENDP
; ULONG64 __stdcall NtUserGetListBoxInfo( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetListBoxInfo PROC STDCALL
mov r10 , rcx
mov eax , 4792
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetListBoxInfo ENDP
; ULONG64 __stdcall NtUserGetMenuIndex( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetMenuIndex PROC STDCALL
mov r10 , rcx
mov eax , 4793
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetMenuIndex ENDP
; ULONG64 __stdcall NtUserGetMenuItemRect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetMenuItemRect PROC STDCALL
mov r10 , rcx
mov eax , 4794
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetMenuItemRect ENDP
; ULONG64 __stdcall NtUserGetMouseMovePointsEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserGetMouseMovePointsEx PROC STDCALL
mov r10 , rcx
mov eax , 4795
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetMouseMovePointsEx ENDP
; ULONG64 __stdcall NtUserGetPriorityClipboardFormat( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetPriorityClipboardFormat PROC STDCALL
mov r10 , rcx
mov eax , 4796
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetPriorityClipboardFormat ENDP
; ULONG64 __stdcall NtUserGetRawInputBuffer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetRawInputBuffer PROC STDCALL
mov r10 , rcx
mov eax , 4797
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetRawInputBuffer ENDP
; ULONG64 __stdcall NtUserGetRawInputData( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserGetRawInputData PROC STDCALL
mov r10 , rcx
mov eax , 4798
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetRawInputData ENDP
; ULONG64 __stdcall NtUserGetRawInputDeviceInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetRawInputDeviceInfo PROC STDCALL
mov r10 , rcx
mov eax , 4799
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetRawInputDeviceInfo ENDP
; ULONG64 __stdcall NtUserGetRawInputDeviceList( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetRawInputDeviceList PROC STDCALL
mov r10 , rcx
mov eax , 4800
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetRawInputDeviceList ENDP
; ULONG64 __stdcall NtUserGetRegisteredRawInputDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetRegisteredRawInputDevices PROC STDCALL
mov r10 , rcx
mov eax , 4801
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetRegisteredRawInputDevices ENDP
; ULONG64 __stdcall NtUserGetTopLevelWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGetTopLevelWindow PROC STDCALL
mov r10 , rcx
mov eax , 4802
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetTopLevelWindow ENDP
; ULONG64 __stdcall NtUserGetTouchInputInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserGetTouchInputInfo PROC STDCALL
mov r10 , rcx
mov eax , 4803
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetTouchInputInfo ENDP
; ULONG64 __stdcall NtUserGetUpdatedClipboardFormats( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetUpdatedClipboardFormats PROC STDCALL
mov r10 , rcx
mov eax , 4804
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetUpdatedClipboardFormats ENDP
; ULONG64 __stdcall NtUserGetWOWClass( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWOWClass PROC STDCALL
mov r10 , rcx
mov eax , 4805
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWOWClass ENDP
; ULONG64 __stdcall NtUserGetWindowCompositionAttribute( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWindowCompositionAttribute PROC STDCALL
mov r10 , rcx
mov eax , 4806
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowCompositionAttribute ENDP
; ULONG64 __stdcall NtUserGetWindowCompositionInfo( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWindowCompositionInfo PROC STDCALL
mov r10 , rcx
mov eax , 4807
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowCompositionInfo ENDP
; ULONG64 __stdcall NtUserGetWindowDisplayAffinity( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWindowDisplayAffinity PROC STDCALL
mov r10 , rcx
mov eax , 4808
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowDisplayAffinity ENDP
; ULONG64 __stdcall NtUserGetWindowMinimizeRect( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserGetWindowMinimizeRect PROC STDCALL
mov r10 , rcx
mov eax , 4809
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowMinimizeRect ENDP
; ULONG64 __stdcall NtUserGetWindowRgnEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserGetWindowRgnEx PROC STDCALL
mov r10 , rcx
mov eax , 4810
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGetWindowRgnEx ENDP
; ULONG64 __stdcall NtUserGhostWindowFromHungWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserGhostWindowFromHungWindow PROC STDCALL
mov r10 , rcx
mov eax , 4811
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserGhostWindowFromHungWindow ENDP
; ULONG64 __stdcall NtUserHardErrorControl( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserHardErrorControl PROC STDCALL
mov r10 , rcx
mov eax , 4812
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHardErrorControl ENDP
; ULONG64 __stdcall NtUserHiliteMenuItem( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserHiliteMenuItem PROC STDCALL
mov r10 , rcx
mov eax , 4813
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHiliteMenuItem ENDP
; ULONG64 __stdcall NtUserHungWindowFromGhostWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserHungWindowFromGhostWindow PROC STDCALL
mov r10 , rcx
mov eax , 4814
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHungWindowFromGhostWindow ENDP
; ULONG64 __stdcall NtUserHwndQueryRedirectionInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserHwndQueryRedirectionInfo PROC STDCALL
mov r10 , rcx
mov eax , 4815
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHwndQueryRedirectionInfo ENDP
; ULONG64 __stdcall NtUserHwndSetRedirectionInfo( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserHwndSetRedirectionInfo PROC STDCALL
mov r10 , rcx
mov eax , 4816
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserHwndSetRedirectionInfo ENDP
; ULONG64 __stdcall NtUserImpersonateDdeClientWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserImpersonateDdeClientWindow PROC STDCALL
mov r10 , rcx
mov eax , 4817
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserImpersonateDdeClientWindow ENDP
; ULONG64 __stdcall NtUserInitTask( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 , ULONG64 arg_11 , ULONG64 arg_12 );
_6_1_7600_sp0_windows_7_NtUserInitTask PROC STDCALL
mov r10 , rcx
mov eax , 4818
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInitTask ENDP
; ULONG64 __stdcall NtUserInitialize( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserInitialize PROC STDCALL
mov r10 , rcx
mov eax , 4819
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInitialize ENDP
; ULONG64 __stdcall NtUserInitializeClientPfnArrays( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserInitializeClientPfnArrays PROC STDCALL
mov r10 , rcx
mov eax , 4820
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInitializeClientPfnArrays ENDP
; ULONG64 __stdcall NtUserInjectGesture( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserInjectGesture PROC STDCALL
mov r10 , rcx
mov eax , 4821
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInjectGesture ENDP
; ULONG64 __stdcall NtUserInternalGetWindowIcon( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserInternalGetWindowIcon PROC STDCALL
mov r10 , rcx
mov eax , 4822
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserInternalGetWindowIcon ENDP
; ULONG64 __stdcall NtUserIsTopLevelWindow( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserIsTopLevelWindow PROC STDCALL
mov r10 , rcx
mov eax , 4823
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserIsTopLevelWindow ENDP
; ULONG64 __stdcall NtUserIsTouchWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserIsTouchWindow PROC STDCALL
mov r10 , rcx
mov eax , 4824
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserIsTouchWindow ENDP
; ULONG64 __stdcall NtUserLoadKeyboardLayoutEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 );
_6_1_7600_sp0_windows_7_NtUserLoadKeyboardLayoutEx PROC STDCALL
mov r10 , rcx
mov eax , 4825
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserLoadKeyboardLayoutEx ENDP
; ULONG64 __stdcall NtUserLockWindowStation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserLockWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4826
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserLockWindowStation ENDP
; ULONG64 __stdcall NtUserLockWorkStation( );
_6_1_7600_sp0_windows_7_NtUserLockWorkStation PROC STDCALL
mov r10 , rcx
mov eax , 4827
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserLockWorkStation ENDP
; ULONG64 __stdcall NtUserLogicalToPhysicalPoint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserLogicalToPhysicalPoint PROC STDCALL
mov r10 , rcx
mov eax , 4828
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserLogicalToPhysicalPoint ENDP
; ULONG64 __stdcall NtUserMNDragLeave( );
_6_1_7600_sp0_windows_7_NtUserMNDragLeave PROC STDCALL
mov r10 , rcx
mov eax , 4829
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMNDragLeave ENDP
; ULONG64 __stdcall NtUserMNDragOver( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserMNDragOver PROC STDCALL
mov r10 , rcx
mov eax , 4830
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMNDragOver ENDP
; ULONG64 __stdcall NtUserMagControl( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserMagControl PROC STDCALL
mov r10 , rcx
mov eax , 4831
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMagControl ENDP
; ULONG64 __stdcall NtUserMagGetContextInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserMagGetContextInformation PROC STDCALL
mov r10 , rcx
mov eax , 4832
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMagGetContextInformation ENDP
; ULONG64 __stdcall NtUserMagSetContextInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserMagSetContextInformation PROC STDCALL
mov r10 , rcx
mov eax , 4833
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMagSetContextInformation ENDP
; ULONG64 __stdcall NtUserManageGestureHandlerWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserManageGestureHandlerWindow PROC STDCALL
mov r10 , rcx
mov eax , 4834
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserManageGestureHandlerWindow ENDP
; ULONG64 __stdcall NtUserMenuItemFromPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserMenuItemFromPoint PROC STDCALL
mov r10 , rcx
mov eax , 4835
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMenuItemFromPoint ENDP
; ULONG64 __stdcall NtUserMinMaximize( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserMinMaximize PROC STDCALL
mov r10 , rcx
mov eax , 4836
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserMinMaximize ENDP
; ULONG64 __stdcall NtUserModifyWindowTouchCapability( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserModifyWindowTouchCapability PROC STDCALL
mov r10 , rcx
mov eax , 4837
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserModifyWindowTouchCapability ENDP
; ULONG64 __stdcall NtUserNotifyIMEStatus( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserNotifyIMEStatus PROC STDCALL
mov r10 , rcx
mov eax , 4838
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserNotifyIMEStatus ENDP
; ULONG64 __stdcall NtUserOpenInputDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserOpenInputDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4839
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserOpenInputDesktop ENDP
; ULONG64 __stdcall NtUserOpenThreadDesktop( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserOpenThreadDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4840
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserOpenThreadDesktop ENDP
; ULONG64 __stdcall NtUserPaintMonitor( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserPaintMonitor PROC STDCALL
mov r10 , rcx
mov eax , 4841
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPaintMonitor ENDP
; ULONG64 __stdcall NtUserPhysicalToLogicalPoint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserPhysicalToLogicalPoint PROC STDCALL
mov r10 , rcx
mov eax , 4842
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPhysicalToLogicalPoint ENDP
; ULONG64 __stdcall NtUserPrintWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserPrintWindow PROC STDCALL
mov r10 , rcx
mov eax , 4843
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserPrintWindow ENDP
; ULONG64 __stdcall NtUserQueryDisplayConfig( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserQueryDisplayConfig PROC STDCALL
mov r10 , rcx
mov eax , 4844
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserQueryDisplayConfig ENDP
; ULONG64 __stdcall NtUserQueryInformationThread( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserQueryInformationThread PROC STDCALL
mov r10 , rcx
mov eax , 4845
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserQueryInformationThread ENDP
; ULONG64 __stdcall NtUserQueryInputContext( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserQueryInputContext PROC STDCALL
mov r10 , rcx
mov eax , 4846
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserQueryInputContext ENDP
; ULONG64 __stdcall NtUserQuerySendMessage( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserQuerySendMessage PROC STDCALL
mov r10 , rcx
mov eax , 4847
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserQuerySendMessage ENDP
; ULONG64 __stdcall NtUserRealChildWindowFromPoint( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserRealChildWindowFromPoint PROC STDCALL
mov r10 , rcx
mov eax , 4848
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRealChildWindowFromPoint ENDP
; ULONG64 __stdcall NtUserRealWaitMessageEx( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserRealWaitMessageEx PROC STDCALL
mov r10 , rcx
mov eax , 4849
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRealWaitMessageEx ENDP
; ULONG64 __stdcall NtUserRegisterErrorReportingDialog( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserRegisterErrorReportingDialog PROC STDCALL
mov r10 , rcx
mov eax , 4850
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterErrorReportingDialog ENDP
; ULONG64 __stdcall NtUserRegisterHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserRegisterHotKey PROC STDCALL
mov r10 , rcx
mov eax , 4851
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterHotKey ENDP
; ULONG64 __stdcall NtUserRegisterRawInputDevices( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserRegisterRawInputDevices PROC STDCALL
mov r10 , rcx
mov eax , 4852
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterRawInputDevices ENDP
; ULONG64 __stdcall NtUserRegisterServicesProcess( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserRegisterServicesProcess PROC STDCALL
mov r10 , rcx
mov eax , 4853
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterServicesProcess ENDP
; ULONG64 __stdcall NtUserRegisterSessionPort( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserRegisterSessionPort PROC STDCALL
mov r10 , rcx
mov eax , 4854
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterSessionPort ENDP
; ULONG64 __stdcall NtUserRegisterTasklist( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserRegisterTasklist PROC STDCALL
mov r10 , rcx
mov eax , 4855
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterTasklist ENDP
; ULONG64 __stdcall NtUserRegisterUserApiHook( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserRegisterUserApiHook PROC STDCALL
mov r10 , rcx
mov eax , 4856
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRegisterUserApiHook ENDP
; ULONG64 __stdcall NtUserRemoteConnect( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserRemoteConnect PROC STDCALL
mov r10 , rcx
mov eax , 4857
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoteConnect ENDP
; ULONG64 __stdcall NtUserRemoteRedrawRectangle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserRemoteRedrawRectangle PROC STDCALL
mov r10 , rcx
mov eax , 4858
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoteRedrawRectangle ENDP
; ULONG64 __stdcall NtUserRemoteRedrawScreen( );
_6_1_7600_sp0_windows_7_NtUserRemoteRedrawScreen PROC STDCALL
mov r10 , rcx
mov eax , 4859
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoteRedrawScreen ENDP
; ULONG64 __stdcall NtUserRemoteStopScreenUpdates( );
_6_1_7600_sp0_windows_7_NtUserRemoteStopScreenUpdates PROC STDCALL
mov r10 , rcx
mov eax , 4860
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoteStopScreenUpdates ENDP
; ULONG64 __stdcall NtUserRemoveClipboardFormatListener( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserRemoveClipboardFormatListener PROC STDCALL
mov r10 , rcx
mov eax , 4861
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserRemoveClipboardFormatListener ENDP
; ULONG64 __stdcall NtUserResolveDesktopForWOW( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserResolveDesktopForWOW PROC STDCALL
mov r10 , rcx
mov eax , 4862
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserResolveDesktopForWOW ENDP
; ULONG64 __stdcall NtUserSendTouchInput( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSendTouchInput PROC STDCALL
mov r10 , rcx
mov eax , 4863
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSendTouchInput ENDP
; ULONG64 __stdcall NtUserSetAppImeLevel( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetAppImeLevel PROC STDCALL
mov r10 , rcx
mov eax , 4864
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetAppImeLevel ENDP
; ULONG64 __stdcall NtUserSetChildWindowNoActivate( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetChildWindowNoActivate PROC STDCALL
mov r10 , rcx
mov eax , 4865
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetChildWindowNoActivate ENDP
; ULONG64 __stdcall NtUserSetClassWord( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetClassWord PROC STDCALL
mov r10 , rcx
mov eax , 4866
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetClassWord ENDP
; ULONG64 __stdcall NtUserSetCursorContents( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetCursorContents PROC STDCALL
mov r10 , rcx
mov eax , 4867
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetCursorContents ENDP
; ULONG64 __stdcall NtUserSetDisplayConfig( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserSetDisplayConfig PROC STDCALL
mov r10 , rcx
mov eax , 4868
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetDisplayConfig ENDP
; ULONG64 __stdcall NtUserSetGestureConfig( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserSetGestureConfig PROC STDCALL
mov r10 , rcx
mov eax , 4869
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetGestureConfig ENDP
; ULONG64 __stdcall NtUserSetImeHotKey( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 );
_6_1_7600_sp0_windows_7_NtUserSetImeHotKey PROC STDCALL
mov r10 , rcx
mov eax , 4870
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetImeHotKey ENDP
; ULONG64 __stdcall NtUserSetImeInfoEx( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetImeInfoEx PROC STDCALL
mov r10 , rcx
mov eax , 4871
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetImeInfoEx ENDP
; ULONG64 __stdcall NtUserSetImeOwnerWindow( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetImeOwnerWindow PROC STDCALL
mov r10 , rcx
mov eax , 4872
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetImeOwnerWindow ENDP
; ULONG64 __stdcall NtUserSetInternalWindowPos( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetInternalWindowPos PROC STDCALL
mov r10 , rcx
mov eax , 4873
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetInternalWindowPos ENDP
; ULONG64 __stdcall NtUserSetLayeredWindowAttributes( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetLayeredWindowAttributes PROC STDCALL
mov r10 , rcx
mov eax , 4874
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetLayeredWindowAttributes ENDP
; ULONG64 __stdcall NtUserSetMenu( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetMenu PROC STDCALL
mov r10 , rcx
mov eax , 4875
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetMenu ENDP
; ULONG64 __stdcall NtUserSetMenuContextHelpId( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetMenuContextHelpId PROC STDCALL
mov r10 , rcx
mov eax , 4876
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetMenuContextHelpId ENDP
; ULONG64 __stdcall NtUserSetMenuFlagRtoL( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSetMenuFlagRtoL PROC STDCALL
mov r10 , rcx
mov eax , 4877
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetMenuFlagRtoL ENDP
; ULONG64 __stdcall NtUserSetMirrorRendering( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetMirrorRendering PROC STDCALL
mov r10 , rcx
mov eax , 4878
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetMirrorRendering ENDP
; ULONG64 __stdcall NtUserSetObjectInformation( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetObjectInformation PROC STDCALL
mov r10 , rcx
mov eax , 4879
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetObjectInformation ENDP
; ULONG64 __stdcall NtUserSetProcessDPIAware( );
_6_1_7600_sp0_windows_7_NtUserSetProcessDPIAware PROC STDCALL
mov r10 , rcx
mov eax , 4880
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetProcessDPIAware ENDP
; ULONG64 __stdcall NtUserSetShellWindowEx( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetShellWindowEx PROC STDCALL
mov r10 , rcx
mov eax , 4881
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetShellWindowEx ENDP
; ULONG64 __stdcall NtUserSetSysColors( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetSysColors PROC STDCALL
mov r10 , rcx
mov eax , 4882
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetSysColors ENDP
; ULONG64 __stdcall NtUserSetSystemCursor( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetSystemCursor PROC STDCALL
mov r10 , rcx
mov eax , 4883
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetSystemCursor ENDP
; ULONG64 __stdcall NtUserSetSystemTimer( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetSystemTimer PROC STDCALL
mov r10 , rcx
mov eax , 4884
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetSystemTimer ENDP
; ULONG64 __stdcall NtUserSetThreadLayoutHandles( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetThreadLayoutHandles PROC STDCALL
mov r10 , rcx
mov eax , 4885
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetThreadLayoutHandles ENDP
; ULONG64 __stdcall NtUserSetWindowCompositionAttribute( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetWindowCompositionAttribute PROC STDCALL
mov r10 , rcx
mov eax , 4886
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowCompositionAttribute ENDP
; ULONG64 __stdcall NtUserSetWindowDisplayAffinity( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSetWindowDisplayAffinity PROC STDCALL
mov r10 , rcx
mov eax , 4887
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowDisplayAffinity ENDP
; ULONG64 __stdcall NtUserSetWindowRgnEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSetWindowRgnEx PROC STDCALL
mov r10 , rcx
mov eax , 4888
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowRgnEx ENDP
; ULONG64 __stdcall NtUserSetWindowStationUser( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetWindowStationUser PROC STDCALL
mov r10 , rcx
mov eax , 4889
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowStationUser ENDP
; ULONG64 __stdcall NtUserSfmDestroyLogicalSurfaceBinding( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserSfmDestroyLogicalSurfaceBinding PROC STDCALL
mov r10 , rcx
mov eax , 4890
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDestroyLogicalSurfaceBinding ENDP
; ULONG64 __stdcall NtUserSfmDxBindSwapChain( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSfmDxBindSwapChain PROC STDCALL
mov r10 , rcx
mov eax , 4891
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxBindSwapChain ENDP
; ULONG64 __stdcall NtUserSfmDxGetSwapChainStats( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSfmDxGetSwapChainStats PROC STDCALL
mov r10 , rcx
mov eax , 4892
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxGetSwapChainStats ENDP
; ULONG64 __stdcall NtUserSfmDxOpenSwapChain( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSfmDxOpenSwapChain PROC STDCALL
mov r10 , rcx
mov eax , 4893
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxOpenSwapChain ENDP
; ULONG64 __stdcall NtUserSfmDxQuerySwapChainBindingStatus( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserSfmDxQuerySwapChainBindingStatus PROC STDCALL
mov r10 , rcx
mov eax , 4894
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxQuerySwapChainBindingStatus ENDP
; ULONG64 __stdcall NtUserSfmDxReleaseSwapChain( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSfmDxReleaseSwapChain PROC STDCALL
mov r10 , rcx
mov eax , 4895
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxReleaseSwapChain ENDP
; ULONG64 __stdcall NtUserSfmDxReportPendingBindingsToDwm( );
_6_1_7600_sp0_windows_7_NtUserSfmDxReportPendingBindingsToDwm PROC STDCALL
mov r10 , rcx
mov eax , 4896
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxReportPendingBindingsToDwm ENDP
; ULONG64 __stdcall NtUserSfmDxSetSwapChainBindingStatus( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSfmDxSetSwapChainBindingStatus PROC STDCALL
mov r10 , rcx
mov eax , 4897
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxSetSwapChainBindingStatus ENDP
; ULONG64 __stdcall NtUserSfmDxSetSwapChainStats( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSfmDxSetSwapChainStats PROC STDCALL
mov r10 , rcx
mov eax , 4898
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmDxSetSwapChainStats ENDP
; ULONG64 __stdcall NtUserSfmGetLogicalSurfaceBinding( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSfmGetLogicalSurfaceBinding PROC STDCALL
mov r10 , rcx
mov eax , 4899
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSfmGetLogicalSurfaceBinding ENDP
; ULONG64 __stdcall NtUserShowSystemCursor( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserShowSystemCursor PROC STDCALL
mov r10 , rcx
mov eax , 4900
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserShowSystemCursor ENDP
; ULONG64 __stdcall NtUserSoundSentry( );
_6_1_7600_sp0_windows_7_NtUserSoundSentry PROC STDCALL
mov r10 , rcx
mov eax , 4901
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSoundSentry ENDP
; ULONG64 __stdcall NtUserSwitchDesktop( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserSwitchDesktop PROC STDCALL
mov r10 , rcx
mov eax , 4902
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSwitchDesktop ENDP
; ULONG64 __stdcall NtUserTestForInteractiveUser( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserTestForInteractiveUser PROC STDCALL
mov r10 , rcx
mov eax , 4903
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserTestForInteractiveUser ENDP
; ULONG64 __stdcall NtUserTrackPopupMenuEx( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 );
_6_1_7600_sp0_windows_7_NtUserTrackPopupMenuEx PROC STDCALL
mov r10 , rcx
mov eax , 4904
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserTrackPopupMenuEx ENDP
; ULONG64 __stdcall NtUserUnloadKeyboardLayout( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserUnloadKeyboardLayout PROC STDCALL
mov r10 , rcx
mov eax , 4905
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnloadKeyboardLayout ENDP
; ULONG64 __stdcall NtUserUnlockWindowStation( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserUnlockWindowStation PROC STDCALL
mov r10 , rcx
mov eax , 4906
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnlockWindowStation ENDP
; ULONG64 __stdcall NtUserUnregisterHotKey( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserUnregisterHotKey PROC STDCALL
mov r10 , rcx
mov eax , 4907
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnregisterHotKey ENDP
; ULONG64 __stdcall NtUserUnregisterSessionPort( );
_6_1_7600_sp0_windows_7_NtUserUnregisterSessionPort PROC STDCALL
mov r10 , rcx
mov eax , 4908
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnregisterSessionPort ENDP
; ULONG64 __stdcall NtUserUnregisterUserApiHook( );
_6_1_7600_sp0_windows_7_NtUserUnregisterUserApiHook PROC STDCALL
mov r10 , rcx
mov eax , 4909
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUnregisterUserApiHook ENDP
; ULONG64 __stdcall NtUserUpdateInputContext( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserUpdateInputContext PROC STDCALL
mov r10 , rcx
mov eax , 4910
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUpdateInputContext ENDP
; ULONG64 __stdcall NtUserUpdateInstance( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserUpdateInstance PROC STDCALL
mov r10 , rcx
mov eax , 4911
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUpdateInstance ENDP
; ULONG64 __stdcall NtUserUpdateLayeredWindow( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 , ULONG64 arg_05 , ULONG64 arg_06 , ULONG64 arg_07 , ULONG64 arg_08 , ULONG64 arg_09 , ULONG64 arg_10 );
_6_1_7600_sp0_windows_7_NtUserUpdateLayeredWindow PROC STDCALL
mov r10 , rcx
mov eax , 4912
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUpdateLayeredWindow ENDP
; ULONG64 __stdcall NtUserUpdatePerUserSystemParameters( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserUpdatePerUserSystemParameters PROC STDCALL
mov r10 , rcx
mov eax , 4913
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUpdatePerUserSystemParameters ENDP
; ULONG64 __stdcall NtUserUpdateWindowTransform( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserUpdateWindowTransform PROC STDCALL
mov r10 , rcx
mov eax , 4914
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUpdateWindowTransform ENDP
; ULONG64 __stdcall NtUserUserHandleGrantAccess( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserUserHandleGrantAccess PROC STDCALL
mov r10 , rcx
mov eax , 4915
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserUserHandleGrantAccess ENDP
; ULONG64 __stdcall NtUserValidateHandleSecure( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserValidateHandleSecure PROC STDCALL
mov r10 , rcx
mov eax , 4916
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserValidateHandleSecure ENDP
; ULONG64 __stdcall NtUserWaitForInputIdle( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 );
_6_1_7600_sp0_windows_7_NtUserWaitForInputIdle PROC STDCALL
mov r10 , rcx
mov eax , 4917
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserWaitForInputIdle ENDP
; ULONG64 __stdcall NtUserWaitForMsgAndEvent( ULONG64 arg_01 );
_6_1_7600_sp0_windows_7_NtUserWaitForMsgAndEvent PROC STDCALL
mov r10 , rcx
mov eax , 4918
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserWaitForMsgAndEvent ENDP
; ULONG64 __stdcall NtUserWindowFromPhysicalPoint( ULONG64 arg_01 , ULONG64 arg_02 );
_6_1_7600_sp0_windows_7_NtUserWindowFromPhysicalPoint PROC STDCALL
mov r10 , rcx
mov eax , 4919
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserWindowFromPhysicalPoint ENDP
; ULONG64 __stdcall NtUserYieldTask( );
_6_1_7600_sp0_windows_7_NtUserYieldTask PROC STDCALL
mov r10 , rcx
mov eax , 4920
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserYieldTask ENDP
; ULONG64 __stdcall NtUserSetClassLongPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetClassLongPtr PROC STDCALL
mov r10 , rcx
mov eax , 4921
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetClassLongPtr ENDP
; ULONG64 __stdcall NtUserSetWindowLongPtr( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ULONG64 arg_04 );
_6_1_7600_sp0_windows_7_NtUserSetWindowLongPtr PROC STDCALL
mov r10 , rcx
mov eax , 4922
;syscall
db 0Fh , 05h
ret
_6_1_7600_sp0_windows_7_NtUserSetWindowLongPtr ENDP
|
mc-sema/validator/x86/tests/MUL_FST0r.asm | randolphwong/mcsema | 2 | 26500 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE
;TEST_FILE_META_END
; set up st0 and st1 to be pi
FLDPI
FLDPI
;TEST_BEGIN_RECORDING
FMUL st0, st1
;TEST_END_RECORDING
|
programs/oeis/014/A014209.asm | karttu/loda | 1 | 7127 | ; A014209: a(n) = n^2 + 3*n - 1.
; -1,3,9,17,27,39,53,69,87,107,129,153,179,207,237,269,303,339,377,417,459,503,549,597,647,699,753,809,867,927,989,1053,1119,1187,1257,1329,1403,1479,1557,1637,1719,1803,1889,1977,2067,2159,2253,2349,2447,2547,2649,2753,2859,2967,3077,3189,3303,3419,3537,3657,3779,3903,4029,4157,4287,4419,4553,4689,4827,4967,5109,5253,5399,5547,5697,5849,6003,6159,6317,6477,6639,6803,6969,7137,7307,7479,7653,7829,8007,8187,8369,8553,8739,8927,9117,9309,9503,9699,9897,10097,10299,10503,10709,10917,11127,11339,11553,11769,11987,12207,12429,12653,12879,13107,13337,13569,13803,14039,14277,14517,14759,15003,15249,15497,15747,15999,16253,16509,16767,17027,17289,17553,17819,18087,18357,18629,18903,19179,19457,19737,20019,20303,20589,20877,21167,21459,21753,22049,22347,22647,22949,23253,23559,23867,24177,24489,24803,25119,25437,25757,26079,26403,26729,27057,27387,27719,28053,28389,28727,29067,29409,29753,30099,30447,30797,31149,31503,31859,32217,32577,32939,33303,33669,34037,34407,34779,35153,35529,35907,36287,36669,37053,37439,37827,38217,38609,39003,39399,39797,40197,40599,41003,41409,41817,42227,42639,43053,43469,43887,44307,44729,45153,45579,46007,46437,46869,47303,47739,48177,48617,49059,49503,49949,50397,50847,51299,51753,52209,52667,53127,53589,54053,54519,54987,55457,55929,56403,56879,57357,57837,58319,58803,59289,59777,60267,60759,61253,61749,62247,62747
mov $1,$0
add $1,3
mul $1,$0
sub $1,1
|
programs/oeis/226/A226096.asm | karttu/loda | 0 | 83303 | <filename>programs/oeis/226/A226096.asm
; A226096: Squares with doubled (4*n+2)^2.
; 1,4,4,9,16,25,36,36,49,64,81,100,100,121,144,169,196,196,225,256,289,324,324,361,400,441,484,484,529,576,625,676,676,729,784,841,900,900,961,1024,1089,1156,1156,1225,1296,1369,1444,1444,1521,1600,1681,1764,1764,1849,1936,2025,2116,2116,2209,2304,2401,2500,2500,2601,2704,2809,2916,2916,3025,3136,3249,3364,3364,3481,3600,3721,3844,3844,3969,4096,4225,4356,4356,4489,4624,4761,4900,4900,5041,5184,5329,5476,5476,5625,5776,5929,6084,6084,6241,6400,6561,6724,6724,6889,7056,7225,7396,7396,7569,7744,7921,8100,8100,8281,8464,8649,8836,8836,9025,9216,9409,9604,9604,9801,10000,10201,10404,10404,10609,10816,11025,11236,11236,11449,11664,11881,12100,12100,12321,12544,12769,12996,12996,13225,13456,13689,13924,13924,14161,14400,14641,14884,14884,15129,15376,15625,15876,15876,16129,16384,16641,16900,16900,17161,17424,17689,17956,17956,18225,18496,18769,19044,19044,19321,19600,19881,20164,20164,20449,20736,21025,21316,21316,21609,21904,22201,22500,22500,22801,23104,23409,23716,23716,24025,24336,24649,24964,24964,25281,25600,25921,26244,26244,26569,26896,27225,27556,27556,27889,28224,28561,28900,28900,29241,29584,29929,30276,30276,30625,30976,31329,31684,31684,32041,32400,32761,33124,33124,33489,33856,34225,34596,34596,34969,35344,35721,36100,36100,36481,36864,37249,37636,37636,38025,38416,38809,39204,39204,39601,40000
mul $0,4
add $0,2
mov $2,1
lpb $0,1
trn $0,5
add $1,$2
add $2,2
lpe
|
src/Native/Runtime/arm/PInvoke.asm | OceanYan/corert | 2 | 89216 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; See the LICENSE file in the project root for more information.
#include "AsmMacros.h"
TEXTAREA
IMPORT RhpReversePInvokeBadTransition
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpWaitForSuspend -- rare path for RhpPInvoke and RhpReversePInvokeReturn
;;
;;
;; INPUT: none
;;
;; TRASHES: none
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
NESTED_ENTRY RhpWaitForSuspend
PROLOG_PUSH {r0-r4,lr} ; Need to save argument registers r0-r3 and lr, r4 is just for alignment
PROLOG_VPUSH {d0-d7} ; Save float argument registers as well since they're volatile
bl RhpWaitForSuspend2
EPILOG_VPOP {d0-d7}
EPILOG_POP {r0-r4,pc}
NESTED_END RhpWaitForSuspend
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpWaitForGC
;;
;;
;; INPUT: r2: transition frame
;;
;; OUTPUT:
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
NESTED_ENTRY RhpWaitForGC
PROLOG_PUSH {r0,r1,r4-r6,lr} ; Even number of registers to maintain 8-byte stack alignment
PROLOG_VPUSH {d0-d3} ; Save float return value registers as well
ldr r5, [r2, #OFFSETOF__PInvokeTransitionFrame__m_pThread]
ldr r0, [r5, #OFFSETOF__Thread__m_ThreadStateFlags]
tst r0, #TSF_DoNotTriggerGc
bne Done
mov r0, r2 ; passing transition frame in r0
bl RhpWaitForGC2
Done
EPILOG_VPOP {d0-d3}
EPILOG_POP {r0,r1,r4-r6,pc}
NESTED_END RhpWaitForGC
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpReversePInvoke
;;
;; IN: r4: address of reverse pinvoke frame
;; 0: save slot for previous M->U transition frame
;; 4: save slot for thread pointer to avoid re-calc in epilog sequence
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
NESTED_ENTRY RhpReversePInvoke
PROLOG_PUSH {r5-r7,lr} ; Even number of registers to maintain 8-byte stack alignment
INLINE_GETTHREAD r5, r6 ; r5 = Thread, r6 trashed
str r5, [r4, #4] ; save Thread pointer for RhpReversePInvokeReturn
; r4 = prev save slot
; r5 = thread
; r6 = scratch
ldr r6, [r5, #OFFSETOF__Thread__m_ThreadStateFlags]
tst r6, #TSF_Attached
beq AttachThread
ThreadAttached
;;
;; Check for the correct mode. This is accessible via various odd things that we cannot completely
;; prevent such as :
;; 1) Registering a reverse pinvoke entrypoint as a vectored exception handler
;; 2) Performing a managed delegate invoke on a reverse pinvoke delegate.
;;
ldr r6, [r5, #OFFSETOF__Thread__m_pTransitionFrame]
cbz r6, CheckBadTransition
;; Save previous TransitionFrame prior to making the mode transition so that it is always valid
;; whenever we might attempt to hijack this thread.
str r6, [r4]
mov r6, #0
str r6, [r5, #OFFSETOF__Thread__m_pTransitionFrame]
dmb
ldr r6, =RhpTrapThreads
ldr r6, [r6]
cbnz r6, TrapThread
AllDone
EPILOG_POP {r5-r7,lr}
EPILOG_RETURN
CheckBadTransition
;; Allow 'bad transitions' in when the TSF_DoNotTriggerGc mode is set. This allows us to have
;; [NativeCallable] methods that are called via the "restricted GC callouts" as well as from native,
;; which is necessary because the methods are CCW vtable methods on interfaces passed to native.
ldr r7, [r5, #OFFSETOF__Thread__m_ThreadStateFlags]
tst r7, #TSF_DoNotTriggerGc
beq BadTransition
;; zero-out our 'previous transition frame' save slot
mov r7, #0
str r7, [r4]
;; nothing more to do
b AllDone
TrapThread
;; put the previous frame back (sets us back to preemptive mode)
ldr r6, [r4]
str r6, [r5, #OFFSETOF__Thread__m_pTransitionFrame]
dmb
AttachThread
; passing address of reverse pinvoke frame in r4
EPILOG_POP {r5-r7,lr}
EPILOG_BRANCH RhpReversePInvokeAttachOrTrapThread
BadTransition
EPILOG_POP {r5-r7,lr}
EPILOG_NOP mov r0, lr ; arg <- return address
EPILOG_BRANCH RhpReversePInvokeBadTransition
NESTED_END RhpReversePInvoke
INLINE_GETTHREAD_CONSTANT_POOL
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpReversePInvokeAttachOrTrapThread -- rare path for RhpPInvoke
;;
;;
;; INPUT: r4: address of reverse pinvoke frame
;;
;; TRASHES: none
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
NESTED_ENTRY RhpReversePInvokeAttachOrTrapThread
PROLOG_PUSH {r0-r4,lr} ; Need to save argument registers r0-r3 and lr, r4 is just for alignment
PROLOG_VPUSH {d0-d7} ; Save float argument registers as well since they're volatile
mov r0, r4 ; passing reverse pinvoke frame pointer in r0
bl RhpReversePInvokeAttachOrTrapThread2
EPILOG_VPOP {d0-d7}
EPILOG_POP {r0-r4,pc}
NESTED_END RhpReversePInvokeTrapThread
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpReversePInvokeReturn
;;
;; IN: r3: address of reverse pinvoke frame
;; 0: save slot for previous M->U transition frame
;; 4: save slot for thread pointer to avoid re-calc in epilog sequence
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LEAF_ENTRY RhpReversePInvokeReturn
ldr r2, [r3, #4] ; get Thread pointer
ldr r3, [r3, #0] ; get previous M->U transition frame
str r3, [r2, #OFFSETOF__Thread__m_pTransitionFrame]
dmb
ldr r3, =RhpTrapThreads
ldr r3, [r3]
cbnz r3, RareTrapThread
bx lr
RareTrapThread
b RhpWaitForSuspend
LEAF_END RhpReversePInvokeReturn
end
|
Appl/Icon/UI/uiManager.asm | steakknife/pcgeos | 504 | 16130 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UI
FILE: uiManager.asm
AUTHOR:
REVISION HISTORY:
Name Date Description
---- ---- -----------
DESCRIPTION:
$Id: uiManager.asm,v 1.1 97/04/04 16:06:26 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
;------------------------------------------------------------------------------
; Common GEODE stuff
;------------------------------------------------------------------------------
include iconGeode.def
include uiConstant.def
;------------------------------------------------------------------------------
; Resources
;------------------------------------------------------------------------------
idata segment
BMOContentClass
ColorTriggerClass
ColorListItemClass
AddIconInteractionClass
SmartTextClass
FormatViewInteractionClass
StopImportTriggerClass
idata ends
include uiManager.rdef
;------------------------------------------------------------------------------
; Included code
;------------------------------------------------------------------------------
include uiColor.asm
include uiNewClasses.asm
|
inc/sound/wram.asm | ZoomTen/gbmp-v2 | 0 | 169380 | SECTION "WRAM Bank 0", WRAM0
se_ram_start:: ; SOUND ENGINE START MARKER
; ==========================================================================
; === SONG ===
w_song_enabled:: ds 1 ; song started?
; 0000 0000 only lower nibbles are used
; 4321 #channel
w_song_output:: ds 1 ; output volume
w_song_timer:: ds 1 ; clock
w_song_speed:: ds 1 ; clock multiplier ($FF = original speed,
; and the lower the value
; the slower it is
; Useful for finetuning tempo)
; === PLAYBACK / TRANSPORT ===
w_ch1_address:: ds 2 ; current playback/read address
w_ch2_address:: ds 2 ; all channels are in one group for this only
w_ch3_address:: ds 2
w_ch4_address:: ds 2
w_ch1_buffer:: ds 2 ; continue address
w_ch1_loopbuffer:: ds 2 ; original loop address
w_ch1_loopcount:: ds 1 ; loop count
w_ch1_duration:: ds 1 ; timer
w_ch2_buffer:: ds 2
w_ch2_loopbuffer:: ds 2
w_ch2_loopcount:: ds 1
w_ch2_duration:: ds 1
w_ch3_buffer:: ds 2
w_ch3_loopbuffer:: ds 2
w_ch3_loopcount:: ds 1
w_ch3_duration:: ds 1
w_ch4_buffer:: ds 2
w_ch4_loopbuffer:: ds 2
w_ch4_loopcount:: ds 1
w_ch4_duration:: ds 1
; === INSTRUMENTS ===
w_ch1_arpaddr:: ds 2 ; arp address offset
w_ch1_dutaddr:: ds 2 ; duty address offset
w_ch1_vibaddr:: ds 2 ; vibrato address offset
w_ch2_arpaddr:: ds 2
w_ch2_dutaddr:: ds 2
w_ch2_vibaddr:: ds 2
w_ch3_arpaddr:: ds 2
w_ch3_voladdr:: ds 2
w_ch3_vibaddr:: ds 2
w_ch4_drumaddr:: ds 2
; === CHANNEL STATE ===
w_ch1_curnote:: ds 1 ; current note
w_ch1_curinst:: ds 1 ; current instrument
w_ch1_curvol:: ds 1 ; current volume
w_ch1_curarp:: ds 2 ; current arp-affected note pitch
w_ch1_curduty:: ds 1 ; current duty shift
w_ch1_vib:: ds 1 ; current vibrato table
w_ch1_curtrps:: ds 1 ; current note shift
w_ch1_cursweep:: ds 1 ; current sweep [CHANNEL 1 ONLY]
w_ch1_curfine:: ds 1 ; fine pitch offset
w_ch1_curlength:: ds 1 ; autolength
w_ch1_lofreq:: ds 1 ; frequency, lower bytes
w_ch1_slide_n:: ds 1 ; slide [PITCH MOD] amount
w_ch1_slide_x:: ds 1 ; slide [PITCH MOD] counter
w_ch2_curnote:: ds 1
w_ch2_curinst:: ds 1
w_ch2_curvol:: ds 1
w_ch2_curarp:: ds 2
w_ch2_curduty:: ds 1
w_ch2_vib:: ds 1
w_ch2_curtrps:: ds 1
w_ch2_curfine:: ds 1
w_ch2_curlength:: ds 1
w_ch2_lofreq:: ds 1
w_ch2_slide_n:: ds 1
w_ch2_slide_x:: ds 1
w_ch3_curnote:: ds 1
w_ch3_curinst:: ds 1
w_ch3_curvol:: ds 1
w_ch3_curarp:: ds 2
w_ch3_curwave:: ds 1
w_ch3_vib:: ds 1
w_ch3_curtrps:: ds 1
w_ch3_curfine:: ds 1
w_ch3_curlength:: ds 1
w_ch3_lofreq:: ds 1
w_ch3_slide_n:: ds 1
w_ch3_slide_x:: ds 1
w_ch4_curdrum:: ds 1
w_ch4_curlength:: ds 1
w_ch4_drumtimer:: ds 1 ; drum frame timer
; ==========================================================================
se_ram_end:: ; SOUND ENGINE END MARKER
;ALL POINTERS ARE LITTLE ENDIAN |
Jahr 1/MC/Programmierung/Maskierung/Maskierung/main.asm | BackInBash/Technikerschule | 2 | 13310 | <reponame>BackInBash/Technikerschule<gh_stars>1-10
;
; Maskierung.asm
;
; Created: 07/05/2021 14:26:56
; Author : Markus
;
.INCLUDE "m16def.inc"
init:
; Setup Bit-Mask
LDI R16, 0b00001111 ; low-nibbl Mask
LDI R17, 0b11110000 ; high-nibbl Mask
LDI R18, 0 ; Register for low nibbl mask
LDI R19, 0 ; Register for high nibbl mask
LDI R20, 0xff ; Initialize PORTA
out DDRA, R20
LDI R21, 0x00 ; Initialize PORTB
out DDRB, R21
main:
in R18, PORTA ; Save PORTA Results
in R19, PORTA
AND R18, R16 ; Mask Results
AND R19, R17
ADD R18, R19 ; Add both results
out PORTB, R18 ; Write results to PORTB |
libsrc/stdio/mz/fgetc_cons.asm | dex4er/deb-z88dk | 1 | 13760 | <reponame>dex4er/deb-z88dk
;
; Sharp MZ Routines
;
; fgetc_cons() Wait for keypress
;
; <NAME> - 5/5/2000
;
; No auto-repeat for now.
; Maybe someone wants to improve this ?
;
;
; $Id: fgetc_cons.asm,v 1.2 2001/04/13 14:13:59 stefano Exp $
;
XLIB fgetc_cons
.fgetc_cons
call $9b3 ; wait for a key
call $bce ; convert it to ASCII
cp $66 ; was it ENTER ?
jr nz,noenter
ld a,13
.noenter
ld l,a
ld h,0
ret
|
programs/oeis/000/A000463.asm | karttu/loda | 1 | 105103 | ; A000463: n followed by n^2.
; 1,1,2,4,3,9,4,16,5,25,6,36,7,49,8,64,9,81,10,100,11,121,12,144,13,169,14,196,15,225,16,256,17,289,18,324,19,361,20,400,21,441,22,484,23,529,24,576,25,625,26,676,27,729,28,784,29,841,30,900,31,961,32,1024,33,1089,34,1156,35,1225,36,1296,37,1369,38,1444,39,1521,40,1600,41,1681,42,1764,43,1849,44,1936,45,2025,46,2116,47,2209,48,2304,49,2401,50,2500,51,2601,52,2704,53,2809,54,2916,55,3025,56,3136,57,3249,58,3364,59,3481,60,3600,61,3721,62,3844,63,3969,64,4096,65,4225,66,4356,67,4489,68,4624,69,4761,70,4900,71,5041,72,5184,73,5329,74,5476,75,5625,76,5776,77,5929,78,6084,79,6241,80,6400,81,6561,82,6724,83,6889,84,7056,85,7225,86,7396,87,7569,88,7744,89,7921,90,8100,91,8281,92,8464,93,8649,94,8836,95,9025,96,9216,97,9409,98,9604,99,9801,100,10000,101,10201,102,10404,103,10609,104,10816,105,11025,106,11236,107,11449,108,11664,109,11881,110,12100,111,12321,112,12544,113,12769,114,12996,115,13225,116,13456,117,13689,118,13924,119,14161,120,14400,121,14641,122,14884,123,15129,124,15376,125,15625
mov $2,$0
add $0,1
mov $1,$0
div $2,2
add $2,1
gcd $1,$2
mul $1,$2
|
TypeTheory/Nat/Instance.agda | rei1024/agda-misc | 3 | 17059 | {-# OPTIONS --without-K --safe #-}
module TypeTheory.Nat.Instance where
-- agda-stdlib
open import Level renaming (zero to lzero; suc to lsuc)
open import Data.Nat using (ℕ; zero; suc)
open import Relation.Binary.PropositionalEquality using (refl)
-- agda-misc
import TypeTheory.Nat.Operations as NatOperations
ℕ-ind : ∀ {l} (P : ℕ → Set l) → P zero → (∀ k → P k → P (suc k)) → ∀ n → P n
ℕ-ind P P-base P-step zero = P-base
ℕ-ind P P-base P-step (suc n) = P-step n (ℕ-ind P P-base P-step n)
open NatOperations ℕ zero suc ℕ-ind
(λ _ _ _ → refl) (λ _ _ _ _ → refl) public
|
oeis/328/A328621.asm | neoneye/loda-programs | 11 | 2103 | <filename>oeis/328/A328621.asm
; A328621: Multiplicative with a(p^e) = p^(2e mod p).
; Submitted by <NAME>
; 1,1,9,1,25,9,49,1,3,25,121,9,169,49,225,1,289,3,361,25,441,121,529,9,625,169,1,49,841,225,961,1,1089,289,1225,3,1369,361,1521,25,1681,441,1849,121,75,529,2209,9,2401,625,2601,169,2809,1,3025,49,3249,841,3481,225,3721,961,147,1,4225,1089,4489,289,4761,1225,5041,3,5329,1369,5625,361,5929,1521,6241,25,9,1681,6889,441,7225,1849,7569,121,7921,75,8281,529,8649,2209,9025,9,9409,2401,363,625
add $0,1
pow $0,2
sub $0,1
mul $0,4
add $0,3
mov $1,$0
seq $1,327939 ; Multiplicative with a(p^e) = p^(e-(e mod p)).
div $0,$1
add $0,1
|
orka/src/gl/interface/gl-drawing.ads | onox/orka | 52 | 21463 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<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 GL.Types;
package GL.Drawing is
pragma Preelaborate;
use GL.Types;
procedure Draw_Arrays
(Mode : Connection_Mode;
Offset, Count : Size;
Instances : Size := 1;
Base_Instance : Size := 0);
procedure Draw_Multiple_Arrays_Indirect
(Mode : Connection_Mode;
Count : Size;
Offset : Size := 0);
procedure Draw_Multiple_Arrays_Indirect_Count
(Mode : Connection_Mode;
Max_Count : Size;
Offset, Count_Offset : Size := 0);
procedure Draw_Elements
(Mode : Connection_Mode;
Count : Size;
Index_Kind : Index_Type;
Index_Offset : Natural;
Instances : Size := 1;
Base_Instance : Size := 0;
Base_Vertex : Size := 0);
procedure Draw_Multiple_Elements_Indirect
(Mode : Connection_Mode;
Index_Kind : Index_Type;
Count : Size;
Offset : Size := 0);
procedure Draw_Multiple_Elements_Indirect_Count
(Mode : Connection_Mode;
Index_Kind : Index_Type;
Max_Count : Size;
Offset, Count_Offset : Size := 0);
end GL.Drawing;
|
generated/natools-static_maps-web-acl.ads | faelys/natools-web | 1 | 6938 | <filename>generated/natools-static_maps-web-acl.ads<gh_stars>1-10
-- Generated at 2017-03-27 17:51:44 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-acl-maps.sx
package Natools.Static_Maps.Web.ACL is
pragma Pure;
type Command is
(Unknown_Command,
Is_In_All_Groups,
Is_In_Any_Group,
Is_User);
function To_Command (Key : String) return Command;
private
Map_1_Key_0 : aliased constant String := "is-in-groups";
Map_1_Key_1 : aliased constant String := "is-in-all-groups";
Map_1_Key_2 : aliased constant String := "is-in-group";
Map_1_Key_3 : aliased constant String := "is-in-any-group";
Map_1_Key_4 : aliased constant String := "is";
Map_1_Key_5 : aliased constant String := "is-user";
Map_1_Key_6 : aliased constant String := "is-any-of";
Map_1_Keys : constant array (0 .. 6) of access constant String
:= (Map_1_Key_0'Access,
Map_1_Key_1'Access,
Map_1_Key_2'Access,
Map_1_Key_3'Access,
Map_1_Key_4'Access,
Map_1_Key_5'Access,
Map_1_Key_6'Access);
Map_1_Elements : constant array (0 .. 6) of Command
:= (Is_In_All_Groups,
Is_In_All_Groups,
Is_In_Any_Group,
Is_In_Any_Group,
Is_User,
Is_User,
Is_User);
end Natools.Static_Maps.Web.ACL;
|
Appl/Art/Decks/GeoDeck/LMGrapes.asm | steakknife/pcgeos | 504 | 10395 | LMGrapes label byte
word C_BLACK
Bitmap <71,100,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x08
db 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xc0
db 0x9f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xe4
db 0x98, 0x3f, 0xd4, 0x5f, 0x60, 0x03, 0x00, 0x00,
0x24
db 0x98, 0x4f, 0xba, 0xea, 0xfe, 0x02, 0x80, 0x00,
0x24
db 0x98, 0x8f, 0x77, 0xd5, 0xd6, 0x0f, 0x78, 0x00,
0x24
db 0x99, 0x1f, 0xeb, 0xbb, 0xbc, 0x1a, 0xa8, 0x00,
0x24
db 0x9a, 0x2f, 0xdf, 0x55, 0x50, 0x7f, 0xd0, 0x00,
0x24
db 0x9a, 0x4f, 0xae, 0xaf, 0xec, 0x6a, 0xff, 0x00,
0x24
db 0x9a, 0x4f, 0x5f, 0x57, 0x77, 0xd5, 0xd5, 0x3e,
0x24
db 0x9a, 0x4f, 0xe0, 0xe1, 0xbc, 0x2a, 0xeb, 0xc1,
0x24
db 0x9a, 0x4f, 0x80, 0x40, 0xe0, 0x1d, 0x7f, 0x00,
0xa4
db 0x9a, 0x2f, 0xfe, 0x3f, 0xff, 0xce, 0xbb, 0xfc,
0x64
db 0x9a, 0x1f, 0xff, 0x1f, 0xff, 0xe7, 0x5d, 0xfe,
0x24
db 0x99, 0x07, 0xff, 0x8f, 0xff, 0xf6, 0xea, 0xff,
0x24
db 0x9f, 0xc1, 0x22, 0x40, 0x3d, 0x55, 0x5d, 0x4d,
0xa4
db 0x9a, 0xa0, 0xa2, 0x30, 0xda, 0xef, 0xae, 0xfa,
0xe4
db 0x9d, 0x78, 0x42, 0x0f, 0x3f, 0xd7, 0xf7, 0xf5,
0xa4
db 0x9a, 0xae, 0x24, 0x00, 0x6a, 0xab, 0xfb, 0x6a,
0xe4
db 0x9d, 0x5e, 0x1c, 0x00, 0xd5, 0xf5, 0xcd, 0x55,
0xa4
db 0x9b, 0xaf, 0x0c, 0x00, 0x3b, 0xbb, 0x4f, 0x6f,
0xe4
db 0x9e, 0xff, 0x8f, 0x00, 0x1d, 0x57, 0x72, 0xd5,
0x24
db 0x9a, 0x6f, 0xca, 0xf0, 0x7a, 0xb3, 0x93, 0xbe,
0xe4
db 0x9e, 0x6f, 0x4d, 0x50, 0x77, 0xfc, 0x9f, 0xd5,
0xe4
db 0x9a, 0x6f, 0x5e, 0xa0, 0x1e, 0xac, 0xf2, 0xbe,
0x24
db 0x9e, 0x6f, 0x75, 0xfe, 0x05, 0x93, 0x92, 0xbe,
0x24
db 0x9d, 0xdf, 0xea, 0xaa, 0x07, 0x13, 0x9f, 0xb6,
0x24
db 0x99, 0x4f, 0x77, 0xd4, 0x06, 0x0c, 0xe5, 0x48,
0x24
db 0x98, 0x8f, 0x2e, 0xff, 0x04, 0x04, 0xe7, 0x48,
0x24
db 0x98, 0xcf, 0x3d, 0x55, 0x08, 0x0b, 0x9c, 0xb0,
0x24
db 0x99, 0x2f, 0x0a, 0xeb, 0x08, 0x09, 0x9c, 0xc8,
0x24
db 0x99, 0x1f, 0x8d, 0xd5, 0x10, 0x06, 0x73, 0xc8,
0x24
db 0x99, 0x1f, 0x9a, 0xba, 0xa0, 0x02, 0x73, 0x30,
0x24
db 0x9a, 0x2f, 0x55, 0x55, 0x40, 0x01, 0x9d, 0x20,
0x24
db 0x9a, 0x2f, 0x3e, 0xaa, 0xc0, 0x00, 0x92, 0xc0,
0x24
db 0x9a, 0x2f, 0x23, 0x57, 0xc0, 0x00, 0x72, 0x40,
0x24
db 0x9a, 0x1f, 0x42, 0xaa, 0x00, 0x00, 0x9e, 0x40,
0x24
db 0x9a, 0x0f, 0x45, 0x16, 0x00, 0x00, 0x93, 0x80,
0x24
db 0x9f, 0x03, 0x85, 0x0e, 0x00, 0x00, 0x7b, 0x00,
0x24
db 0x9d, 0x8e, 0x08, 0x01, 0x80, 0x00, 0x4d, 0x00,
0x24
db 0x9b, 0xf8, 0x08, 0x00, 0x70, 0x00, 0x5e, 0x00,
0xe4
db 0x9f, 0x40, 0x70, 0x00, 0x0e, 0x00, 0x32, 0x03,
0x24
db 0x9a, 0xc1, 0x88, 0x00, 0x01, 0xe0, 0x2c, 0x0c,
0x24
db 0x9f, 0x83, 0x88, 0x00, 0x00, 0x1c, 0x24, 0x30,
0x24
db 0x9b, 0x07, 0x88, 0x00, 0x00, 0x03, 0x9f, 0xc0,
0x24
db 0x9d, 0x1f, 0x44, 0x00, 0x00, 0x00, 0x70, 0x00,
0x24
db 0x9b, 0x1f, 0x44, 0x00, 0x00, 0x00, 0xc0, 0x00,
0x24
db 0x9d, 0x2f, 0xe2, 0x00, 0x00, 0x03, 0x00, 0x00,
0x24
db 0x9f, 0x2f, 0xe2, 0x00, 0x00, 0x04, 0x00, 0x00,
0x24
db 0x9a, 0xbd, 0x62, 0x00, 0x00, 0x08, 0x00, 0x00,
0x24
db 0x98, 0xaa, 0xc2, 0x00, 0x00, 0x70, 0x00, 0x00,
0x24
db 0x99, 0xf5, 0xe3, 0x00, 0x00, 0x80, 0x00, 0x00,
0x24
db 0x99, 0xfe, 0xb7, 0xc0, 0x03, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x55, 0x5d, 0x70, 0x04, 0x00, 0x00, 0x00,
0x24
db 0x99, 0xaf, 0xb2, 0xbc, 0x08, 0x00, 0x00, 0x00,
0x24
db 0x9b, 0xfd, 0xd3, 0xf6, 0x10, 0x00, 0x00, 0x00,
0x24
db 0x9a, 0xaa, 0xfe, 0xef, 0x20, 0x00, 0x00, 0x00,
0x24
db 0x9b, 0x5d, 0x4e, 0x5d, 0x40, 0x00, 0x00, 0x00,
0x24
db 0x9e, 0xae, 0xc9, 0xfe, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9d, 0x75, 0x69, 0x35, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9a, 0xaa, 0xaf, 0xba, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9d, 0x55, 0xf2, 0xc5, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9f, 0xab, 0x12, 0x64, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9b, 0x5d, 0x2d, 0xdc, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x9f, 0xa2, 0x65, 0x53, 0xff, 0xff, 0xff, 0xff,
0xe4
db 0x99, 0xc0, 0x99, 0xf2, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x83, 0x8e, 0x9c, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x0f, 0x84, 0xb4, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x47, 0xe4, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x2f, 0x46, 0x78, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x2f, 0x22, 0xd4, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x9f, 0x23, 0x94, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x9f, 0x23, 0xf8, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x4f, 0x22, 0x64, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0xbf, 0xc2, 0x64, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x8f, 0x43, 0xf8, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x44, 0x90, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x28, 0x90, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x18, 0x68, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x90, 0x08, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x90, 0x04, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x48, 0x04, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x8f, 0x48, 0x02, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x8f, 0x44, 0x02, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x9f, 0x84, 0x01, 0x00, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x64, 0x08, 0x00, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x40, 0x10, 0x00, 0x80, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x40, 0x60, 0x00, 0x60, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x8f, 0x90, 0x00, 0x10, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x9f, 0x88, 0x00, 0x0c, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x88, 0x00, 0x02, 0x00, 0x00, 0x00,
0x24
db 0x99, 0x1f, 0x44, 0x00, 0x01, 0x00, 0x00, 0x00,
0x24
db 0x98, 0x9f, 0x44, 0x00, 0x00, 0x80, 0x00, 0x00,
0x44
db 0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x8c
db 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18
db 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x38
db 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xe0
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
|
test/Test.agda | andreasabel/S | 6 | 4153 | --- Sample Sit file
{-# OPTIONS --experimental-irrelevance #-}
{-# OPTIONS --sized-types #-}
open import Base
--; --- Leibniz-equality
Eq : forall (A : Set) (a b : A) -> Set1 --;
Eq = \ A a b -> (P : A -> Set) -> (P a) -> P b
--; --- Reflexivity
refl : forall (A : Set) (a : A) -> Eq A a a --;
refl = \ A a P pa -> pa
--; --- Symmetry
sym : forall (A : Set) (a b : A) -> Eq A a b -> Eq A b a --;
sym = \ A a b eq P pb -> eq (\ x -> P x -> P a) (\ pa -> pa) pb
--; --- Transitivity
trans : forall (A : Set) (a b c : A) -> Eq A a b -> Eq A b c -> Eq A a c --;
trans = \ A a b c p q P pa -> q P (p P pa)
--; --- Congruence
cong : forall (A B : Set) (f : A -> B) (a a' : A) -> Eq A a a' -> Eq B (f a) (f a') --;
cong = \ A B f a a' eq P pfa -> eq (\ x -> P (f x)) pfa
--; --- Addition
plus : forall .i -> Nat i -> Nat oo -> Nat oo --;
plus = \ i x y ->
fix (\ i x -> Nat oo)
(\ _ f -> \
{ (zero _) -> y
; (suc _ x) -> suc oo (f x)
})
x
--; --- Unit tests for plus
inc : Nat oo -> Nat oo --;
inc = \ x -> suc oo x --;
one : Nat oo --;
one = inc (zero oo) --;
two : Nat oo --;
two = inc one --;
three : Nat oo --;
three = inc two --;
four : Nat oo --;
four = inc three --;
five : Nat oo --;
five = inc four --;
six : Nat oo --;
six = inc five --;
plus_one_zero : Eq (Nat oo) (plus oo one (zero oo)) one --;
plus_one_zero = refl (Nat oo) one --;
plus_one_one : Eq (Nat oo) (plus oo one one) two --;
plus_one_one = refl (Nat oo) two --;
--; --- Reduction rules for plus
plus_red_zero : forall .i (y : Nat oo) -> Eq (Nat oo) (plus (i + 1) (zero i) y) y --;
plus_red_zero = \ i y -> refl (Nat oo) y --;
plus_red_suc : forall .i (x : Nat i) (y : Nat oo) -> Eq (Nat oo) (plus (i + 1) (suc i x) y) (suc oo (plus i x y)) --;
plus_red_suc = \ i x y -> refl (Nat oo) (suc oo (plus i x y)) --;
--; --- Law: x + 0 = x
plus_zero : forall .i (x : Nat i) -> Eq (Nat oo) (plus i x (zero oo)) x --;
plus_zero = \ i x ->
fix (\ i x -> Eq (Nat oo) (plus i x (zero oo)) x)
(\ j f -> \
{ (zero _) -> refl (Nat oo) (zero oo)
; (suc _ y) -> cong (Nat oo) (Nat oo) inc (plus j y (zero oo)) y (f y)
})
x
--; --- Law: x + suc y = suc x + y
plus_suc : forall .i (x : Nat i) (y : Nat oo) -> Eq (Nat oo) (plus i x (inc y)) (inc (plus i x y)) --;
plus_suc = \ i x y ->
fix (\ i x -> Eq (Nat oo) (plus i x (inc y)) (inc (plus i x y)))
(\ j f -> \
{ (zero _) -> refl (Nat oo) (inc y)
; (suc _ x') -> cong (Nat oo) (Nat oo) inc (plus j x' (inc y)) (inc (plus j x' y)) (f x')
})
x
--; --- Another definition of addition
plus' : forall .i -> Nat i -> Nat oo -> Nat oo --;
plus' = \ i x ->
fix (\ i x -> Nat oo -> Nat oo)
(\ _ f -> \
{ (zero _) -> \ y -> y
; (suc _ x) -> \ y -> suc oo (f x y)
})
x
--; --- Predecessor
pred : forall .i -> Nat i -> Nat i --;
pred = \ i n ->
fix (\ i _ -> Nat i)
(\ i _ -> \{ (zero _) -> zero i ; (suc _ y) -> y })
n
--; --- Subtraction
sub : forall .j -> Nat j -> forall .i -> Nat i -> Nat i --;
sub = \ j y ->
fix (\ _ _ -> forall .i -> Nat i -> Nat i)
(\ _ f -> \
{ (zero _) -> \ i x -> x
; (suc _ y) -> \ i x -> f y i (pred i x)
}) --- pred i (f y i x) })
y
--; --- Lemma: x - x == 0
sub_diag : forall .i (x : Nat i) -> Eq (Nat oo) (sub i x i x) (zero oo) --;
sub_diag = \ i x ->
fix (\ i x -> Eq (Nat oo) (sub i x i x) (zero oo))
(\ _ f -> \
{ (zero _) -> refl (Nat oo) (zero oo)
; (suc _ y) -> f y
})
x
--- Large eliminations
--; --- Varying arity
Fun : forall .i (n : Nat i) (A : Set) (B : Set) -> Set --;
Fun = \ i n A B ->
fix (\ _ _ -> Set)
(\ _ f -> \
{ (zero _) -> B
; (suc _ x) -> A -> f x
})
n
--; --- Type of n-ary Sum function
Sum : forall .i (n : Nat i) -> Set --;
Sum = \ i n -> Nat oo -> Fun i n (Nat oo) (Nat oo)
--; --- n-ary summation function
sum : forall .i (n : Nat i) -> Sum i n --;
sum = \ _ n ->
fix (\ i n -> Sum i n)
(\ _ f -> \
{ (zero _) -> \ acc -> acc
; (suc _ x) -> \ acc -> \ k -> f x (plus oo k acc)
})
n
--; --- Testing sum
sum123 : Eq (Nat oo) (sum oo three (zero oo) one two three) six --;
sum123 = refl (Nat oo) six
|
source/visibility/program-visibility.ads | optikos/oasis | 0 | 16668 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
--
-- This package is about Ada Visibility Rules as they defined in the Reference
-- Manual (Section 8).
--
-- The package provides Context type. The user populates context by creating
-- named entities and declarative regions. The user also queries the context
-- to find the view corresponding to given symbol (identifier, operator or
-- character literal).
--
-- View provides access to defining name nodes, entity kind and properties.
private with Ada.Containers.Vectors;
with Program.Elements.Defining_Names;
with Program.Symbols;
package Program.Visibility is
pragma Preelaborate;
subtype Defining_Name is
Program.Elements.Defining_Names.Defining_Name_Access;
-- Defining name AST node
subtype Symbol is Program.Symbols.Symbol;
-- A representation of an identifier, operator or character literal
function Standard return Symbol renames Program.Symbols.Standard;
-- Symbol of Standard Ada package
type View_Kind is
(Enumeration_Type_View,
Signed_Integer_Type_View,
Modular_Type_View,
Float_Point_Type_View,
Array_Type_View,
Implicit_Type_View,
Enumeration_Literal_View,
Character_Literal_View,
Subtype_View,
Exception_View,
Package_View);
-- Kind of entity view
subtype Type_View_Kind is View_Kind
range Enumeration_Type_View .. Implicit_Type_View;
-- Kind of type view
type View (Kind : View_Kind := Package_View) is private;
-- An information about a program entity
type View_Array is array (Positive range <>) of View;
-- Array of views
function Name (Self : View) return Defining_Name;
-- Get defining name of the entity
function Has_Region (Self : View) return Boolean;
-- Check if given entity could contain nested declarative region
function Enumeration_Type (Self : View) return View
with Pre => Self.Kind in
Enumeration_Literal_View | Character_Literal_View;
-- Return enumeration type for given enumeration or character literal
function Enumeration_Literals (Self : View) return View_Array
with Pre => Self.Kind = Enumeration_Type_View;
-- Return enumeration or character literals for given enumeration type
function Is_Character_Type (Self : View) return Boolean
with Pre => Self.Kind = Enumeration_Type_View;
-- If given enumeration type is a character type
function Subtype_Mark (Self : View) return View
with Pre => Self.Kind = Subtype_View;
-- Return type of subtype declaration
function Has_Constraint (Self : View) return Boolean
with Pre => Self.Kind = Subtype_View;
-- If given subtype has a constraint
function Indexes (Self : View) return View_Array
with Pre => Self.Kind = Array_Type_View;
-- Return index types for given array type
function Component (Self : View) return View
with Pre => Self.Kind = Array_Type_View;
-- Return component type for given array type
function Immediate_Visible
(Self : View;
Symbol : Program.Visibility.Symbol) return View_Array
with Pre => Has_Region (Self);
-- Return array of views for immediate visible names with given symbol
type Snapshot is tagged limited private;
-- Snapshot keeps state of a context. We save snapshots for private
-- and public parts of entities.
type Snapshot_Access is access all Snapshot'Class
with Storage_Size => 0;
type Context is tagged limited private;
-- A context keeps map from symbol to its view. It also tracks set of
-- snapshots.
not overriding procedure Create_Empty_Context
(Self : aliased in out Context);
-- Initialize a context to empty state before loading Standard package
not overriding function Create_Snapshot
(Self : aliased in out Context) return Snapshot_Access;
-- Store state of the context into a snapshot
not overriding procedure Restore_Snapshot
(Self : in out Context;
Snapshot : not null Snapshot_Access);
-- Restore snapshot. For example before leaving a package, restore
-- the snapshot of its public part.
not overriding procedure Enter_Snapshot
(Self : in out Context;
Snapshot : not null Snapshot_Access);
-- Take topmost element of the snapshot and enter its declarative region.
-- Use-case example:
--
-- declare
-- package P is
-- type T is private;
-- procedure Proc (X : T);
-- private --> Public_Snap := Create_Snapshot;
-- type T is new Integer;
-- end P; --> Private_Snap := Create_Snapshot;
--
-- --> Restore_Snapshot (Public_Snap); Leave_Declaration;
-- V : P.T;
-- package body P is --> Enter_Snapshot (Private_Snap);
--
-- not overriding procedure Start_Private_Part
-- (Self : in out Context;
-- Snapshot : not null Snapshot_Access);
-- Make private declarations visible. Current "point of view" should be
-- in a public part of a library unit. Snapshot should be taken from the
-- parent of the current unit.
-- Use-case example:
--
-- package P is
-- type T is private;
-- private --> Public_Snap := Create_Snapshot;
-- type T is new Integer;
-- end P; --> Private_Snap := Create_Snapshot;
--
-- --> Restore_Snapshot (Public_Snap); Leave_Declaration;
-- package P.Q is --> Create_Package (P.Q)
-- V : T;
-- private --> Start_Private_Part (Private_Snap);
-- --> Now we see that T is integer and its oprerations like "+", "/"
--
not overriding procedure Create_Implicit_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an implicit type view to the context.
not overriding procedure Create_Enumeration_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an enumeration type view to the context.
not overriding procedure Create_Enumeration_Literal
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add an enumeration literal view to the context.
not overriding procedure Create_Character_Literal
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add a character literal view to the context.
type Meta_Character_Literal_Kind is
(Meta_Character, Meta_Wide_Character, Meta_Wide_Wide_Character);
-- Meta character literal matches any character name in its class.
-- We use them to avoid a million of defining names in the context.
not overriding procedure Create_Character_Literal
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Meta_Character : Meta_Character_Literal_Kind;
Enumeration_Type : View)
with Pre => Enumeration_Type.Kind = Enumeration_Type_View;
-- Add a meta character literal view to the context.
not overriding procedure Create_Signed_Integer_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a signed integer type view to the context.
not overriding procedure Create_Modular_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a unsigned integer type view to the context.
not overriding procedure Create_Float_Point_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add a float point type view to the context.
not overriding procedure Create_Array_Type
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Indexes : View_Array;
Component : View)
with Pre => Component.Kind in Type_View_Kind;
-- Add an array type view to the context.
not overriding procedure Create_Subtype
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Subtype_Mark : View;
Has_Constraint : Boolean)
with Pre => Subtype_Mark.Kind in Type_View_Kind;
-- Add a subtype view to the context.
not overriding procedure Create_Package
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an empty package view to the context
not overriding procedure Create_Exception
(Self : in out Context;
Symbol : Program.Visibility.Symbol;
Name : Defining_Name);
-- Add an exception view to the context.
not overriding procedure Leave_Declarative_Region (Self : in out Context);
-- Leave current declarative region the context.
not overriding function Immediate_Visible
(Self : aliased Context;
Symbol : Program.Visibility.Symbol) return View_Array;
-- Return array of views for immediate visible names with given symbol
not overriding function Latest_View (Self : aliased Context) return View;
-- View that was added to the context
private
type Item_Offset is range 0 .. 2 ** 31 - 1;
-- kind of pointer to an Item. Zero means no value
subtype Item_Offset_Positive is Item_Offset range 1 .. Item_Offset'Last;
type Entity_Identifier is mod 2 ** 32;
package Item_Offset_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Item_Offset_Positive);
subtype Has_Region_Kind is View_Kind range Package_View .. Package_View;
type Item (Kind : View_Kind := Package_View) is record
Symbol : Program.Visibility.Symbol;
Name : Defining_Name;
Entity_Id : Entity_Identifier;
-- The index of the item from which we copied this item
case Kind is
when Has_Region_Kind =>
Region : Item_Offset_Vectors.Vector;
-- If Item has nested region, this is an indexes of its elements
when others =>
case Kind is
when Enumeration_Type_View =>
Is_Character_Type : Boolean;
Enumeration_Literals : Item_Offset_Vectors.Vector;
-- indexes of its enumeration literals
when Enumeration_Literal_View =>
Enumeration_Type : Item_Offset_Positive;
when Character_Literal_View =>
Character_Type : Item_Offset_Positive;
when Subtype_View =>
Subtype_Mark : Item_Offset_Positive;
Has_Constraint : Boolean;
when Array_Type_View =>
Indexes : Item_Offset_Vectors.Vector;
Component : Item_Offset_Positive;
when others =>
null;
end case;
end case;
end record;
type Region is record
Enclosing_Item : Item_Offset_Positive;
-- Item, that represents a declarative region
end record;
package Region_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Region);
package Item_Vectors is new Ada.Containers.Vectors
(Index_Type => Item_Offset_Positive,
Element_Type => Item);
type Snapshot is tagged limited record
Stack : Region_Vectors.Vector;
-- Context is a stack of regions
Data : Item_Vectors.Vector;
end record;
type Context is tagged limited record
Last_Entity : Entity_Identifier := 0;
-- Unique entity counter
Data : Item_Vectors.Vector;
-- All items are stored here
Stack : Region_Vectors.Vector;
-- Context is a stack of regions
end record;
type View (Kind : View_Kind := Package_View) is record
Env : access constant Context;
Index : Item_Offset_Positive;
end record;
end Program.Visibility;
|
source/nodes/program-nodes-exception_renaming_declarations.ads | reznikmm/gela | 0 | 6780 | -- 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.Aspect_Specifications;
with Program.Elements.Exception_Renaming_Declarations;
with Program.Element_Visitors;
package Program.Nodes.Exception_Renaming_Declarations is
pragma Preelaborate;
type Exception_Renaming_Declaration is
new Program.Nodes.Node
and Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration
and Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration_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;
Exception_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Renames_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Renamed_Exception : not null Program.Elements.Expressions
.Expression_Access;
With_Token : Program.Lexical_Elements.Lexical_Element_Access;
Aspects : Program.Elements.Aspect_Specifications
.Aspect_Specification_Vector_Access;
Semicolon_Token : not null Program.Lexical_Elements
.Lexical_Element_Access)
return Exception_Renaming_Declaration;
type Implicit_Exception_Renaming_Declaration is
new Program.Nodes.Node
and Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration
with private;
function Create
(Names : not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
Renamed_Exception : not null Program.Elements.Expressions
.Expression_Access;
Aspects : Program.Elements.Aspect_Specifications
.Aspect_Specification_Vector_Access;
Is_Part_Of_Implicit : Boolean := False;
Is_Part_Of_Inherited : Boolean := False;
Is_Part_Of_Instance : Boolean := False)
return Implicit_Exception_Renaming_Declaration
with Pre =>
Is_Part_Of_Implicit or Is_Part_Of_Inherited or Is_Part_Of_Instance;
private
type Base_Exception_Renaming_Declaration is
abstract new Program.Nodes.Node
and Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration
with record
Names : not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
Renamed_Exception : not null Program.Elements.Expressions
.Expression_Access;
Aspects : Program.Elements.Aspect_Specifications
.Aspect_Specification_Vector_Access;
end record;
procedure Initialize
(Self : in out Base_Exception_Renaming_Declaration'Class);
overriding procedure Visit
(Self : not null access Base_Exception_Renaming_Declaration;
Visitor : in out Program.Element_Visitors.Element_Visitor'Class);
overriding function Names
(Self : Base_Exception_Renaming_Declaration)
return not null Program.Elements.Defining_Identifiers
.Defining_Identifier_Vector_Access;
overriding function Renamed_Exception
(Self : Base_Exception_Renaming_Declaration)
return not null Program.Elements.Expressions.Expression_Access;
overriding function Aspects
(Self : Base_Exception_Renaming_Declaration)
return Program.Elements.Aspect_Specifications
.Aspect_Specification_Vector_Access;
overriding function Is_Exception_Renaming_Declaration
(Self : Base_Exception_Renaming_Declaration)
return Boolean;
overriding function Is_Declaration
(Self : Base_Exception_Renaming_Declaration)
return Boolean;
type Exception_Renaming_Declaration is
new Base_Exception_Renaming_Declaration
and Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration_Text
with record
Colon_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Exception_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Renames_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
With_Token : Program.Lexical_Elements.Lexical_Element_Access;
Semicolon_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
end record;
overriding function To_Exception_Renaming_Declaration_Text
(Self : in out Exception_Renaming_Declaration)
return Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration_Text_Access;
overriding function Colon_Token
(Self : Exception_Renaming_Declaration)
return not null Program.Lexical_Elements.Lexical_Element_Access;
overriding function Exception_Token
(Self : Exception_Renaming_Declaration)
return not null Program.Lexical_Elements.Lexical_Element_Access;
overriding function Renames_Token
(Self : Exception_Renaming_Declaration)
return not null Program.Lexical_Elements.Lexical_Element_Access;
overriding function With_Token
(Self : Exception_Renaming_Declaration)
return Program.Lexical_Elements.Lexical_Element_Access;
overriding function Semicolon_Token
(Self : Exception_Renaming_Declaration)
return not null Program.Lexical_Elements.Lexical_Element_Access;
type Implicit_Exception_Renaming_Declaration is
new Base_Exception_Renaming_Declaration
with record
Is_Part_Of_Implicit : Boolean;
Is_Part_Of_Inherited : Boolean;
Is_Part_Of_Instance : Boolean;
end record;
overriding function To_Exception_Renaming_Declaration_Text
(Self : in out Implicit_Exception_Renaming_Declaration)
return Program.Elements.Exception_Renaming_Declarations
.Exception_Renaming_Declaration_Text_Access;
overriding function Is_Part_Of_Implicit
(Self : Implicit_Exception_Renaming_Declaration)
return Boolean;
overriding function Is_Part_Of_Inherited
(Self : Implicit_Exception_Renaming_Declaration)
return Boolean;
overriding function Is_Part_Of_Instance
(Self : Implicit_Exception_Renaming_Declaration)
return Boolean;
end Program.Nodes.Exception_Renaming_Declarations;
|
test/Succeed/Issue802.agda | shlevy/agda | 1,989 | 12705 | -- Andreas, 2013-02-27 issue reported by Nisse
-- {-# OPTIONS -v tc.polarity:100 -v tc.pos:100 #-}
module Issue802 where
data I : Set where
i : I
mutual
data P : I → Set where
p : (x : I) → Q x x → P x
Q : I → I → Set
Q i = P
-- Polarity of Q should be mixed for both arguments.
f : (x y : I) → Q x y → P y
f i _ q = q
data R (x : I) : P x → Set where
r : (q : Q x x) → R _ (f x _ q) → R x (p x q)
-- Agda should solve the two meta variables in the type of r.
|
archive/agda-3/src/Oscar/Class/Functor.agda | m0davis/oscar | 0 | 8652 |
open import Oscar.Prelude
open import Oscar.Class.IsFunctor
open import Oscar.Class.Reflexivity
open import Oscar.Class.Smap
open import Oscar.Class.Surjection
open import Oscar.Class.Transitivity
module Oscar.Class.Functor where
record Functor 𝔬₁ 𝔯₁ ℓ₁ 𝔬₂ 𝔯₂ ℓ₂ : Ø ↑̂ (𝔬₁ ∙̂ 𝔯₁ ∙̂ ℓ₁ ∙̂ 𝔬₂ ∙̂ 𝔯₂ ∙̂ ℓ₂) where
constructor ∁
field
{𝔒₁} : Ø 𝔬₁
_∼₁_ : 𝔒₁ → 𝔒₁ → Ø 𝔯₁
_∼̇₁_ : ∀ {x y} → x ∼₁ y → x ∼₁ y → Ø ℓ₁
ε₁ : Reflexivity.type _∼₁_
_↦₁_ : Transitivity.type _∼₁_
{𝔒₂} : Ø 𝔬₂
_∼₂_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂
_∼̇₂_ : ∀ {x y} → x ∼₂ y → x ∼₂ y → Ø ℓ₂
ε₂ : Reflexivity.type _∼₂_
_↦₂_ : Transitivity.type _∼₂_
{μ} : Surjection.type 𝔒₁ 𝔒₂
functor-smap : Smap.type _∼₁_ _∼₂_ μ μ -- FIXME cannot name this § or smap b/c of namespace conflict
⦃ `IsFunctor ⦄ : IsFunctor _∼₁_ _∼̇₁_ ε₁ _↦₁_ _∼₂_ _∼̇₂_ ε₂ _↦₂_ functor-smap
|
test/Succeed/NonStrictField.agda | cruhland/agda | 1,989 | 11570 | <reponame>cruhland/agda
{-# OPTIONS --experimental-irrelevance #-}
record NonStrict (A : Set) : Set where
constructor [_]
field
..! : A
open NonStrict
map-ns : {A B : Set} (f : A → B) → NonStrict A → NonStrict B
map-ns f [ x ] = [ f x ]
open import Agda.Builtin.Nat
data Vec (A : Set) : NonStrict Nat → Set where
[] : Vec A [ 0 ]
_∷_ : .{n : Nat} → A → Vec A [ n ] → Vec A [ suc n ]
map : ∀ {A B} .{n} (f : A → B) → Vec A [ n ] → Vec B [ n ]
map f [] = []
map f (x ∷ xs) = (f x) ∷ (map f xs)
|
tests/rename-register-1.asm | skyzh/RISCV-Simulator | 106 | 1794 | <gh_stars>100-1000
.text
li a1, 100
addi a1, a1, 100
addi a1, a1, 100
addi a1, a1, 100
addi a1, a1, 100
addi a1, a1, 100
addi a1, a1, 100
addi a1, a1, 100
mv a0, a1
nop
nop
nop
nop
li a2,255
lui a3,0x30
sb a2,4(a3)
nop
nop
nop
|
source/contexts/plain/program-plain_compilations.adb | reznikmm/gela | 0 | 4694 | <filename>source/contexts/plain/program-plain_compilations.adb
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Handlers;
with Program.Scanner_Destinations;
with Program.Scanners;
with Program.Symbols;
package body Program.Plain_Compilations is
type Scanner_Destination
(Comp : not null access Compilation;
Scanner : not null access Program.Scanners.Scanner)
is
new Program.Scanner_Destinations.Scanner_Destination with
record
Line_From : Positive := 1;
end record;
overriding procedure New_Line
(Self : in out Scanner_Destination;
Unused : Positive);
overriding procedure New_Token
(Self : in out Scanner_Destination;
Token : Program.Scanner_Destinations.Token);
procedure Read_All_Tokens
(Self : access Compilation;
Buffer : Program.Source_Buffers.Source_Buffer_Access);
-------------
-- Context --
-------------
overriding function Context
(Self : Compilation) return not null Program.Contexts.Context_Access is
begin
return Program.Contexts.Context_Access (Self.Context);
end Context;
--------------
-- Get_Span --
--------------
overriding procedure Get_Span
(Self : Compilation;
Span : Program.Source_Buffers.Span;
From_Line : out Positive;
To_Line : out Positive;
From_Column : out Positive;
To_Column : out Positive) is
begin
for J in Self.Line_Spans.First_Index .. Self.Line_Spans.Last_Index loop
declare
SJ : constant Program.Source_Buffers.Span := Self.Line_Spans (J);
begin
if Span.From in SJ.From .. SJ.To then
From_Line := J;
From_Column := Span.From - SJ.From + 1;
for K in J .. Self.Line_Spans.Last_Index loop
declare
SK : constant Source_Buffers.Span := Self.Line_Spans (K);
begin
if Span.To in SK.From .. SK.To then
To_Line := K;
To_Column := Span.To - SK.From + 1;
return;
end if;
end;
end loop;
end if;
end;
end loop;
raise Constraint_Error;
end Get_Span;
----------------
-- Initialize --
----------------
procedure Initialize
(Self : in out Compilation'Class;
Context : not null Program.Contexts.Context_Access) is
begin
Self.Context := Plain_Context_Access (Context);
end Initialize;
---------------------
-- Lexical_Element --
---------------------
overriding function Lexical_Element
(Self : Compilation;
Index : Positive)
return Program.Lexical_Elements.Lexical_Element_Access is
begin
return Self.Tokens.Element (Index);
end Lexical_Element;
---------------------------
-- Lexical_Element_Count --
---------------------------
overriding function Lexical_Element_Count
(Self : Compilation) return Natural is
begin
return Self.Tokens.Length;
end Lexical_Element_Count;
----------
-- Line --
----------
overriding function Line
(Self : Compilation;
Index : Positive) return Program.Text is
begin
return Self.Buffer.Text (Self.Line_Spans (Index));
end Line;
----------------
-- Line_Count --
----------------
overriding function Line_Count (Self : Compilation) return Natural is
begin
return Self.Line_Spans.Last_Index;
end Line_Count;
--------------
-- New_Line --
--------------
overriding procedure New_Line
(Self : in out Scanner_Destination;
Unused : Positive)
is
Span : constant Program.Source_Buffers.Span :=
Self.Scanner.Get_Span;
begin
Self.Comp.Line_Spans.Append
((From => Self.Line_From,
To => Span.From - 1));
Self.Line_From := Span.To + 1;
end New_Line;
---------------
-- New_Token --
---------------
overriding procedure New_Token
(Self : in out Scanner_Destination;
Token : Program.Scanner_Destinations.Token)
is
use all type Program.Lexical_Elements.Lexical_Element_Kind;
Symbol : Program.Symbols.Symbol := Program.Symbols.No_Symbol;
begin
if Token.Kind = Identifier then
Self.Comp.Context.Find_Or_Create_Symbol
(Self.Comp.Buffer'Unchecked_Access, Token.Span, Symbol);
elsif Token.Kind in Character_Literal | String_Literal then
Symbol := Self.Comp.Context.Find (Self.Comp.Buffer.Text (Token.Span));
elsif Token.Kind in Program.Lexical_Elements.Operator_Kind then
Symbol := Program.Symbols.To_Symbol (Token.Kind);
end if;
Self.Comp.Tokens.Append
(Token.Span,
Token.Kind,
Symbol);
end New_Token;
-----------------
-- Object_Name --
-----------------
overriding function Object_Name (Self : Compilation) return Program.Text is
begin
return Ada.Strings.Wide_Wide_Unbounded.To_Wide_Wide_String
(Self.Object_Name);
end Object_Name;
----------------
-- Parse_File --
----------------
not overriding procedure Parse_File
(Self : aliased in out Compilation;
Text_Name : Program.Text;
Units : out Program.Parsers.Unit_Vectors.Vector;
Pragmas : out Program.Parsers.Element_Vectors.Vector;
Standard : Boolean := False) is
begin
Self.Text_Name := Ada.Strings.Wide_Wide_Unbounded.
To_Unbounded_Wide_Wide_String (Text_Name);
Self.Buffer.Initialize (Text_Name);
Self.Read_All_Tokens (Self.Buffer'Unchecked_Access);
Program.Parsers.Parse
(Self'Unchecked_Access,
Self.Tokens'Unchecked_Access,
Self.Subpool,
Units,
Pragmas,
Standard);
end Parse_File;
---------------------
-- Read_All_Tokens --
---------------------
procedure Read_All_Tokens
(Self : access Compilation;
Buffer : Program.Source_Buffers.Source_Buffer_Access)
is
Token : Program.Lexical_Elements.Lexical_Element_Kind;
Scanner : aliased Program.Scanners.Scanner;
Dest : aliased Scanner_Destination (Self, Scanner'Access);
Handler : aliased Program.Lexical_Handlers.Handler (Dest'Access);
begin
Buffer.Rewind;
Scanner.Set_Source (Buffer);
Scanner.Set_Handler (Handler'Unchecked_Access);
loop
Scanner.Get_Token (Token);
exit when Token in Program.Lexical_Elements.End_Of_Input;
end loop;
end Read_All_Tokens;
----------
-- Text --
----------
overriding function Text
(Self : Compilation;
Span : Program.Source_Buffers.Span) return Program.Text is
begin
return Self.Buffer.Text (Span);
end Text;
---------------
-- Text_Name --
---------------
overriding function Text_Name (Self : Compilation) return Program.Text is
begin
return Ada.Strings.Wide_Wide_Unbounded.To_Wide_Wide_String
(Self.Text_Name);
end Text_Name;
end Program.Plain_Compilations;
|
Along32/src/Along32.asm | samdmarshall/x86-Enigma | 17 | 100494 | ; Along32 Link Library Source Code ( Along32.asm )
; Copyright (C) 2009 <NAME>.
; All right reserved.
; Email: <EMAIL>
; Homepage: http://along32.sourceforge.net
;
; This file is part of Along32 library.
;
; Along32 library is free software: you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as
; published by the Free Software Foundation, either version 3 of the
; License, or(at your option) any later version.
;
; Along32 library 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 Lesser General Public License for more details.
;
; You should have received a copy of the GNU Lesser General Public License
; along with Along32 library. If not, see <http://www.gnu.org/licenses/>.
;
;
; Recent Updates:
; 2009/05/25: The main body of this file
; 2009/08/19: add comments
; 2010/04/15: fix the bug in ReadInt, and a bug in ReadHex. ReadHex will
; generate a segmentation fault.
;
; This library was created by <NAME>, for use with the book, "Assembly Language for Intel-based Computers", 4th Edition & 5th Edition, modified from Irvine32.asm.
;
; Function Prototypes
; -------------- global functions ------------
; Clrscr : Writes a carriage return / linefeed
; Crlf : output a new line
; Delay : Delay certain microseconds
; Gotoxy : Locate the cursor
; IsDigit : Determines whether the character in AL is a valid decimal digit.
; DumpMem : Writes a range of memory to standard output in hexadecimal.
; ParseDecimal32: convert the number string to a decimal number
; ParseInteger32 : Converts a string containing a signed decimal integer to binary.
; Str_length : compute the length of null-teminated string
; Str_compare : Compare two strings.
; Str_trim : Remove all occurences of a given character from the end of a string.
; Str_ucase : Convert a null-terminated string to upper case.
; BufferFlush: flush the buffer and reset the related variables
; Random32 : Generates an unsigned pseudo-random 32-bit integer
; Randomize : Re-seeds the random number generator with the current time in seconds.
; RandomRange : Returns an unsigned pseudo-random 32-bit integer in EAX, between 0 and n-1.
; ReadKeys: read certain number of characters from buffer
; ReadDec : read Decimal number from buffer
; ReadHex : Reads a 32-bit hexadecimal integer from the keyboard
; ReadInt : Reads a 32-bit signed decimal integer from standard input
; ReadString : read string from input buffer
; ReadChar : read a character from stdin
; WriteBin : write a 32-bit binary number to console( interface )
; WriteBinB : write a 32-bit binary number to console
; WriteChar : write a character to stdout
; WriteDec : write a decimal number to stdout
; WriteHex : Writes an unsigned 32-bit hexadecimal number to the console window.
; WriteHexB : Writes an unsigned 32-bit hexadecimal number to the console window.
; WriteInt : Writes a 32-bit signed binary integer to the console window in ASCII decimal.
; WriteString : output a null-terminated string
; -------------- private functions -----------
; AsciiDigit : convert the actual number to ascii represetation
; HexByte : Display the byte in AL in hexadecimal
%include "Macros_Along.inc"
%ifnmacro ShowFlag
;---------------------------------------------------------------------
%macro ShowFlag 2.nolist
;
; Helper macro.
; Display a single CPU flag value
; Directly accesses the eflags variable in Along32.asm
; (This macro cannot be placed in Macros.inc)
;---------------------------------------------------------------------
segment .data
%%flagStr: db " ",%1, "="
%%flagVal: db 0,0
segment .text
push eax
push edx
mov eax, dword [eflags] ; retrieve the flags
mov byte [%%flagVal],'1'
shr eax, %2 ; shift into carry flag
jc %%L1
mov byte [%%flagVal],'0'
%%L1:
mov edx, %%flagStr ; display flag name and value
call WriteString
pop edx
pop eax
%endmacro
%endif
%ifnmacro CheckInit
;-------------------------------------------------------------
%macro CheckInit 0.nolist
;
; Helper macro
; Check to see if the console handles have been initialized
; If not, initialize them now.
;-------------------------------------------------------------
cmp byte [InitFlag],0
jne %%exit
mov byte [InitFlag],1
call BufferFlush
%%exit:
%endmacro
%endif
;-------------------------------------------------------------
; import libc functions
extern printf
%assign MAX_DIGITS 80
%define ESC 27 ; escape code
segment .data ; initialized data
InitFlag DB 0 ; initialization flag
xtable db "0123456789ABCDEF"
segment .bss ; uninitialized data
bytesWritten: resd 1 ; number of bytes written
eflags: resd 1
digitBuffer: resb MAX_DIGITS + 1
timeSetting:
istruc timespec
at tv_sec, resd 1
at tv_nsec, resd 1
iend
buffer resb 512
%assign bufferMax $-buffer
bytesRead resd 1
bufferCnt resd 1
segment .text
; --------------------------------------------------------
; make the functions global as the shared library functions
; --------------------------------------------------------
global Clrscr:function, Crlf:function, Delay:function, DumpMem:function, DumpRegs:function, Gotoxy:function, IsDigit:function, ParseDecimal32:function, ParseInteger32:function, Random32:function, Randomize:function, RandomRange:function, ReadChar:function, ReadDec:function, ReadHex:function, ReadInt:function, ReadKey:function, ReadString:function, Str_compare:function, Str_copy:function, Str_length:function, Str_trim:function, Str_ucase:function, WriteBin:function, WriteBinB:function, WriteChar:function, WriteDec:function, WriteHex:function, WriteHexB:function, WriteInt:function, WriteString:function
;----------------------------------------------------------
;-----------------------------------------------------
Clrscr:
;
; First, write the control characters to stdout to clear the screen.
; Then move the cursor to 0,0 on the screen.
;-----------------------------------------------------
segment .data
clrStr db ESC, "[2J", 0
segment .text
push edx
mov edx, clrStr
call WriteString ; clear the screen by escape code sequance
mov edx, 0
call Gotoxy
pop edx
ret
;--------------- End of Clrscr -----------------------
;-----------------------------------------------------
Crlf:
;
; Writes a carriage return / linefeed
; sequence (0Dh,0Ah) to standard output.
;-----------------------------------------------------
mWrite {0dh,0ah} ; invoke a macrao in Macro_Along.inc
ret
;--------------- End of Crlf -------------------------
;------------------------------------------------------
Delay:
;
; Delay (pause) the current process for a given number
; of milliseconds.
; Use the struct timeSetting in Linux
; Receives: EAX = number of milliseconds
; Returns: nothing
;------------------------------------------------------
pushad
mov edx, 0
mov ecx, 1000
div ecx
mov dword [timeSetting + tv_sec], eax
mov eax, edx
mov edx, 0
mov ecx, 1000000
mul ecx
mov dword [timeSetting + tv_nsec], eax
mov ecx, 0
mov ebx, timeSetting
mov eax, 162
int 80h
popad
ret
;--------------- End of Delay -------------------------
;--------------------------------------------------------
Gotoxy:
;
; Locate the cursor
; Receives: DH = screen row, DL = screen column
; Last update: 7/11/01
;--------------------------------------------------------
segment .data
locateStr db ESC, "[%d;%dH", 0
segment .text
push eax
movzx eax,dl
push eax
movzx eax,dh
push eax
push dword locateStr
call printf ; call the libc function printf
add esp, 12
pop eax
ret
;--------------- End of Gotoxy -------------------------
;-----------------------------------------------
IsDigit:
;
; Determines whether the character in AL is a
; valid decimal digit.
; Receives: AL = character
; Returns: ZF=1 if AL contains a valid decimal
; digit; otherwise, ZF=0.
;-----------------------------------------------
cmp al,'0'
jb .ID1
cmp al,'9'
ja .ID1
test ax,0 ; set ZF = 1
.ID1:
ret
;--------------- End of IsDigit ----------------------
;---------------------------------------------------
DumpMem:
;
; Writes a range of memory to standard output
; in hexadecimal.
; Receives: ESI = starting offset, ECX = number of units,
; EBX = unit size (1=byte, 2=word, or 4=doubleword)
; Returns: nothing
;---------------------------------------------------
segment .data
oneSpace: db ' ',0
dumpPrompt: db 13,10,"Dump of offset ",0
dashLine: db "-------------------------------",13,10,0
segment .text
enter 8, 0 ; [ebp - 4]: unit size; [ebp - 8]: number of units
pushad
mov edx, dumpPrompt
call WriteString
mov eax,esi ; get memory offset to dump
call WriteHex
call Crlf
mov edx, dashLine
call WriteString
mov dword [ebp - 8],0
mov dword [ebp - 4],ebx
cmp ebx,4 ; select output size
je .L1
cmp ebx,2
je .L2
jmp .L3
; 32-bit doubleword output
.L1:
mov eax,dword [esi]
call WriteHex
mWriteSpace 2
add esi,ebx
Loop .L1
jmp .L4
; 16-bit word output
.L2:
mov ax,word [esi] ; get a word from memory
ror ax,8 ; display high byte
call HexByte
ror ax,8 ; display low byte
call HexByte
mWriteSpace 1 ; display 1 space
add esi,ebx ; point to next word
Loop .L2
jmp .L4
; 8-bit byte output, 16 bytes per line
.L3:
mov al,byte [esi]
call HexByte
inc dword [ebp - 8]
mWriteSpace 1
inc esi
; if( byteCount mod 16 == 0 ) call Crlf
mov dx,0
mov ax, word [ebp - 8]
mov bx,16
div bx
cmp dx,0
jne .L3B
call Crlf
.L3B:
Loop .L3
jmp .L4
.L4:
call Crlf
popad
leave
ret
;--------------- End of DumpMem -------------------------
;---------------------------------------------------
DumpRegs:
;
; Displays EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP in
; hexadecimal. Also displays the Zero, Sign, Carry, and
; Overflow flags.
; Receives: nothing.
; Returns: nothing.
;
; Warning: do not create any local variables or stack
; parameters, because they will alter the EBP register.
;---------------------------------------------------
segment .data
saveIP dd 0
saveESP dd 0
segment .text
pop dword [saveIP] ; get current EIP
mov dword [saveESP],esp ; save ESP's value at entry
push dword [saveIP] ; replace it on stack
push eax ; save EAX (restore on exit)
pushfd ; push extended flags
pushfd ; push flags again, and
pop dword [eflags] ; save them in a variable
call Crlf
mShowRegister "EAX",EAX
mShowRegister "EBX",EBX
mShowRegister "ECX",ECX
mShowRegister "EDX",EDX
call Crlf
mShowRegister "ESI",ESI
mShowRegister "EDI",EDI
mShowRegister "EBP",EBP
mov eax, dword [saveESP]
mShowRegister "ESP",EAX
call Crlf
mov eax, dword [saveIP]
mShowRegister "EIP",EAX
mov eax, dword [eflags]
mShowRegister "EFL",EAX
; Show the flags (using the eflags variable). The integer parameter indicates
; how many times EFLAGS must be shifted right to shift the selected flag
; into the Carry flag.
ShowFlag "CF",1
ShowFlag "SF",8
ShowFlag "ZF",7
ShowFlag "OF",12
ShowFlag "AF",5
ShowFlag "PF",3
call Crlf
call Crlf
popfd
pop eax
ret
;--------------- End of DumpRegs ---------------------
;--------------------------------------------------------
ParseDecimal32:
;
; Converts (parses) a string containing an unsigned decimal
; integer, and converts it to binary. All valid digits occurring
; before a non-numeric character are converted.
; Leading spaces are ignored.
; Receives: EDX = offset of string, ECX = length
; Returns:
; If the integer is blank, EAX=0 and CF=1
; If the integer contains only spaces, EAX=0 and CF=1
; If the integer is larger than 2^32-1, EAX=0 and CF=1
; Otherwise, EAX=converted integer, and CF=0
;--------------------------------------------------------
enter 4, 0
push ebx
push ecx
push edx
push esi
mov esi,edx ; save offset in ESI
cmp ecx,0 ; length greater than zero?
jne .L1 ; yes: continue
mov eax,0 ; no: set return value
jmp .L5 ; and exit with CF=1
; Skip over leading spaces, tabs
.L1: mov al, byte [esi] ; get a character from buffer
cmp al,' ' ; space character found?
je .L1A ; yes: skip it
cmp al,TAB ; TAB found?
je .L1A ; yes: skip it
jmp .L2 ; no: goto next step
.L1A:
inc esi ; yes: point to next char
loop .L1 ; continue searching until end of string
jmp .L5 ; exit with CF=1 if all spaces
; Start to convert the number.
.L2: mov eax,0 ; clear accumulator
mov ebx,10 ; EBX is the divisor
; Repeat loop for each digit.
.L3: mov dl, byte [esi] ; get character from buffer
cmp dl,'0' ; character < '0'?
jb .L4
cmp dl,'9' ; character > '9'?
ja .L4
and edx,0Fh ; no: convert to binary
mov dword [ebp - 4],edx
mul ebx ; EDX:EAX = EAX * EBX
jc .L5 ; quit if Carry (EDX > 0)
mov edx, dword [ebp - 4]
add eax,edx ; add new digit to sum
jc .L5 ; quit if Carry generated
inc esi ; point to next digit
jmp .L3 ; get next digit
.L4: clc ; succesful completion (CF=0)
jmp .L6
.L5: mov eax,0 ; clear result to zero
stc ; signal an error (CF=1)
.L6:
pop esi
pop edx
pop ecx
pop ebx
leave
ret
;--------------- End of ParseDecimal32 ---------------------
;--------------------------------------------------------
ParseInteger32:
;
; Converts a string containing a signed decimal integer to
; binary.
;
; All valid digits occurring before a non-numeric character
; are converted. Leading spaces are ignored, and an optional
; leading + or - sign is permitted. If the string is blank,
; a value of zero is returned.
;
; Receives: EDX = string offset, ECX = string length
; Returns: If CF=0, the integer is valid, and EAX = binary value.
; If CF=1, the integer is invalid and EAX = 0.
;
; Created 7/15/05, using <NAME>'s 10/10/03 corrections.
; Updated 7/19/05, to skip over tabs
;--------------------------------------------------------
segment .data
overflow_msgL db " <32-bit integer overflow>",0
invalid_msgL db " <invalid integer>",0
segment .text
enter 8, 0 ; [ebp - 4]: Lsign; [ebp - 8]:saveDigit
push ebx
push ecx
push edx
push esi
mov dword [ebp - 4],1 ; assume number is positive
mov esi,edx ; save offset in SI
cmp ecx,0 ; length greater than zero?
jne .L1 ; yes: continue
mov eax,0 ; no: set return value
jmp .L10 ; and exit
; Skip over leading spaces and tabs.
.L1: mov al, byte [esi] ; get a character from buffer
cmp al,' ' ; space character found?
je .L1A ; yes: skip it
cmp al,TAB ; TAB found?
je .L1A ; yes: skip it
jmp .L2 ; no: goto next step
.L1A:
inc esi ; yes: point to next char
loop .L1 ; continue searching until end of string
mov eax,0 ; all spaces?
jmp .L10 ; return 0 as a valid value
; Check for a leading sign.
.L2: cmp al,'-' ; minus sign found?
jne .L3 ; no: look for plus sign
mov dword [ebp - 4],-1 ; yes: sign is negative
dec ecx ; subtract from counter
inc esi ; point to next char
jmp .L3A
.L3: cmp al,'+' ; plus sign found?
jne .L3A ; no: skip
inc esi ; yes: move past the sign
dec ecx ; subtract from digit counter
; Test the first digit, and exit if nonnumeric.
.L3A: mov al, byte [esi] ; get first character
call IsDigit ; is it a digit?
jnz .L7A ; no: show error message
; Start to convert the number.
.L4: mov eax,0 ; clear accumulator
mov ebx,10 ; EBX is the divisor
; Repeat loop for each digit.
.L5: mov dl, byte [esi] ; get character from buffer
cmp dl,'0' ; character < '0'?
jb .L9
cmp dl,'9' ; character > '9'?
ja .L9
and edx,0Fh ; no: convert to binary
mov dword [ebp - 8],edx
imul ebx ; EDX:EAX = EAX * EBX
mov edx,dword [ebp - 8]
jo .L6 ; quit if overflow
add eax,edx ; add new digit to AX
jo .L6 ; quit if overflow
inc esi ; point to next digit
jmp .L5 ; get next digit
; Overflow has occured, unlesss EAX = 80000000h
; and the sign is negative:
.L6: cmp eax,80000000h
jne .L7
cmp dword [ebp - 4],-1
jne .L7 ; overflow occurred
jmp .L9 ; the integer is valid
; Choose "integer overflow" messsage.
.L7: mov edx, overflow_msgL
jmp .L8
; Choose "invalid integer" message.
.L7A:
mov edx, invalid_msgL
; Display the error message pointed to by EDX, and set the Overflow flag.
.L8:
call WriteString
call Crlf
mov al,127
add al,1 ; set Overflow flag
mov eax,0 ; set return value to zero
jmp .L10 ; and exit
; IMUL leaves the Sign flag in an undeterminate state, so the OR instruction
; determines the sign of the iteger in EAX.
.L9: imul dword [ebp - 4] ; EAX = EAX * sign
or eax,eax ; determine the number's Sign
.L10:
pop esi
pop edx
pop ecx
pop ebx
leave
ret
;--------------- End of ParseInteger32 ---------------------
;---------------------------------------------------------
Str_length:
;
; Return the length of a null-terminated string.
; Receives: pointer to a string
; Returns: EAX = string length
;---------------------------------------------------------
push edi
push ebp
mov ebp, esp
mov edi, [ebp + 12]
mov eax,0 ; character count
.L1:
cmp byte [edi],0 ; end of string?
je .L2 ; yes: quit
inc edi ; no: point to next
inc eax ; add 1 to count
jmp .L1
.L2:
pop ebp
pop edi
ret
;--------------- End of Str_length -----------------------
;----------------------------------------------------------
Str_compare:
;
; Compare two strings.
; Receive: the pointers to the first and the second strings.
; Returns nothing, but the Zero and Carry flags are affected
; exactly as they would be by the CMP instruction.
;-----------------------------------------------------
enter 0, 0
pushad
mov esi,dword [ebp + 8]
mov edi,dword [ebp + 12]
.L1: mov al,byte [esi]
mov dl,byte [edi]
cmp al,0 ; end of string1?
jne .L2 ; no
cmp dl,0 ; yes: end of string2?
jne .L2 ; no
jmp .L3 ; yes, exit with ZF = 1
.L2: inc esi ; point to next
inc edi
cmp al,dl ; chars equal?
je .L1 ; yes: continue loop
; no: exit with flags set
.L3:
popad
leave
ret
;--------------- End of Str_compare -----------------------
;---------------------------------------------------------
Str_copy:
;
; Copy a string from source to target.
; Requires: the target string must contain enough
; space to hold a copy of the source string.
;----------------------------------------------------------
enter 0, 0
pushad
INVOKE Str_length,{[ebp + 8]} ; EAX = length source
mov ecx,eax ; REP count
inc ecx ; add 1 for null byte
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 12]
cld ; direction = up
rep movsb ; copy the string
popad
leave
ret
;--------------- End of Str_copy -----------------------
;-----------------------------------------------------------
Str_trim:
;
; Remove all occurences of a given character from
; the end of a string.
; Returns: nothing
;-----------------------------------------------------------
enter 0, 0
pushad
mov edi, dword [ebp + 8]
INVOKE Str_length,edi ; returns length in EAX
cmp eax,0 ; zero-length string?
je .L2 ; yes: exit
mov ecx,eax ; no: counter = string length
dec eax
add edi,eax ; EDI points to last char
mov al, byte [ebp + 12] ; char to trim
std ; direction = reverse
repe scasb ; skip past trim character
jne .L1 ; removed first character?
dec edi ; adjust EDI: ZF=1 && ECX=0
.L1: mov byte [edi+2],0 ; insert null byte
.L2:
popad
leave
ret
;--------------- End of Str_trim -----------------------
;---------------------------------------------------
Str_ucase:
;
; Convert a null-terminated string to upper case.
; Receives: a pointer to the string
; Returns: nothing
; Last update: 1/18/02
;---------------------------------------------------
enter 0, 0
push eax
push esi
mov esi,dword [ebp + 8]
.L1:
mov al,byte [esi] ; get char
cmp al,0 ; end of string?
je .L3 ; yes: quit
cmp al,'a' ; below "a"?
jb .L2
cmp al,'z' ; above "z"?
ja .L2
and byte [esi],11011111b ; convert the char
.L2: inc esi ; next char
jmp .L1
.L3:
pop esi
pop eax
leave
ret
;--------------- End of Str_ucase -----------------------
;------------------------------------------------------------
BufferFlush:
;
; Clear the reading buffer and reset it to the initial state.
; Recieves: nothing
;----------------------------------------------------------
mov dword [bytesRead], 0
mov dword [bufferCnt], 1
ret
;------------------ End of BufferFlush --------------------
;--------------------------------------------------------------
Random32:
;
; Generates an unsigned pseudo-random 32-bit integer
; in the range 0 - FFFFFFFFh.
; Receives: nothing
; Returns: EAX = random integer
;--------------------------------------------------------------
segment .data
seed dd 1
segment .text
push edx
mov eax, 343FDh
imul dword [seed]
add eax, 269EC3h
mov dword [seed], eax ; save the seed for the next call
ror eax,8 ; rotate out the lowest digit (10/22/00)
pop edx
ret
;------------------ End of Random32 --------------------
;--------------------------------------------------------
Randomize:
;
; Re-seeds the random number generator with the current time
; in seconds.
; Receives: nothing
; Returns: nothing
;--------------------------------------------------------
pushad
mov ebx, 0
mov eax, 13
int 80h
mov dword [seed],eax
popad
ret
;------------------ End of Randomize --------------------
;--------------------------------------------------------------
RandomRange:
;
; Returns an unsigned pseudo-random 32-bit integer
; in EAX, between 0 and n-1.
; Input parameter: EAX = n.
;--------------------------------------------------------------
push ebx
push edx
mov ebx,eax ; maximum value
call Random32 ; eax = random number
mov edx,0
div ebx ; divide by max value
mov eax,edx ; return the remainder
pop edx
pop ebx
ret
;------------------ End of RandomRange --------------------
;------------------------------------------------------------
ReadKeys:
;
; Read keys from buffer, if there is no keys in it, read from STDIN and
; store in buffer
; Recieves: ECX = Number of key to return
; EDX = address of input buffer
;----------------------------------------------------------
enter 4, 0
pushad
CheckInit
cmp dword [bytesRead], 0 ; check if no keys in the buffer
je .NoKey
.Begin:
cmp ecx, dword [bytesRead] ; else, return the keys from the buffer
jbe .L1
mov ecx, dword [bytesRead]
.L1:
mov dword [ebp - 4], ecx
sub dword [bytesRead], ecx
mov edi, edx ; copy the content of buffer to the destination
mov esi, buffer
add esi, dword [bufferCnt]
dec esi
cld
rep movsb
mov ebx, buffer
add ebx, bufferMax
cmp dword [bytesRead], 0 ; if number of left bytes is greater than 0
jbe .L2
cmp esi, ebx ; if out of bound
jae .L2
mov al, byte [esi] ; check if next char is NL
cmp al, NL
jne .L2
dec dword [bytesRead] ; mov forword
inc esi
.L2:
sub esi, buffer
inc esi
mov dword [bufferCnt], esi
jmp .L3
.NoKey:
call BufferFlush; if no Key, read from the keyboard
mov eax, 3
mov ebx, STDIN
push ecx
push edx
mov ecx, buffer
mov edx, bufferMax
int 80h
pop edx
pop ecx
mov dword [bytesRead], eax
cmp eax, 1
ja .next
mov al, byte [buffer]
cmp al, NL
je .NoKey
.next:
jmp .Begin
.L3:
popad
mov eax, dword [ebp - 4]
leave
ret
;--------------------- End of ReadKeys ----------------------
;------------------------------------------------------------
ReadChar:
;
; Reads one character from the keyboard.
; Waits for the character if none is
; currently in the input buffer.
; Returns: AL = ASCII code
;----------------------------------------------------------
enter 4, 0
push ebx
push edx
.L1:
mov ecx, 1
mov edx, ebp
sub edx, 4
call ReadKeys
mov al, byte [ebp - 4]
pop edx
pop ebx
leave
ret
;--------------- End of ReadChar -------------------------
;--------------------------------------------------------
ReadDec:
;
; Reads a 32-bit unsigned decimal integer from the keyboard,
; stopping when the Enter key is pressed.All valid digits occurring
; before a non-numeric character are converted to the integer value.
; Leading spaces are ignored.
; Receives: nothing
; Returns:
; If the integer is blank, EAX=0 and CF=1
; If the integer contains only spaces, EAX=0 and CF=1
; If the integer is larger than 2^32-1, EAX=0 and CF=1
; Otherwise, EAX=converted integer, and CF=0
;--------------------------------------------------------
mov edx,digitBuffer
mov ecx,MAX_DIGITS
call ReadString
mov ecx,eax ; save length
call ParseDecimal32 ; returns EAX
ret
;--------------- End of ReadDec ------------------------
;--------------------------------------------------------
ReadHex:
;
; Reads a 32-bit hexadecimal integer from the keyboard,
; stopping when the Enter key is pressed.
; Receives: nothing
; Returns: EAX = binary integer value
; Returns:
; If the integer is blank, EAX=0 and CF=1
; If the integer contains only spaces, EAX=0 and CF=1
; Otherwise, EAX=converted integer, and CF=0
; Remarks: No error checking performed for bad digits
; or excess digits.
;--------------------------------------------------------
segment .data
xbtable db 0,1,2,3,4,5,6,7,8,9
times 7 db 0FFh
db 10,11,12,13,14,15
numVal dd 0
charVal db 0
segment .text
push ebx
push ecx
push edx
push esi
mov edx,digitBuffer
mov esi,edx ; save in ESI also
mov ecx,MAX_DIGITS
call ReadString ; input the string
mov ecx,eax ; save length in ECX
cmp ecx,0 ; greater than zero?
jne .B1 ; yes: continue
jmp .B8 ; no: exit with CF=1
; Skip over leading spaces and tabs.
.B1: mov al,byte [esi] ; get a character from buffer
cmp al,' ' ; space character found?
je .B1A ; yes: skip it
cmp al,TAB ; TAB found?
je .B1A ; yes: skip it
jmp .B4 ; no: goto next step
.B1A:
inc esi ; yes: point to next char
loop .B1 ; all spaces?
jmp .B8 ; yes: exit with CF=1
; Start to convert the number.
.B4: mov dword [numVal],0 ; clear accumulator
mov ebx,xbtable ; translate table
; Repeat loop for each digit.
.B5: mov al,byte [esi] ; get character from buffer
cmp al,'F' ; lowercase letter?
jbe .B6 ; no
and al,11011111b ; yes: convert to uppercase
.B6: sub al,30h ; adjust for table
xlat ; translate to binary
mov byte [charVal],al
mov eax,16 ; numVal *= 16
mul dword [numVal]
mov dword [numVal],eax
movzx eax,byte [charVal] ; numVal += charVal
add dword [numVal],eax
inc esi ; point to next digit
loop .B5 ; repeat, decrement counter
.B7: mov eax,dword [numVal] ; return valid value
clc ; CF=0
jmp .B9
.B8: mov eax,0 ; error: return 0
stc ; CF=1
.B9:
pop esi
pop edx
pop ecx
pop ebx
ret
;--------------- End of ReadHex ------------------------
;--------------------------------------------------------
ReadInt:
;
; Reads a 32-bit signed decimal integer from standard
; input, stopping when the Enter key is pressed.
; All valid digits occurring before a non-numeric character
; are converted to the integer value. Leading spaces are
; ignored, and an optional leading + or - sign is permitted.
; All spaces return a valid integer, value zero.
; Receives: nothing
; Returns: If CF=0, the integer is valid, and EAX = binary value.
; If CF=1, the integer is invalid and EAX = 0.
;--------------------------------------------------------
push edx
push ecx
; Input a signed decimal string.
mov edx,digitBuffer
mov ecx,MAX_DIGITS
call ReadString
mov ecx,eax ; save length in ECX
; Convert to binary (EDX -> string, ECX = length)
call ParseInteger32 ; returns EAX, CF
pop ecx
pop edx
ret
;--------------- End of ReadInt ------------------------
;--------------------------------------------------------
ReadString:
;
; Reads a string from the keyboard and places the characters
; in a buffer.
; Receives: EDX offset of the input buffer
; ECX = maximum characters to input (including terminal null)
; Returns: EAX = size of the input string.
; Comments: Stops when Enter key (0Dh,0Ah) is pressed. If the user
; types more characters than (ECX-1), the excess characters
; are ignored.
; Written by <NAME> and <NAME>
; Modified by <NAME>
;--------------------------------------------------------
enter 8, 0 ; bufSize: ebp - 4
; bytesRead: ebp - 8
pushad
mov edi,edx ; set EDI to buffer offset
mov dword [ebp - 4],ecx ; save buffer size
call ReadKeys
mov dword [ebp - 8], eax
cmp eax,0
jz .L5 ; skip move if zero chars input
cld ; search forward
mov ecx, dword [ebp - 4] ; repetition count for SCASB
dec ecx
mov al,NL ; scan for 0Ah (Line Feed) terminal character
repne scasb
jne .L1 ; if not found, jump to L1
;if we reach this line, length of input string <= (bufsize - 2)
dec dword [ebp - 8] ; second adjustment to bytesRead
dec edi ; 0Ah found: back up two positions
cmp edi,edx ; don't back up to before the user's buffer
jae .L2
mov edi,edx ; 0Ah must be the only byte in the buffer
jmp .L2 ; and jump to L2
.L1: mov edi,edx ; point to last byte in buffer
add edi,dword [ebp - 4]
dec edi
mov byte [edi],0 ; insert null byte
; Clear excess characters from the buffer, 1 byte at a time
.L6: call BufferFlush
jmp .L5
.L2: mov byte [edi],0 ; insert null byte
.L5: popad
mov eax, dword [ebp - 8]
leave
ret
;--------------- End of ReadString --------------------
;------------------------------------------------------
WriteBin:
;
; Writes a 32-bit integer to the console window in
; binary format. Converted to a shell that calls the
; WriteBinB procedure, to be compatible with the
; library documentation in Chapter 5.
; Receives: EAX = the integer to write
; Returns: nothing
;------------------------------------------------------
push ebx
mov ebx,4 ; select doubleword format
call WriteBinB
pop ebx
ret
;--------------- End of WriteBin --------------------
;------------------------------------------------------
WriteBinB:
;
; Writes a 32-bit integer to the console window in
; binary format.
; Receives: EAX = the integer to write
; EBX = display size (1,2,4)
; Returns: nothing
;------------------------------------------------------
pushad
cmp ebx,1 ; ensure EBX is 1, 2, or 4
jz .WB0
cmp ebx,2
jz .WB0
mov ebx,4 ; set to 4 (default) even if it was 4
.WB0:
mov ecx,ebx
shl ecx,1 ; number of 4-bit groups in low end of EAX
cmp ebx,4
jz .WB0A
ror eax,8 ; assume TYPE==1 and ROR byte
cmp ebx,1
jz .WB0A ; good assumption
ror eax,8 ; TYPE==2 so ROR another byte
.WB0A:
call BufferFlush
mov esi, buffer
.WB1:
push ecx ; save loop count
mov ecx,4 ; 4 bits in each group
.WB1A:
shl eax,1 ; shift EAX left into Carry flag
mov byte [esi],'0' ; choose '0' as default digit
jnc .WB2 ; if no carry, then jump to L2
mov byte [esi],'1' ; else move '1' to DL
.WB2:
inc esi
Loop .WB1A ; go to next bit within group
mov byte [esi],' ' ; insert a blank space
inc esi ; between groups
pop ecx ; restore outer loop count
loop .WB1 ; begin next 4-bit group
dec esi ; eliminate the trailing space
mov byte [esi],0 ; insert null byte at end
mov edx, buffer ; display the buffer
call WriteString
popad
ret
;--------------- End of WriteBinB --------------------
;------------------------------------------------------
WriteChar:
;
; Write a character to the console window
; Recevies: AL = character
;------------------------------------------------------
pushad
pushfd ; save flags
mov [buffer],al
mov eax, 4
mov ebx, STDOUT
mov ecx, buffer
mov edx, 1
int 80h ; call sys_write to the char
mov [bytesWritten], eax
popfd ; restore flags
popad
ret
;--------------- End of WriteChar --------------------
;-----------------------------------------------------
WriteDec:
;
; Writes an unsigned 32-bit decimal number to
; the console window.
; Input parameters: EAX = the number to write.
;------------------------------------------------------
segment .data
; There will be as many as 10 digits.
%assign WDBUFFER_SIZE 12
bufferL: times WDBUFFER_SIZE db 0
db 0
segment .text
pushad
mov ecx,0 ; digit counter
mov edi,bufferL
add edi,(WDBUFFER_SIZE - 1)
mov ebx,10 ; decimal number base
.WI1:
mov edx,0 ; clear dividend to zero
div ebx ; divide EAX by the radix
xchg eax,edx ; swap quotient, remainder
call AsciiDigit ; convert AL to ASCII
mov byte [edi],al ; save the digit
dec edi ; back up in buffer
xchg eax,edx ; swap quotient, remainder
inc ecx ; increment digit count
or eax,eax ; quotient = 0?
jnz .WI1 ; no, divide again
; Display the digits (CX = count)
.WI3:
inc edi
mov edx,edi
call WriteString
.WI4:
popad ; restore 32-bit registers
ret
;--------------- End of WriteDec ---------------------
;------------------------------------------------------
WriteHex:
;
; Writes an unsigned 32-bit hexadecimal number to
; the console window.
; Input parameters: EAX = the number to write.
; Shell interface for WriteHexB, to retain compatibility
; with the documentation in Chapter 5.
;------------------------------------------------------
push ebx
mov ebx,4
call WriteHexB
pop ebx
ret
;--------------- End of WriteHex ---------------------
;------------------------------------------------------
WriteHexB:
;
; Writes an unsigned 32-bit hexadecimal number to
; the console window.
; Receives: EAX = the number to write. EBX = display size (1,2,4)
; Returns: nothing
;------------------------------------------------------
%assign DOUBLEWORD_BUFSIZE 8
segment .data
bufferLHB: times DOUBLEWORD_BUFSIZE db 0
db 0
segment .text
enter 4, 0 ; [ebp - 4]: displaySize
pushad ; save all 32-bit data registers
mov dword [ebp - 4],ebx ; save component size
; Clear unused bits from EAX to avoid a divide overflow.
; Also, verify that EBX contains either 1, 2, or 4. If any
; other value is found, default to 4.
; The following contains the MASM psudo-instructions as the comments.
; .IF EBX == 1 ; check specified display size
cmp ebx, 1
jne .outerElse
and eax,0FFh ; byte == 1
jmp .outerEndif
; .ELSE
.outerElse:
; .IF EBX == 2
cmp ebx, 2
jne .innerElse
and eax,0FFFFh ; word == 2
jmp .innerEndif
; .ELSE
.innerElse:
mov dword [ebp - 4],4 ; default (doubleword) == 4
; .ENDIF
.innerEndif:
; .ENDIF
.outerEndif:
mov edi,dword [ebp - 4] ; let EDI point to the end of the buffer:
shl edi,1 ; multiply by 2 (2 digits per byte)
mov byte [bufferLHB + edi],0 ; store null string terminator
dec edi ; back up one position
mov ecx,0 ; digit counter
mov ebx,16 ; hexadecimal base (divisor)
.L1:
mov edx,0 ; clear upper dividend
div ebx ; divide EAX by the base
xchg eax,edx ; swap quotient, remainder
call AsciiDigit ; convert AL to ASCII
mov byte [bufferLHB + edi],al ; save the digit
dec edi ; back up in buffer
xchg eax,edx ; swap quotient, remainder
inc ecx ; increment digit count
or eax,eax ; quotient = 0?
jnz .L1 ; no, divide again
; Insert leading zeros
mov eax,dword [ebp - 4]; set EAX to the
shl eax,1 ; number of digits to print
sub eax,ecx ; subtract the actual digit count
jz .L3 ; display now if no leading zeros required
mov ecx,eax ; CX = number of leading zeros to insert
.L2:
mov byte [bufferLHB + edi],'0' ; insert a zero
dec edi ; back up
loop .L2 ; continue the loop
; Display the digits. ECX contains the number of
; digits to display, and EDX points to the first digit.
.L3:
mov ecx,dword [ebp - 4]; output format size
shl ecx,1 ; multiply by 2
inc edi
mov edx, bufferLHB
add edx,edi
call WriteString
popad ; restore 32-bit registers
leave
ret
;--------------- End of WriteHexB ---------------------
;-----------------------------------------------------
WriteInt:
;
; Writes a 32-bit signed binary integer to the console window
; in ASCII decimal.
; Receives: EAX = the integer
; Returns: nothing
; Comments: Displays a leading sign, no leading zeros.
;-----------------------------------------------------
%assign WI_Bufsize 12
%assign true 1
%assign false 0
segment .data
buffer_B times WI_Bufsize db 0
db 0 ; buffer to hold digits
neg_flag db 0
segment .text
pushad
mov byte [neg_flag],false ; assume neg_flag is false
or eax,eax ; is AX positive?
jns .WIS1 ; yes: jump to B1
neg eax ; no: make it positive
mov byte [neg_flag],true ; set neg_flag to true
.WIS1:
mov ecx,0 ; digit count = 0
mov edi, buffer_B
add edi,(WI_Bufsize-1)
mov ebx,10 ; will divide by 10
.WIS2:
mov edx,0 ; set dividend to 0
div ebx ; divide AX by 10
or dl,30h ; convert remainder to ASCII
dec edi ; reverse through the buffer
mov byte [edi],dl ; store ASCII digit
inc ecx ; increment digit count
or eax,eax ; quotient > 0?
jnz .WIS2 ; yes: divide again
; Insert the sign.
dec edi ; back up in the buffer
inc ecx ; increment counter
mov byte [edi],'+' ; insert plus sign
cmp byte [neg_flag],false ; was the number positive?
jz .WIS3 ; yes
mov byte [edi],'-' ; no: insert negative sign
.WIS3: ; Display the number
mov edx,edi
call WriteString
popad
ret
;--------------- End of WriteInt ---------------------
;--------------------------------------------------------
WriteString:
;
; Writes a null-terminated string to standard
; output.
; Input parameter: EDX points to the string.
;--------------------------------------------------------
pushad
INVOKE Str_length,edx ; return length of string in EAX
mov ecx, edx
mov edx, eax
mov ebx, 1
mov eax, 4
int 80h
popad
ret
;--------------- End of WriteString ---------------------
;*************************************************************
;* PRIVATE PROCEDURES *
;*************************************************************
;--------------------------------------------------------
AsciiDigit:
;
; Convert AL to an ASCII digit. Used by WriteHex & WriteDec
;--------------------------------------------------------
push ebx
mov ebx,xtable
xlat
pop ebx
ret
;---------------- End of AsciiDigit ---------------------
;--------------------------------------------------------
HexByte:
;
; Display the byte in AL in hexadecimal
;--------------------------------------------------------
pushad
mov dl,al
rol dl,4
mov al,dl
and al,0Fh
mov ebx,xtable
xlat
call BufferFlush
mov byte [buffer],al ; save first char
rol dl,4
mov al,dl
and al,0Fh
xlat
mov byte [buffer+1],al ; save second char
mov byte [buffer+2],0 ; null byte
mov edx,buffer ; display the buffer
call WriteString
call BufferFlush
popad
ret
;------------------ End of HexByte ---------------------
|
oeis/024/A024554.asm | neoneye/loda-programs | 11 | 171740 | <filename>oeis/024/A024554.asm
; A024554: a(n) = Sum_{k=1..n} floor( 1/{k*sqrt(5)} ), where {x} := x - floor(x).
; Submitted by <NAME>
; 4,6,7,8,13,15,16,17,25,27,28,29,43,46,47,48,124,128,130,131,132,137,139,140,141,148,150,151,152,164,167,168,169,207,210,212,213,214,218,220,221,222,228,230,231,232,242,245,246,247,272,275,276,277,278,282,284,285,286,292,294,295,296,305,307,308,309,328,331,332,333,334,338,340,341,342,347,349,350,351,359,361,362,363,378,381,382,383,482,486,488,489,490,495,497,498,499,506,508,509
mov $2,$0
mov $4,$0
add $4,1
lpb $4
mov $0,$2
sub $4,1
sub $0,$4
add $0,1
mov $1,$0
mul $0,2
pow $1,2
lpb $1
sub $1,$0
add $0,1
sub $1,$0
lpe
mul $0,2
div $0,$1
add $3,$0
lpe
mov $0,$3
|
core/src/main/resources/grammars/CSS3.g4 | mjKosmic/SpinyGUI | 0 | 3195 | grammar CSS3;
// This grammar follows the formal CSS2.2 grammar closely https://www.w3.org/TR/CSS22/grammar.html
// and adds some extent of error handling from https://www.w3.org/TR/CSS22/syndata.html#parsing-errors
// CSS3 modifications are then applied
// IE and vendor specific rules are added for real world usage
stylesheet
: //ws ( charset ( Comment | Space | Cdo | Cdc )* )* ( imports ( Comment | Space | Cdo | Cdc )* )*
( namespace ( Comment | Space | Cdo | Cdc )* )*
( nestedStatement ( Comment | Space | Cdo | Cdc )* )*
;
charset
: Charset ws String ws ';' ws # goodCharset
| Charset ws String ws # badCharset
;
imports
: Import ws ( String | Uri ) ws mediaQueryList ';' ws # goodImport
| Import ws ( String | Uri ) ws ';' ws # goodImport
| Import ws ( String | Uri ) ws mediaQueryList # badImport
| Import ws ( String | Uri ) ws # badImport
;
// Namespaces
// https://www.w3.org/TR/css-namespaces-3/
namespace
: Namespace ws (namespacePrefix ws)? ( String | Uri ) ws ';' ws # goodNamespace
| Namespace ws (namespacePrefix ws)? ( String | Uri ) ws # badNamespace
;
namespacePrefix
: ident
;
// Media queries
// https://www.w3.org/TR/css3-mediaqueries/
media
: Media ws mediaQueryList groupRuleBody ws
;
mediaQueryList
: ( mediaQuery ( Comma ws mediaQuery )* )? ws
;
mediaQuery
: ( MediaOnly | Not )? ws mediaType ws ( And ws mediaExpression )*
| mediaExpression ( And ws mediaExpression )*
;
mediaType
: ident
;
mediaExpression
: '(' ws mediaFeature ( ':' ws expr )? ')' ws // Grammar allows for 'and(', which gets tokenized as Function. In practice, people always insert space before '(' to have it work on Chrome.
;
mediaFeature
: ident ws
;
// Page
page
: Page ws pseudoPage? '{' ws declaration? ( ';' ws declaration? )* '}' ws
;
pseudoPage
: ':' ident ws
;
// Selectors
// https://www.w3.org/TR/css3-selectors/
selectorGroup
: selector ( Comma ws selector )*
;
selector
: simpleSelectorSequence ws ( combinator simpleSelectorSequence ws )*
;
combinator
: Plus ws
| Greater ws
| Tilde ws
| Space ws
;
simpleSelectorSequence
: ( typeSelector | universal ) ( Hash | className | attrib | pseudo | negation )*
| ( Hash | className | attrib | pseudo | negation )+
;
typeSelector
: typeNamespacePrefix? elementName
;
typeNamespacePrefix
: ( ident | '*' )? '|'
;
elementName
: ident
;
universal
: typeNamespacePrefix? '*'
;
className
: '.' ident
;
attrib
: '[' ws typeNamespacePrefix? ident ws ( ( PrefixMatch | SuffixMatch | SubstringMatch | '=' | Includes | DashMatch ) ws ( ident | String ) ws )? ']'
;
pseudo
/* '::' starts a pseudo-element, ':' a pseudo-class */
/* Exceptions: :first-line, :first-letter, :before And :after. */
/* Note that pseudo-elements are restricted to one per selector And */
/* occur MediaOnly in the last simple_selector_sequence. */
: ':' ':'? ( ident | functionalPseudo )
;
functionalPseudo
: Function ws expression ')'
;
expression
/* In CSS3, the expressions are identifiers, strings, */
/* or of the form "an+b" */
: ( ( Plus | Minus | Dimension | UnknownDimension | Number | String | ident ) ws )+
;
negation
: PseudoNot ws negationArg ws ')'
;
negationArg
: typeSelector
| universal
| Hash
| className
| attrib
| pseudo
;
// Rules
operator
: '/' ws # goodOperator
| Comma ws # goodOperator
| Space ws # goodOperator
| '=' ws # badOperator // IE filter and DXImageTransform function
;
property
: ident ws # goodProperty
| Variable ws # goodProperty
| '*' ident # badProperty // IE hacks
| '_' ident # badProperty // IE hacks
;
ruleset
: selectorGroup '{' ws declarationList? '}' ws # knownRuleset
| any* '{' ws declarationList? '}' ws # unknownRuleset
;
declarationList
: ( ';' ws )* declaration ws ( ';' ws declaration? )*
;
declaration
: property ':' ws expr prio? # knownDeclaration
| property ':' ws value # unknownDeclaration
;
prio
: Important ws
;
value
: ( any | block | atKeyword ws )+
;
expr
: term ( operator? term )*
;
term
: number ws # knownTerm
| percentage ws # knownTerm
| dimension ws # knownTerm
| String ws # knownTerm
| UnicodeRange ws # knownTerm
| ident ws # knownTerm
| var # knownTerm
| Uri ws # knownTerm
| hexcolor # knownTerm
| calc # knownTerm
| function # knownTerm
| unknownDimension ws # unknownTerm
| dxImageTransform # badTerm
;
function
: Function ws expr ')' ws
;
dxImageTransform
: DxImageTransform ws expr ')' ws // IE DXImageTransform function
;
hexcolor
: Hash ws
;
number
: ( Plus | Minus )? Number
;
percentage
: ( Plus | Minus )? Percentage
;
dimension
: ( Plus | Minus )? Dimension
;
unknownDimension
: ( Plus | Minus )? UnknownDimension
;
// Error handling
any
: ident ws
| number ws
| percentage ws
| dimension ws
| unknownDimension ws
| String ws
//| Delim ws // Not implemented yet
| Uri ws
| Hash ws
| UnicodeRange ws
| Includes ws
| DashMatch ws
| ':' ws
| Function ws ( any | unused )* ')' ws
| '(' ws ( any | unused )* ')' ws
| '[' ws ( any | unused )* ']' ws
;
atRule
: atKeyword ws any* ( block | ';' ws ) # unknownAtRule
;
atKeyword
: '@' ident
;
unused
: block
| atKeyword ws
| ';' ws
| Cdo ws
| Cdc ws
;
block
: '{' ws ( declarationList | nestedStatement | any | block | atKeyword ws | ';' ws )* '}' ws
;
// Conditional
// https://www.w3.org/TR/css3-conditional/
nestedStatement
: ruleset
| media
| page
| fontFaceRule
| keyframesRule
| supportsRule
| viewport
| counterStyle
| fontFeatureValuesRule
| atRule
;
groupRuleBody
: '{' ws nestedStatement* '}' ws
;
supportsRule
: Supports ws supportsCondition ws groupRuleBody
;
supportsCondition
: supportsNegation
| supportsConjunction
| supportsDisjunction
| supportsConditionInParens
;
supportsConditionInParens
: '(' ws supportsCondition ws ')'
| supportsDeclarationCondition
| generalEnclosed
;
supportsNegation
: Not ws Space ws supportsConditionInParens
;
supportsConjunction
: supportsConditionInParens ( ws Space ws And ws Space ws supportsConditionInParens )+
;
supportsDisjunction
: supportsConditionInParens ( ws Space ws Or ws Space ws supportsConditionInParens )+
;
supportsDeclarationCondition
: '(' ws declaration ')'
;
generalEnclosed
: ( Function | '(' ) ( any | unused )* ')'
;
// Variable
// https://www.w3.org/TR/css-variables-1
var
: Var ws Variable ws ')' ws
;
// Calc
// https://www.w3.org/TR/css3-values/#calc-syntax
calc
: Calc ws calcSum ')' ws
;
calcSum
: calcProduct ( Space ws ( Plus | Minus ) ws Space ws calcProduct )*
;
calcProduct
: calcValue ( '*' ws calcValue | '/' ws number ws )*
;
calcValue
: number ws
| dimension ws
| unknownDimension ws
| percentage ws
| '(' ws calcSum ')' ws
;
// Font face
// https://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#font-face-rule
fontFaceRule
: FontFace ws '{' ws fontFaceDeclaration? ( ';' ws fontFaceDeclaration? )* '}' ws
;
fontFaceDeclaration
: property ':' ws expr # knownFontFaceDeclaration
| property ':' ws value # unknownFontFaceDeclaration
;
// Animations
// https://www.w3.org/TR/css3-animations/
keyframesRule
: Keyframes ws Space ws ident ws '{' ws keyframesBlocks '}' ws
;
keyframesBlocks
: ( keyframeSelector '{' ws declarationList? '}' ws )*
;
keyframeSelector
: ( From | To | Percentage ) ws ( Comma ws ( From | To | Percentage ) ws )*
;
// Viewport
// https://www.w3.org/TR/css-device-adapt-1/
viewport
: Viewport ws '{' ws declarationList? '}' ws
;
// Counter style
// https://www.w3.org/TR/css-counter-styles-3/
counterStyle
: CounterStyle ws ident ws '{' ws declarationList? '}' ws
;
// Font feature values
// https://www.w3.org/TR/css-fonts-3/
fontFeatureValuesRule
: FontFeatureValues ws fontFamilyNameList ws '{' ws featureValueBlock* '}' ws
;
fontFamilyNameList
: fontFamilyName ( ws Comma ws fontFamilyName )*
;
fontFamilyName
: String
| ident ( ws ident )*
;
featureValueBlock
: featureType ws '{' ws featureValueDefinition? ( ws ';' ws featureValueDefinition? )* '}' ws
;
featureType
: atKeyword
;
featureValueDefinition
: ident ws ':' ws number ( ws number )*
;
// The specific words can be identifiers too
ident
: Ident
| MediaOnly
| Not
| And
| Or
| From
| To
;
// Comments might be part of CSS hacks, thus pass them to visitor to decide whether to skip
// Spaces are significant around '+' '-' '(', thus they should not be skipped
ws
: ( Comment | Space )*
;
// Tokens
fragment Hex
: [0-9a-fA-F]
;
fragment NewlineOrSpace
: '\r\n'
| [ \t\r\n\f]
|
;
fragment Unicode
: '\\' Hex Hex? Hex? Hex? Hex? Hex? NewlineOrSpace
;
fragment Escape
: Unicode
| '\\' ~[\r\n\f0-9a-fA-F]
;
fragment Nmstart
: [_a-zA-Z]
| Nonascii
| Escape
;
fragment Nmchar
: [_a-zA-Z0-9\-]
| Nonascii
| Escape
;
// CSS2.2 Grammar defines the following, but I'm not sure how to add them to parser for error handling
// BadString :
// BadUri :
// BadComment :
// BadUri :
Comment
: '/*' ~'*'* '*'+ ( ~[/*] ~'*'* '*'+ )* '/'
;
fragment Name
: Nmchar+
;
fragment Url
: ( [!#$%&*-~] | Nonascii | Escape )*
;
Space
: [ \t\r\n\f]+
;
fragment Whitespace
: Space
|
;
fragment Newline
: '\n'
| '\r\n'
| '\r'
| '\f'
;
fragment ZeroToFourZeros
: '0'? '0'? '0'? '0'?
;
fragment A
: 'a'
| 'A'
| '\\' ZeroToFourZeros ('41'|'61') NewlineOrSpace
;
fragment B
: 'b'
| 'B'
| '\\' ZeroToFourZeros ('42'|'62') NewlineOrSpace
;
fragment C
: 'c'
| 'C'
| '\\' ZeroToFourZeros ('43'|'63') NewlineOrSpace
;
fragment D
: 'd'
| 'D'
| '\\' ZeroToFourZeros ('44'|'64') NewlineOrSpace
;
fragment E
: 'e'
| 'E'
| '\\' ZeroToFourZeros ('45'|'65') NewlineOrSpace
;
fragment F
: 'f'
| 'F'
| '\\' ZeroToFourZeros ('46'|'66') NewlineOrSpace
;
fragment G
: 'g'
| 'G'
| '\\' ZeroToFourZeros ('47'|'67') NewlineOrSpace
| '\\g'
| '\\G'
;
fragment H
: 'h'
| 'H'
| '\\' ZeroToFourZeros ('48'|'68') NewlineOrSpace
| '\\h'
| '\\H'
;
fragment I
: 'i'
| 'I'
| '\\' ZeroToFourZeros ('49'|'69') NewlineOrSpace
| '\\i'
| '\\I'
;
fragment K
: 'k'
| 'K'
| '\\' ZeroToFourZeros ('4b'|'6b') NewlineOrSpace
| '\\k'
| '\\K'
;
fragment L
: 'l'
| 'L'
| '\\' ZeroToFourZeros ('4c'|'6c') NewlineOrSpace
| '\\l'
| '\\L'
;
fragment M
: 'm'
| 'M'
| '\\' ZeroToFourZeros ('4d'|'6d') NewlineOrSpace
| '\\m'
| '\\M'
;
fragment N
: 'n'
| 'N'
| '\\' ZeroToFourZeros ('4e'|'6e') NewlineOrSpace
| '\\n'
| '\\N'
;
fragment O
: 'o'
| 'O'
| '\\' ZeroToFourZeros ('4f'|'6f') NewlineOrSpace
| '\\o'
| '\\O'
;
fragment P
: 'p'
| 'P'
| '\\' ZeroToFourZeros ('50'|'70') NewlineOrSpace
| '\\p'
| '\\P'
;
fragment Q
: 'q'
| 'Q'
| '\\' ZeroToFourZeros ('51'|'71') NewlineOrSpace
| '\\q'
| '\\Q'
;
fragment R
: 'r'
| 'R'
| '\\' ZeroToFourZeros ('52'|'72') NewlineOrSpace
| '\\r'
| '\\R'
;
fragment S
: 's'
| 'S'
| '\\' ZeroToFourZeros ('53'|'73') NewlineOrSpace
| '\\s'
| '\\S'
;
fragment T
: 't'
| 'T'
| '\\' ZeroToFourZeros ('54'|'74') NewlineOrSpace
| '\\t'
| '\\T'
;
fragment U
: 'u'
| 'U'
| '\\' ZeroToFourZeros ('55'|'75') NewlineOrSpace
| '\\u'
| '\\U'
;
fragment V
: 'v'
| 'V'
| '\\' ZeroToFourZeros ('56'|'76') NewlineOrSpace
| '\\v'
| '\\V'
;
fragment W
: 'w'
| 'W'
| '\\' ZeroToFourZeros ('57'|'77') NewlineOrSpace
| '\\w'
| '\\W'
;
fragment X
: 'x'
| 'X'
| '\\' ZeroToFourZeros ('58'|'78') NewlineOrSpace
| '\\x'
| '\\X'
;
fragment Y
: 'y'
| 'Y'
| '\\' ZeroToFourZeros ('59'|'79') NewlineOrSpace
| '\\y'
| '\\Y'
;
fragment Z
: 'z'
| 'Z'
| '\\' ZeroToFourZeros ('5a'|'7a') NewlineOrSpace
| '\\z'
| '\\Z'
;
fragment DashChar
: '-'
| '\\' ZeroToFourZeros '2d' NewlineOrSpace
;
Cdo
: '<!--'
;
Cdc
: '-->'
;
Includes
: '~='
;
DashMatch
: '|='
;
Hash
: '#' Name
;
Import
: '@' I M P O R T
;
Page
: '@' P A G E
;
Media
: '@' M E D I A
;
Namespace
: '@' N A M E S P A C E
;
fragment AtKeyword
: '@' Ident
;
Charset
: '@charset '
;
Important
: '!' ( Space | Comment )* I M P O R T A N T
;
fragment FontRelative
: Number E M
| Number E X
| Number C H
| Number R E M
;
// https://www.w3.org/TR/css3-values/#viewport-relative-lengths
fragment ViewportRelative
: Number V W
| Number V H
| Number V M I N
| Number V M A X
;
fragment AbsLength
: Number P X
| Number C M
| Number M M
| Number I N
| Number P T
| Number P C
| Number Q
;
fragment Angle
: Number D E G
| Number R A D
| Number G R A D
| Number T U R N
;
fragment Time
: Number M S
| Number S
;
fragment Freq
: Number H Z
| Number K H Z
;
Percentage
: Number '%'
;
Uri
: U R L '(' Whitespace String Whitespace ')'
| U R L '(' Whitespace Url Whitespace ')'
;
UnicodeRange
: [u|U] '+?' '?'? '?'? '?'? '?'? '?'?
| [u|U] '+' Hex '?'? '?'? '?'? '?'? '?'?
| [u|U] '+' Hex Hex '?'? '?'? '?'? '?'?
| [u|U] '+' Hex Hex Hex '?'? '?'? '?'?
| [u|U] '+' Hex Hex Hex Hex '?'? '?'?
| [u|U] '+' Hex Hex Hex Hex Hex '?'?
;
// https://www.w3.org/TR/css3-mediaqueries/
MediaOnly
: O N L Y
;
Not
: N O T
;
And
: A N D
;
fragment Resolution
: Number D P I
| Number D P C M
| Number D P P X
;
fragment Length
: AbsLength
| FontRelative
| ViewportRelative
;
Dimension
: Length
| Time
| Freq
| Resolution
| Angle
;
UnknownDimension
: Number Ident
;
// https://www.w3.org/TR/css3-selectors/
fragment Nonascii
: ~[\u0000-\u007f]
;
Plus
: '+'
;
Minus
: '-'
;
Greater
: '>'
;
Comma
: ','
;
Tilde
: '~'
;
PseudoNot
: ':' N O T '('
;
Number
: [0-9]+
| [0-9]* '.' [0-9]+
;
String
: '"' ( ~[\n\r\f\\"] | '\\' Newline | Nonascii | Escape )* '"'
| '\'' ( ~[\n\r\f\\'] | '\\' Newline | Nonascii | Escape )* '\''
;
PrefixMatch
: '^='
;
SuffixMatch
: '$='
;
SubstringMatch
: '*='
;
// https://www.w3.org/TR/css-fonts-3/#font-face-rule
FontFace
: '@' F O N T DashChar F A C E
;
// https://www.w3.org/TR/css3-conditional/
Supports
: '@' S U P P O R T S
;
Or
: O R
;
// https://www.w3.org/TR/css3-animations/
fragment VendorPrefix
: '-' M O Z '-'
| '-' W E B K I T '-'
| '-' O '-'
;
Keyframes
: '@' VendorPrefix? K E Y F R A M E S
;
From
: F R O M
;
To
: T O
;
// https://www.w3.org/TR/css3-values/#calc-syntax
Calc
: 'calc('
;
// https://www.w3.org/TR/css-device-adapt-1/
Viewport
: '@' V I E W P O R T
;
// https://www.w3.org/TR/css-counter-styles-3/
CounterStyle
: '@' C O U N T E R DashChar S T Y L E
;
// https://www.w3.org/TR/css-fonts-3/
FontFeatureValues
: '@' F O N T DashChar F E A T U R E DashChar V A L U E S
;
// https://msdn.microsoft.com/en-us/library/ms532847.aspx
DxImageTransform
: 'progid:DXImageTransform.Microsoft.' Function
;
// Variables
// https://www.w3.org/TR/css-variables-1
Variable
: '--' Nmstart Nmchar*
;
Var
: 'var('
;
// Give Ident least priority so that more specific rules matches first
Ident
: '-'? Nmstart Nmchar*
;
Function
: Ident '('
; |
T6P1/Halt.asm | cggewehr/Projeto-De-Processadores | 0 | 2322 | halt |
llvm/test/tools/llvm-ml/builtin_symbols.asm | mkinsner/llvm | 2,338 | 7863 | <reponame>mkinsner/llvm<gh_stars>1000+
; RUN: llvm-ml -filetype=s %s /I %S /Fo /dev/null 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-REALTIME
; RUN: llvm-ml -filetype=s %s /I %S /Fo /dev/null --timestamp=0 --utc 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-FIXEDTIME
.code
version_val TEXTEQU %@Version
ECHO t1:
%ECHO @Version = version_val
; CHECK-LABEL: t1:
; CHECK-NEXT: 1427
ECHO
ECHO t2:
if @Version gt 510
ECHO @Version gt 510
endif
; CHECK-LABEL: t2:
; CHECK-NEXT: @Version gt 510
ECHO
ECHO t3:
if @Version le 510
ECHO le 510
endif
; CHECK-LABEL: t3:
; CHECK-NOT: @Version le 510
ECHO
line_val TEXTEQU %@Line
ECHO t4:
%ECHO @Line = line_val
; CHECK-LABEL: t4:
; CHECK-NEXT: @Line = [[# @LINE - 5]]
ECHO t5:
include builtin_symbols_t5.inc
; CHECK-LABEL: t5:
; CHECK: FileCur = {{.*}}builtin_symbols_t5.inc
; CHECK: FileName = BUILTIN_SYMBOLS
; CHECK-NOT: _T5
ECHO t6:
%ECHO Date = @Date
%ECHO Time = @Time
; CHECK-LABEL: t6:
; CHECK-REALTIME: Date = {{([[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{2})}}
; CHECK-FIXEDTIME: Date = 01/01/70
; CHECK-NOT: {{[[:digit:]]}}
; CHECK-REALTIME: Time = {{([[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2})}}
; CHECK-FIXEDTIME: Time = 00:00:00
; CHECK-NOT: {{[[:digit:]]}}
end
|
WangShuang_book/p202.asm | SmirnovKol/Learning_x86_assembly_language | 1 | 104437 | assume cs:code, ds:data
data segment
db 'conversation'
data ends
code segment
start: mov ax, data
mov ds, ax
mov si, 0
mov cx, 12
call capital
mov ax, 4c00h
int 21h
capital:and byte ptr [si], 11011111b
inc si
loop capital
ret
code ends
end start
|
test/jzas/sintactic/valid/success12.asm | scoffey/jz80sim | 1 | 122 | <filename>test/jzas/sintactic/valid/success12.asm
aseg
org 100h
;n1, n2 y mayor son direcciones de 16 bits tanto n1 como n2 no pueden ser bc pudiendo ser rotulos o registros al igualq ue mayor.
maximo macro n1, n2, mayor
local backup, carga
ld (backup), a
ld a, b
ld (backup + 1), a
ld a, (n1)
ld b, a
ld a, (n2)
cp b
jp p, carga
ld a, (n1)
carga ld (mayor), a
ld a, (backup + 1)
ld b, a
ld a, (backup)
jp backup + 2
backup ds 2
endm
inicio ld ix, vector
ld b, cardinalidad + 1
ld a, -128
ld (max), a
jr chequeo
ciclo maximo max, ix, max
inc ix
chequeo djnz ciclo
rst 38h
vector db 1,2,3,4,5,4,3,2,18,7
cardinalidad equ $ - vector
max ds 1
end inicio |
libsrc/target/sms/stdio/generic_console_vpeek.asm | ahjelm/z88dk | 640 | 802 | <reponame>ahjelm/z88dk
SECTION code_clib
PUBLIC generic_console_vpeek
EXTERN __tms9918_console_vpeek
defc generic_console_vpeek = __tms9918_console_vpeek
|
alloy4fun_models/trashltl/models/7/a82PBrZ2h4hK5JwZS.als | Kaixi26/org.alloytools.alloy | 0 | 3826 | <gh_stars>0
open main
pred ida82PBrZ2h4hK5JwZS_prop8 {
always all f: File | eventually f.link in Trash
}
pred __repair { ida82PBrZ2h4hK5JwZS_prop8 }
check __repair { ida82PBrZ2h4hK5JwZS_prop8 <=> prop8o } |
oeis/173/A173948.asm | neoneye/loda-programs | 11 | 245122 | ; A173948: a(n) = denominator of (Zeta(2, 1/4) - Zeta(2, n+1/4)), where Zeta is the Hurwitz Zeta function.
; Submitted by <NAME>
; 1,1,25,2025,342225,98903025,4846248225,121156205625,101892368930625,12328976640605625,16878369020989100625,28372538324282678150625,28372538324282678150625,1390254377889851229380625,3905224547492592103330175625,1409786061644825749302193400625,5245813935380396613153461643725625,403524148875415124088727818748125,213464274755094600642937016117758125,1137551120169899126826211358891533048125,1137551120169899126826211358891533048125,92141640733761829272923120070214176898125
mul $0,2
mov $1,1
lpb $0
mov $2,$0
sub $0,2
add $2,$0
sub $2,1
pow $2,2
mul $3,$2
add $3,$1
mul $1,$2
lpe
gcd $3,$1
div $1,$3
mov $0,$1
|
examples/tasking/tasks.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 15383 | with Ada.Real_Time; use Ada.Real_Time;
package Tasks is
protected Protect is
procedure Go;
entry Wait;
private
Active : Boolean := False;
end Protect;
task T with Storage_Size => 512;
end Tasks;
|
source/ll_delete.asm | mateuszstompor/Linked-List-x86-64-ASM | 5 | 102110 | <reponame>mateuszstompor/Linked-List-x86-64-ASM
;
; Created by <NAME> on 01/11/2019.
;
%include "source/list.asm"
%include "source/sizes.asm"
%include "source/memory_management.asm"
global LL_DELETE
section .text
LL_DELETE:
; About
; Deletes given node from a list
; Takes
; rdi - pointer to a list
; rsi - pointer to an iterator
mov rax, 0
cmp qword [rsi], 0
je .finish
mov r9, [rsi + 8]
cmp r9, 0
jne .finish_setting_head
mov r9, [rdi + 24]
sub r9, 1
mov qword [rdi + 24], r9
mov r9, [rsi]
mov rax, [r9]
mov r9, [r9 + 8]
mov qword [rdi], r9
.finish_setting_head:
cmp r9, 0
jne .finish
mov qword [rdi + 8], 0
.finish:
ret
|
out/PDiff/Syntax.agda | JoeyEremondi/agda-soas | 39 | 16916 | {-
This second-order term syntax was created from the following second-order syntax description:
syntax PDiff | PD
type
* : 0-ary
term
zero : * | 𝟘
add : * * -> * | _⊕_ l20
one : * | 𝟙
mult : * * -> * | _⊗_ l20
neg : * -> * | ⊖_ r50
pd : *.* * -> * | ∂_∣_
theory
(𝟘U⊕ᴸ) a |> add (zero, a) = a
(𝟘U⊕ᴿ) a |> add (a, zero) = a
(⊕A) a b c |> add (add(a, b), c) = add (a, add(b, c))
(⊕C) a b |> add(a, b) = add(b, a)
(𝟙U⊗ᴸ) a |> mult (one, a) = a
(𝟙U⊗ᴿ) a |> mult (a, one) = a
(⊗A) a b c |> mult (mult(a, b), c) = mult (a, mult(b, c))
(⊗D⊕ᴸ) a b c |> mult (a, add (b, c)) = add (mult(a, b), mult(a, c))
(⊗D⊕ᴿ) a b c |> mult (add (a, b), c) = add (mult(a, c), mult(b, c))
(𝟘X⊗ᴸ) a |> mult (zero, a) = zero
(𝟘X⊗ᴿ) a |> mult (a, zero) = zero
(⊖N⊕ᴸ) a |> add (neg (a), a) = zero
(⊖N⊕ᴿ) a |> add (a, neg (a)) = zero
(⊗C) a b |> mult(a, b) = mult(b, a)
(∂⊕) a : * |> x : * |- d0 (add (x, a)) = one
(∂⊗) a : * |> x : * |- d0 (mult(a, x)) = a
(∂C) f : (*,*).* |> x : * y : * |- d1 (d0 (f[x,y])) = d0 (d1 (f[x,y]))
(∂Ch₂) f : (*,*).* g h : *.* |> x : * |- d0 (f[g[x], h[x]]) = add (mult(pd(z. f[z, h[x]], g[x]), d0(g[x])), mult(pd(z. f[g[x], z], h[x]), d0(h[x])))
(∂Ch₁) f g : *.* |> x : * |- d0 (f[g[x]]) = mult (pd (z. f[z], g[x]), d0(g[x]))
-}
module PDiff.Syntax where
open import SOAS.Common
open import SOAS.Context
open import SOAS.Variable
open import SOAS.Families.Core
open import SOAS.Construction.Structure
open import SOAS.ContextMaps.Inductive
open import SOAS.Metatheory.Syntax
open import PDiff.Signature
private
variable
Γ Δ Π : Ctx
α : *T
𝔛 : Familyₛ
-- Inductive term declaration
module PD:Terms (𝔛 : Familyₛ) where
data PD : Familyₛ where
var : ℐ ⇾̣ PD
mvar : 𝔛 α Π → Sub PD Π Γ → PD α Γ
𝟘 : PD * Γ
_⊕_ : PD * Γ → PD * Γ → PD * Γ
𝟙 : PD * Γ
_⊗_ : PD * Γ → PD * Γ → PD * Γ
⊖_ : PD * Γ → PD * Γ
∂_∣_ : PD * (* ∙ Γ) → PD * Γ → PD * Γ
infixl 20 _⊕_
infixl 30 _⊗_
infixr 50 ⊖_
open import SOAS.Metatheory.MetaAlgebra ⅀F 𝔛
PDᵃ : MetaAlg PD
PDᵃ = record
{ 𝑎𝑙𝑔 = λ where
(zeroₒ ⋮ _) → 𝟘
(addₒ ⋮ a , b) → _⊕_ a b
(oneₒ ⋮ _) → 𝟙
(multₒ ⋮ a , b) → _⊗_ a b
(negₒ ⋮ a) → ⊖_ a
(pdₒ ⋮ a , b) → ∂_∣_ a b
; 𝑣𝑎𝑟 = var ; 𝑚𝑣𝑎𝑟 = λ 𝔪 mε → mvar 𝔪 (tabulate mε) }
module PDᵃ = MetaAlg PDᵃ
module _ {𝒜 : Familyₛ}(𝒜ᵃ : MetaAlg 𝒜) where
open MetaAlg 𝒜ᵃ
𝕤𝕖𝕞 : PD ⇾̣ 𝒜
𝕊 : Sub PD Π Γ → Π ~[ 𝒜 ]↝ Γ
𝕊 (t ◂ σ) new = 𝕤𝕖𝕞 t
𝕊 (t ◂ σ) (old v) = 𝕊 σ v
𝕤𝕖𝕞 (mvar 𝔪 mε) = 𝑚𝑣𝑎𝑟 𝔪 (𝕊 mε)
𝕤𝕖𝕞 (var v) = 𝑣𝑎𝑟 v
𝕤𝕖𝕞 𝟘 = 𝑎𝑙𝑔 (zeroₒ ⋮ tt)
𝕤𝕖𝕞 (_⊕_ a b) = 𝑎𝑙𝑔 (addₒ ⋮ 𝕤𝕖𝕞 a , 𝕤𝕖𝕞 b)
𝕤𝕖𝕞 𝟙 = 𝑎𝑙𝑔 (oneₒ ⋮ tt)
𝕤𝕖𝕞 (_⊗_ a b) = 𝑎𝑙𝑔 (multₒ ⋮ 𝕤𝕖𝕞 a , 𝕤𝕖𝕞 b)
𝕤𝕖𝕞 (⊖_ a) = 𝑎𝑙𝑔 (negₒ ⋮ 𝕤𝕖𝕞 a)
𝕤𝕖𝕞 (∂_∣_ a b) = 𝑎𝑙𝑔 (pdₒ ⋮ 𝕤𝕖𝕞 a , 𝕤𝕖𝕞 b)
𝕤𝕖𝕞ᵃ⇒ : MetaAlg⇒ PDᵃ 𝒜ᵃ 𝕤𝕖𝕞
𝕤𝕖𝕞ᵃ⇒ = record
{ ⟨𝑎𝑙𝑔⟩ = λ{ {t = t} → ⟨𝑎𝑙𝑔⟩ t }
; ⟨𝑣𝑎𝑟⟩ = refl
; ⟨𝑚𝑣𝑎𝑟⟩ = λ{ {𝔪 = 𝔪}{mε} → cong (𝑚𝑣𝑎𝑟 𝔪) (dext (𝕊-tab mε)) } }
where
open ≡-Reasoning
⟨𝑎𝑙𝑔⟩ : (t : ⅀ PD α Γ) → 𝕤𝕖𝕞 (PDᵃ.𝑎𝑙𝑔 t) ≡ 𝑎𝑙𝑔 (⅀₁ 𝕤𝕖𝕞 t)
⟨𝑎𝑙𝑔⟩ (zeroₒ ⋮ _) = refl
⟨𝑎𝑙𝑔⟩ (addₒ ⋮ _) = refl
⟨𝑎𝑙𝑔⟩ (oneₒ ⋮ _) = refl
⟨𝑎𝑙𝑔⟩ (multₒ ⋮ _) = refl
⟨𝑎𝑙𝑔⟩ (negₒ ⋮ _) = refl
⟨𝑎𝑙𝑔⟩ (pdₒ ⋮ _) = refl
𝕊-tab : (mε : Π ~[ PD ]↝ Γ)(v : ℐ α Π) → 𝕊 (tabulate mε) v ≡ 𝕤𝕖𝕞 (mε v)
𝕊-tab mε new = refl
𝕊-tab mε (old v) = 𝕊-tab (mε ∘ old) v
module _ (g : PD ⇾̣ 𝒜)(gᵃ⇒ : MetaAlg⇒ PDᵃ 𝒜ᵃ g) where
open MetaAlg⇒ gᵃ⇒
𝕤𝕖𝕞! : (t : PD α Γ) → 𝕤𝕖𝕞 t ≡ g t
𝕊-ix : (mε : Sub PD Π Γ)(v : ℐ α Π) → 𝕊 mε v ≡ g (index mε v)
𝕊-ix (x ◂ mε) new = 𝕤𝕖𝕞! x
𝕊-ix (x ◂ mε) (old v) = 𝕊-ix mε v
𝕤𝕖𝕞! (mvar 𝔪 mε) rewrite cong (𝑚𝑣𝑎𝑟 𝔪) (dext (𝕊-ix mε))
= trans (sym ⟨𝑚𝑣𝑎𝑟⟩) (cong (g ∘ mvar 𝔪) (tab∘ix≈id mε))
𝕤𝕖𝕞! (var v) = sym ⟨𝑣𝑎𝑟⟩
𝕤𝕖𝕞! 𝟘 = sym ⟨𝑎𝑙𝑔⟩
𝕤𝕖𝕞! (_⊕_ a b) rewrite 𝕤𝕖𝕞! a | 𝕤𝕖𝕞! b = sym ⟨𝑎𝑙𝑔⟩
𝕤𝕖𝕞! 𝟙 = sym ⟨𝑎𝑙𝑔⟩
𝕤𝕖𝕞! (_⊗_ a b) rewrite 𝕤𝕖𝕞! a | 𝕤𝕖𝕞! b = sym ⟨𝑎𝑙𝑔⟩
𝕤𝕖𝕞! (⊖_ a) rewrite 𝕤𝕖𝕞! a = sym ⟨𝑎𝑙𝑔⟩
𝕤𝕖𝕞! (∂_∣_ a b) rewrite 𝕤𝕖𝕞! a | 𝕤𝕖𝕞! b = sym ⟨𝑎𝑙𝑔⟩
-- Syntax instance for the signature
PD:Syn : Syntax
PD:Syn = record
{ ⅀F = ⅀F
; ⅀:CS = ⅀:CompatStr
; mvarᵢ = PD:Terms.mvar
; 𝕋:Init = λ 𝔛 → let open PD:Terms 𝔛 in record
{ ⊥ = PD ⋉ PDᵃ
; ⊥-is-initial = record { ! = λ{ {𝒜 ⋉ 𝒜ᵃ} → 𝕤𝕖𝕞 𝒜ᵃ ⋉ 𝕤𝕖𝕞ᵃ⇒ 𝒜ᵃ }
; !-unique = λ{ {𝒜 ⋉ 𝒜ᵃ} (f ⋉ fᵃ⇒) {x = t} → 𝕤𝕖𝕞! 𝒜ᵃ f fᵃ⇒ t } } } }
-- Instantiation of the syntax and metatheory
open Syntax PD:Syn public
open PD:Terms public
open import SOAS.Families.Build public
open import SOAS.Syntax.Shorthands PDᵃ public
open import SOAS.Metatheory PD:Syn public
-- Derived operations
∂₀_ : {𝔛 : Familyₛ} → PD 𝔛 * (* ∙ Γ) → PD 𝔛 * (* ∙ Γ)
∂₀_ {𝔛 = 𝔛} e = ∂ Theory.𝕨𝕜 𝔛 e ∣ x₀
∂₁_ : {𝔛 : Familyₛ} → PD 𝔛 * (* ∙ * ∙ Γ) → PD 𝔛 * (* ∙ * ∙ Γ)
∂₁_ {𝔛 = 𝔛} e = ∂ Theory.𝕨𝕜 𝔛 e ∣ x₁
infix 10 ∂₀_ ∂₁_
|
Driver/Printer/DotMatrix/Red64/red64Manager.asm | steakknife/pcgeos | 504 | 19469 | <filename>Driver/Printer/DotMatrix/Red64/red64Manager.asm
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Canon Redwood 64-jet printer driver
FILE: red64Manager.asm
AUTHOR: <NAME>
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 11/92 Initial version
DESCRIPTION:
This file contains the source for the canon 64-pin printer driver
$Id: red64Manager.asm,v 1.1 97/04/18 11:55:01 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%}
;--------------------------------------
; Include files
;--------------------------------------
include printcomInclude.def
include initfile.def
include timedate.def
include Internal/redPrint.def
;------------------------------------------------------------------------------
; Constants and Macros
;------------------------------------------------------------------------------
include red64Constant.def
include printcomMacro.def
include printcom1ASF.rdef
;------------------------------------------------------------------------------
; Driver Info Table
;------------------------------------------------------------------------------
idata segment ; MODULE_FIXED
DriverTable DriverExtendedInfoStruct \
< <Entry:DriverStrategy, ; DIS_strategy
mask DA_HAS_EXTENDED_INFO, ; DIS_driverAttributes
DRIVER_TYPE_PRINTER >, ; DIS_driverType
handle DriverInfo ; DEIS_resource
>
public DriverTable
idata ends
;------------------------------------------------------------------------------
; Entry Code
;------------------------------------------------------------------------------
Entry segment resource ; MODULE_FIXED
include printcomEntry.asm ; entry point, misc bookeeping routines
include printcomInfo.asm ; various info getting/setting routines
include printcomAdmin.asm ; misc init routines
include printcomTables.asm ; module jump table for driver calls
include red64EscapeTab.asm ; module jump table for driver escape calls
Entry ends
;------------------------------------------------------------------------------
; Driver code
;------------------------------------------------------------------------------
CommonCode segment resource ; MODULE_STANDARD
include printcomNoStyles.asm ; code to implement Style setting routines
include printcomNoColor.asm ; code to implement Color routines
include printcomPaperOnlyDialog.asm ; code to implement UI setting
include red64Stream.asm ; code to talk with the stream driver
include red64Cursor.asm ; code for CanonBJ Cursor routines
include red64Job.asm ; StartJob/EndJob/SetPaperpath routines
include red64Page.asm ; code to implement Page routines
include red64Graphics.asm ; code for Canon BJ graphics routines
include red64Text.asm ; Text setting routines
include red64Buffer.asm ; code to deal with graphic print buffers
include red64ControlCodes.asm ; Escape and control codes
include red64Escapes.asm ;routines to do the escape calls
CommonCode ends
;------------------------------------------------------------------------------
; Device Info Resources (each in their own resource)
;------------------------------------------------------------------------------
include red64DriverInfo.asm ; overall driver info
include red64BaseInfo.asm ; specific info for base printer
end
|
LAB8/q3.asm | Avigdor-Kolonimus/ASM | 0 | 10106 | DSEG SEGMENT
OUTMES DB "Enter yout guess:",0Ah,0Dh,'$'
WIN DB 0Ah,0Dh,"WIN!",0Ah,0Dh,'$'
newline DB 0Ah,0Dh,'$'
BULL DB "-bull's eyes",0Ah,0Dh,'$'
HIT DB "-hits",0Ah,0Dh,'$'
ERRMES DB 0Ah,0Dh,"Illegal guess, try again",0Ah,0Dh,'$'
password DB ' ',' ',' ',' ','$'
try DB ' ',' ',' ',' ','$'
DSEG ENDS
sseg segment stack
dw 100h dup(?)
sseg ends
CS1 SEGMENT
ASSUME DS:DSEG,CS:CS1,ss:sseg
;procedure print on screen string
MESS proc
mov bp,sp
mov dx,[bp+2]
mov ah,9
int 21h
ret 2
MESS endp
RANDGEN proc ; generate a rand no using the system time
mov bl,10
xor si,si
mov AH, 00h ; interrupts to get system time
int 1AH ; CX:DX now hold number of clock ticks since midnight
IRP num,<cl,dl,ch,dh>
mov ax,0
mov al,num
div bl
add ah,30h
mov password[si],ah
inc si
endm
ret
RANDGEN endp
;procedure check character is number between 0 and 9
check proc
mov bl,0
cmp al,'9'
ja P1
cmp al,'0'
jb P1
ret
P1: mov bl,1
lea dx,ERRMES
push dx
call MESS
ret
check endp
;count bulls
bulP proc
xor si,si
mov cx,4
mov bl,0
P2: mov al,password[si]
cmp al,try[si]
jne P3
inc bl
P3: inc si
loop P2
ret
bulP endp
;count hits
hitP proc
xor si,si
mov cx,4
mov bh,0
P6: mov al,password[si]
xor di,di
push cx
mov cx,4
P5: cmp al,try[di]
jne P4
cmp al,try[si]
je P7
inc bh
P4: inc di
loop P5
P7: inc si
pop cx
loop P6
ret
hitp endp
START :
MOV AX,DSEG
MOV DS,AX
;----------------------------------------------
call RANDGEN
L3: lea dx,OUTMES
push dx
call MESS
mov cx,4
xor si,si
;input and checks of input
L1: mov ah,1
int 21h
cmp al,'q'
je L2
call check
cmp bl,1
je L1
mov try[si],al
inc si
loop L1
;check password and try
;bull
call bulP
cmp bl,4
je L4
lea dx,newline
push dx
call MESS
mov dl,bl
add dl,30h
mov ah,2
int 21h
lea dx,BULL
push dx
call MESS
;hit
call hitp
lea dx,newline
push dx
call MESS
mov dl,bh
add dl,30h
mov ah,2
int 21h
lea dx,HIT
push dx
call MESS
jmp L3
;win
L4: lea dx,WIN
push dx
call MESS
mov bl,1
jmp SOF
;exit
L2: lea dx,newline
push dx
call MESS
lea dx,password
push dx
call MESS
jmp SOF
;----------------------------------------------
SOF: MOV Ah,4CH
INT 21H
CS1 ENDS
END START |
oeis/076/A076726.asm | neoneye/loda-programs | 11 | 91566 | ; A076726: a(n) = Sum_{k>=0} k^n/2^k.
; Submitted by <NAME>
; 2,2,6,26,150,1082,9366,94586,1091670,14174522,204495126,3245265146,56183135190,1053716696762,21282685940886,460566381955706,10631309363962710,260741534058271802,6771069326513690646,185603174638656822266,5355375592488768406230,162249649997008147763642,5149688839606380769088406,170876902673491418589160826,5916558242148290945301297750,213394730876951551651166996282,8004451519688336984972255078166,311795527837243246498552452507386,12595124129900132067036747870669270
seq $0,2050 ; Number of simplices in barycentric subdivision of n-simplex.
add $0,2
div $0,2
mul $0,2
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_383.asm | ljhsiun2/medusa | 9 | 91499 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1585b, %rsi
lea addresses_A_ht+0xb85b, %rdi
clflush (%rsi)
nop
add $9036, %rbx
mov $48, %rcx
rep movsw
sub %rsi, %rsi
lea addresses_A_ht+0x1b05b, %rsi
lea addresses_UC_ht+0x981b, %rdi
nop
nop
nop
add $10377, %rdx
mov $31, %rcx
rep movsb
nop
nop
nop
nop
sub $27105, %rdi
lea addresses_UC_ht+0x1d9c3, %rsi
lea addresses_UC_ht+0x159ff, %rdi
clflush (%rdi)
dec %r11
mov $102, %rcx
rep movsw
sub $57476, %rdx
lea addresses_WC_ht+0xd086, %rsi
lea addresses_A_ht+0x4c5b, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and %r13, %r13
mov $59, %rcx
rep movsb
nop
xor %rcx, %rcx
lea addresses_WT_ht+0x1249b, %rcx
nop
nop
and %rsi, %rsi
mov (%rcx), %rbx
inc %rbx
lea addresses_WT_ht+0xe65b, %r13
nop
nop
nop
cmp %rbx, %rbx
mov (%r13), %si
nop
nop
nop
and $42112, %rdi
lea addresses_A_ht+0x10183, %rsi
lea addresses_WC_ht+0xa873, %rdi
nop
nop
xor %rbp, %rbp
mov $65, %rcx
rep movsb
and $50039, %rsi
lea addresses_WT_ht+0x1bafb, %rsi
lea addresses_D_ht+0xa25b, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
nop
inc %rdx
mov $26, %rcx
rep movsw
nop
nop
inc %r11
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
// Store
lea addresses_normal+0x1b45b, %r14
nop
nop
nop
nop
nop
and %rdi, %rdi
movb $0x51, (%r14)
nop
xor $5777, %rcx
// Store
lea addresses_A+0x345b, %r12
nop
xor $34039, %rdx
movl $0x51525354, (%r12)
nop
nop
nop
nop
nop
add $7311, %r14
// Store
lea addresses_D+0xc99b, %rdx
add %rbx, %rbx
movl $0x51525354, (%rdx)
nop
nop
nop
nop
add $53048, %rbx
// Store
lea addresses_WC+0x66eb, %r12
nop
nop
nop
nop
cmp $61667, %r13
movl $0x51525354, (%r12)
cmp $38764, %rbx
// Faulty Load
lea addresses_WC+0x645b, %r13
nop
nop
nop
nop
cmp $7769, %rbx
movb (%r13), %cl
lea oracles, %rdx
and $0xff, %rcx
shlq $12, %rcx
mov (%rdx,%rcx,1), %rcx
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 3}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}}
{'OP': 'REPM', 'src': {'same': True, 'congruent': 7, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_UC_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_UC_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_A_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 4}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 9}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WC_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_D_ht'}}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
|
programs/oeis/200/A200672.asm | neoneye/loda | 22 | 171394 | <gh_stars>10-100
; A200672: Partial sums of A173862.
; 1,2,3,5,7,9,13,17,21,29,37,45,61,77,93,125,157,189,253,317,381,509,637,765,1021,1277,1533,2045,2557,3069,4093,5117,6141,8189,10237,12285,16381,20477,24573,32765,40957,49149,65533,81917,98301,131069,163837,196605,262141,327677,393213,524285,655357,786429,1048573,1310717,1572861,2097149,2621437,3145725,4194301,5242877,6291453,8388605,10485757,12582909,16777213,20971517,25165821,33554429,41943037,50331645,67108861,83886077,100663293,134217725,167772157,201326589,268435453,335544317,402653181,536870909,671088637,805306365,1073741821,1342177277,1610612733,2147483645,2684354557,3221225469,4294967293,5368709117,6442450941,8589934589,10737418237,12884901885,17179869181,21474836477,25769803773,34359738365
mul $0,2
mov $1,1
lpb $0
sub $0,2
add $1,$2
add $1,1
mov $2,$1
trn $2,$0
lpe
mov $0,$1
|
ExamplePrograms/MemSet.asm | douaumont/i8008_emu | 0 | 746 | ;memset procedure
;HL - address of begining
;b - value to write, c - amount of 8-bit cells to be written, other registers must be saved elsewhere,
;otherwise they shall be corrupted!
lhi $01
lli $00
lci 16
lbi 1
cal memset
hlt
memset:
ldi 1
lei 0
loop:
lmb
lal
add
lla
ace
adh
lha
dcc
jfz loop |
programs/oeis/092/A092784.asm | karttu/loda | 0 | 242176 | <gh_stars>0
; A092784: [round(n*Pi)-round(2*n)].
; 1,2,3,5,6,7,8,9,10,11,13,14,15,16,17,18,19,21,22,23,24,25,26,27,29,30,31,32,33,34,35,37,38,39,40,41,42,43,45,46,47,48,49,50,51,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,70,71,72,73,74,75,76,78,79,80,81,82
mov $2,$0
trn $0,2
mov $3,2
lpb $0,1
mov $4,$3
trn $4,$0
sub $0,$4
trn $0,7
add $3,1
lpe
mov $1,$3
add $1,2
trn $3,$1
add $3,2
sub $1,$3
lpb $2,1
add $1,1
sub $2,1
lpe
sub $1,1
|
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_init.asm | jpoikela/z88dk | 640 | 27322 | <gh_stars>100-1000
; void p_list_init(void *p)
SECTION code_clib
SECTION code_adt_p_list
PUBLIC p_list_init
EXTERN asm_p_list_init
defc p_list_init = asm_p_list_init
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_list_init
defc _p_list_init = p_list_init
ENDIF
|
1A/S5/PIM/projet/src/arbre_genealogique.adb | MOUDDENEHamza/ENSEEIHT | 4 | 23129 | --------------------------------------------------------------------------------
-- Fichier : display_shell.adb
-- Auteur : <NAME> & <NAME>
-- Objectif : Implantation du module Arbre_Genealogique
-- Crée : Dimanche Nov 10 2019
--------------------------------------------------------------------------------
with Ada.Text_IO; use Ada.Text_IO;
with Alea;
with Display_Shell; use Display_Shell;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO;
package body Arbre_Genealogique is
package Mon_Alea is
new Alea (1000, 9999); -- Générateur de nombre dans l'intervalle [1000, 9999].
use Mon_Alea;
--------------------------------------------------------------------------------
-- Afficher un élement d'un ensemble.
procedure Display_Item (Data : in T_Node) is
begin
Put (Integer'Image (Data.ID) & " ");
end Display_Item;
-- Afficher un ensemble.
procedure To_String is new Afficher_Ensemble (Display_Item);
--------------------------------------Constuctor--------------------------------
-- Initialiser List. Tree est List.
function Initialize_List (List : out T_List) return T_List is
begin
for i in 1..10 loop
List(i) := 0;
end loop;
return List;
end Initialize_List;
-- Initialiser un Data.
procedure Initialize_Data (Data : out T_Node; ID : in Integer) is
begin
Data.ID := ID;
end Initialize_Data;
-- Initialiser un arbre genéalogique. L'arbre est vide.
procedure Initialize_Genealogical_Tree (Ab : out T_ABG) is
begin
Initialize (Ab);
end Initialize_Genealogical_Tree;
------------------------------------Getters-------------------------------------
-- Obtenir l'ID de Node.
function Get_ID (Ab : in T_ABG) return Integer is
begin
return Get_Data (Ab).ID;
end Get_ID;
-- Obtenir la liste des concubains.
function Get_Cohabitant (Ab : in T_ABG) return T_List is
begin
return Get_Data (Ab).Cohabitant;
end Get_Cohabitant;
-- Obtenir l'ensemble des demi-frères.
function Get_Half_Brother (Ab : in T_ABG) return T_List is
begin
return Get_Data (Ab).Half_Brother;
end Get_Half_Brother;
-- Obtenir l'ensemble des demi-frères.
function Get_ID_Father (Ab : in T_ABG) return Integer is
begin
return Get_ID (Get_Left (Ab));
end Get_ID_Father;
-- Obtenir l'ensemble des demi-frères.
function Get_ID_Mother (Ab : in T_ABG) return Integer is
begin
return Get_ID (Get_Right (Ab));
end Get_ID_Mother;
--------------------------------------------------------------------------------
-- Vérifier si un ID donné est dans l'arbre.
function Is_Present_ID (Tree : in T_ABG; ID : in Integer) return Boolean is
begin
if (Is_Empty (Tree)) then
return False;
elsif (Get_ID (Tree) = ID) then
return True;
else
return Is_Present_ID (Get_Left (Tree), ID) or Is_Present_ID (Get_Right (Tree), ID);
end if;
end Is_Present_ID;
--------------------------------------------------------------------------------
-- Générer un DATA unique.
function Generate_ID (Ab : in T_ABG) return Integer is
ID : Integer;
begin
loop
Get_Random_Number (ID);
exit when not (Is_Present_ID (Ab, ID));
end loop;
return ID;
end Generate_ID;
--------------------------------------------------------------------------------
-- Obtenir l'ID du fils.
function Get_Child_ID (Ab : in T_ABG; Parent_ID : in Integer) return Integer is
begin
if (Is_Empty (Ab)) then
return 0;
else
if (not (Is_Empty (Get_Left (Ab))) and then Get_ID (Get_Left (Ab)) = Parent_ID) then
return Get_ID (AB);
elsif (not (Is_Empty (Get_Right (Ab))) and then Get_ID (Get_Right (Ab)) = Parent_ID) then
return Get_ID (AB);
end if;
return Get_Child_ID (Get_Left (Ab), Parent_ID) + Get_Child_ID (Get_Right (Ab), Parent_ID);
end if;
end Get_Child_ID;
--------------------------------------------------------------------------------
procedure Creer_Arbre_Minimal (Ab : out T_ABG; DATA : in T_Node) is
begin
if (Is_Empty (Ab)) then
Create_Node (Ab, DATA);
else
raise ARBRE_NON_VIDE_EXCEPTION;
end if;
end Creer_Arbre_Minimal;
--------------------------------------------------------------------------------
procedure Ajouter_Parent (Ab : in out T_ABG; New_Data : in T_Node; ID, Flag : in Integer) is
procedure Find_Person (Ab : in out T_ABG; ID, Flag : in Integer) is
L, R: T_ABG;
begin
if (Is_Empty (Ab)) then
Null;
else
L := Get_Left (Ab);
R := Get_Right (Ab);
if (ID = Get_ID (Ab)) then
if ((not Is_empty (L)) and (not Is_empty (R))) then
raise DEUX_PARENTS_PRESENTS_EXCEPTION;
elsif (Flag = 0) then
Create_Node (L, New_Data);
Set_Left (Ab, L);
elsif (Flag = 1) then
Create_Node (R, New_Data);
Set_Right (Ab, R);
end if;
else
Find_Person (L, ID, Flag);
Find_Person (R, ID, Flag);
end if;
end if;
end Find_Person;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
elsif (not ( Is_Present_ID (Ab, ID))) then
Raise ID_ABSENT_EXCEPTION;
else
Find_Person (Ab, ID, Flag);
end if;
end Ajouter_Parent;
--------------------------------------------------------------------------------
function Nombre_Ancetres (Ab : in T_ABG; ID : in Integer) return Integer is
procedure Get_Sub_Tree (Ab : in T_ABG; DATA_Tree : out T_ABG) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (Get_ID (Ab) = ID) then
DATA_Tree := Ab;
else
Get_Sub_Tree (Get_Left (AB), DATA_Tree);
Get_Sub_Tree (Get_Right (AB), DATA_Tree);
end if;
end if;
end Get_Sub_Tree;
DATA_Tree : T_ABG;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
elsif (not ( Is_Present_ID (Ab, ID))) then
Raise ID_ABSENT_EXCEPTION;
else
Get_Sub_Tree (Ab, DATA_Tree);
return Height (DATA_Tree);
end if;
end Nombre_Ancetres;
--------------------------------------------------------------------------------
procedure Ancetres_N_Generation (Ab : in T_ABG; ID, Generation : in Integer) is
procedure Ancestor_N_Generation (Ab : in T_ABG; E : in out T_Ensemble; Generation : in Integer) is
begin
if (Is_Empty (Ab)) then
Null;
elsif (Generation = 0 and not (Is_Empty (Ab))) then
Ajouter (E, Get_data (Ab));
else
Ancestor_N_Generation (Get_Left (Ab), E, Generation - 1);
Ancestor_N_Generation (Get_Right (Ab), E, Generation - 1);
end if;
end Ancestor_N_Generation;
procedure Find_Person (Ab : in T_ABG; E : in out T_Ensemble; ID, Generation : in Integer) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (ID = Get_ID (Ab)) then
Ancestor_N_Generation (Ab, E, Generation);
else
Find_Person (Get_Left (AB), E, ID, Generation);
Find_Person (Get_Right (AB), E, ID, Generation);
end if;
end if;
end Find_Person;
E : T_Ensemble;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
elsif (not ( Is_Present_ID (Ab, ID))) then
Raise ID_ABSENT_EXCEPTION;
else
Initialiser (E);
find_person (Ab, E, ID, Generation);
Display_Title_Set ("L'ensemble des ancetres à ", Generation);
To_String (E);
Detruire (E);
end if;
end Ancetres_N_Generation;
--------------------------------------------------------------------------------
procedure Afficher_Arbre_Noeud (Ab : in T_ABG; ID : in Integer) is
procedure Indenter(Decalage : in Integer) is
begin
for i in 1..Decalage loop
Put (' ');
end loop;
end Indenter;
procedure Afficher_Profondeur (Ab : in T_ABG ; Profondeur : in Integer ; Cote : in String) is
begin
if (Is_Empty (Ab)) then
Null;
else
Indenter (Profondeur * 4);
Put (Cote);
Put (Integer'Image (Get_ID (Ab)));
New_Line;
Afficher_Profondeur (Get_Left (Ab), Profondeur + 1, "-- père :");
Afficher_Profondeur (Get_Right (Ab), Profondeur + 1, "-- mère :");
end if;
end Afficher_Profondeur;
procedure Afficher_Generations (Ab : in T_ABG) is
begin
New_Line;
for i in 1..depth(Ab) loop
Put (Integer'Image(i - 1));
Indenter(4);
end loop;
Put_Line ("Generation");
for i in 0..depth (Ab) loop
Put ("---------");
end loop;
New_Line;
end Afficher_Generations;
procedure Get_Sub_Tree (Ab : in T_ABG; DATA_Tree : out T_ABG) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (ID = Get_ID (Ab)) then
DATA_Tree := Ab;
else
Get_Sub_Tree (Get_Left (AB), DATA_Tree);
Get_Sub_Tree (Get_Right (AB), DATA_Tree);
end if;
end if;
end Get_Sub_Tree;
DATA_Tree : T_ABG;
begin
if (Is_Empty (Ab)) then
Null;
else
Get_Sub_Tree (Ab, DATA_Tree);
Afficher_Generations (DATA_Tree);
Afficher_Profondeur (DATA_Tree, 0, "");
end if;
end Afficher_Arbre_Noeud;
--------------------------------------------------------------------------------
procedure Supprimer (Ab : in out T_ABG; ID : in Integer) is
procedure Get_Sub_Tree (Ab : in out T_ABG) is
L, R : T_ABG;
begin
if (Is_Empty (Ab)) then
Null;
else
L := Get_Left (Ab);
R := Get_Right (Ab);
if ((not (Is_Empty (L))) and then (ID = Get_ID (L))) then
Destruct (L);
Set_Left (Ab, L);
elsif ((not (Is_Empty (R))) and then (ID = Get_ID (R))) then
Destruct (R);
Set_Right (Ab, R);
else
Get_Sub_Tree (L);
Get_Sub_Tree (R);
end if;
end if;
end Get_Sub_Tree;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
elsif (not ( Is_Present_ID (Ab, ID))) then
Raise ID_ABSENT_EXCEPTION;
else
Get_Sub_Tree (Ab);
end if;
end Supprimer;
--------------------------------------------------------------------------------
procedure Individus_1_Parent_Connu (Ab : in T_ABG) is
procedure Person_1_Parent (Ab : in T_ABG; E : in out T_Ensemble) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (not (Is_Empty (Get_Left (AB))) and Is_empty (Get_Right (AB))) then
Ajouter (E, Get_Data (Ab));
elsif (Is_empty (Get_Left (AB)) and (not (Is_empty (Get_Right (AB))))) then
Ajouter (E, Get_Data (Ab));
end if;
Person_1_Parent (Get_Left (AB), E);
Person_1_Parent (Get_Right (AB), E);
end if;
end Person_1_Parent;
E : T_Ensemble;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
else
Initialiser (E);
Person_1_Parent (Ab, E);
Display_Title_Set ("L'ensemble des individus qui n'ont qu'un parent connu", -1);
To_String (E);
Detruire (E);
end if;
end Individus_1_Parent_Connu;
--------------------------------------------------------------------------------
procedure Individus_2_Parent_Connu (Ab : in T_ABG) is
procedure Person_2_Parent (Ab : in T_ABG; E : in out T_Ensemble) is
begin
if (Is_Empty (Ab)) then
Null;
elsif (not (Is_Empty (Get_Left (Ab))) and not(Is_Empty (Get_Right (Ab)))) then
Ajouter (E, GeT_Data (Ab));
else
Person_2_Parent (Get_Left (Ab), E);
Person_2_Parent (Get_Right (Ab), E);
end if;
end Person_2_Parent;
E : T_Ensemble;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
else
Initialiser (E);
Person_2_Parent (Ab, E);
Display_Title_Set ("L'ensemble des individus qui ont les deux parents connus", -1);
To_String (E);
Detruire (E);
end if;
end Individus_2_Parent_Connu;
--------------------------------------------------------------------------------
procedure Ensemble_Feuilles (Ab : in T_ABG) is
procedure Person_0_Parent (Ab : in T_ABG; E : in out T_Ensemble) is
begin
if (Is_Empty (Ab)) then
Null;
elsif (Is_Empty (Get_Left (Ab)) and Is_Empty (Get_Right (Ab))) then
Ajouter (E, GeT_Data (Ab));
else
Person_0_Parent (Get_Left (Ab), E);
Person_0_Parent (Get_Right (Ab), E);
end if;
end Person_0_Parent;
E : T_Ensemble;
begin
if (Is_Empty (Ab)) then
raise ARBRE_VIDE_EXCEPTION;
else
Initialiser (E);
Person_0_Parent (Ab, E);
Display_Title_Set ("L'ensemble des indivDATAus qui n'ont aucun parent connu", -1);
To_String (E);
Detruire (E);
end if;
end Ensemble_Feuilles;
--------------------------------------------------------------------------------
-- Identifier les ancêtres d'un indivDATAu donné sur N generations données par un noeud donné.
procedure Ancetres_Sur_N_Generation (Ab : in T_ABG; ID, Generation : in Integer) is
procedure Ancestor_N_Generation (Ab : in T_ABG; E : in out T_Ensemble; Generation : in Integer) is
begin
if (Is_Empty (Ab)) then
Null;
elsif (Generation >= 0 and not (Is_Empty (Ab))) then
Ajouter (E, GeT_Data (Ab));
else
Ancestor_N_Generation (Get_Left (Ab), E, Generation - 1);
Ancestor_N_Generation (Get_Right (Ab), E, Generation - 1);
end if;
end Ancestor_N_Generation;
procedure Find_Person (Ab : in T_ABG; E : in out T_Ensemble; ID, Generation : in Integer) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (ID = Get_ID (Ab)) then
Ancestor_N_Generation (Ab, E, Generation);
else
Find_Person (Get_Left (AB), E, ID, Generation);
Find_Person (Get_Right (AB), E, ID, Generation);
end if;
end if;
end Find_Person;
E : T_Ensemble;
begin
Initialiser (E);
find_person (Ab, E, ID, Generation);
Display_Title_Set ("L'ensemble des ancetres sur", Generation);
To_String (E);
end Ancetres_Sur_N_Generation;
--------------------------------------------------------------------------------
-- Vérifier que deux individus n et m ont un ou plusieurs ancêtres homonymes (mêmes non et prénom).
function Ancetres_Homonymes (Ab1, Ab2 : in T_ABG; R : in T_Registre; ID1, ID2 : in Integer) return Boolean is
procedure Get_Sub_Tree (Ab : in T_ABG; DATA_Tree : out T_ABG; ID : in Integer) is
begin
if (Is_Empty (Ab)) then
Null;
else
if (ID = Get_ID (Ab)) then
DATA_Tree := Ab;
else
Get_Sub_Tree (Get_Left (AB), DATA_Tree, ID);
Get_Sub_Tree (Get_Right (AB), DATA_Tree, ID);
end if;
end if;
end Get_Sub_Tree;
function Compare_DATA_Tree (ID : in Integer; Tmp2 : in T_ABG; R : in T_Registre) return Boolean is
begin
if (Is_Empty (Tmp2)) then
return False;
else
Put_Line (Get_Last_Name (La_Donnee_R (R, ID)) & Get_Last_Name (La_Donnee_R (R, Get_ID (Tmp2))));
if (Get_Last_Name (La_Donnee_R (R, ID)) = Get_Last_Name (La_Donnee_R (R, Get_ID (Tmp2))) and
Get_First_Name (La_Donnee_R (R, ID)) = Get_First_Name (La_Donnee_R (R, Get_ID (Tmp2)))) then
return True;
else
return False or Compare_Data_Tree (ID, Get_Left (Tmp2), R) or Compare_Data_Tree (ID, Get_Right (Tmp2), R);
end if;
end if;
end Compare_DATA_Tree;
procedure homonym_research (Tmp1, Tmp2 : in T_ABG; R : in T_Registre; Res : in out Boolean) is
begin
if (Is_Empty (Tmp1)) then
Null;
else
Res := Res or Compare_Data_Tree (Get_ID (Tmp1), Tmp2, R);
homonym_research (Get_Left (Tmp1), Tmp2, R, Res);
homonym_research (Get_Right (Tmp1), Tmp2, R, Res);
Put_Line (boolean'Image(RES));
end if;
end homonym_research;
Tmp1, Tmp2 : T_ABG;
Res : Boolean;
begin
Res := False;
Get_Sub_Tree (Ab1, Tmp1, ID1);
Get_Sub_Tree (Ab2, Tmp2, ID2);
homonym_research (Tmp1, Tmp2, R, Res);
return Res;
end Ancetres_Homonymes;
--------------------------------------------------------------------------------
end Arbre_Genealogique;
|
bddisasm_test/basic/branch_16.asm | andreaswimmer/bddisasm | 675 | 177068 | bits 16
call $
call ax
call eax
call [bx]
call [ebx]
call word [ebx]
call dword [ebx]
jmp $
jmp ax
jmp eax
jmp [bx]
jmp [ebx]
jmp word [ebx]
jmp dword [ebx]
call word 0x20:0x1000
call dword 0x20:0x10000000
jmp word 0x20:0x1000
call dword 0x20:0x10000000
call far word [ebx]
call far word [bx]
call far dword [ebx]
call far dword [bx]
jmp far word [ebx]
jmp far word [bx]
jmp far dword [ebx]
jmp far dword [bx]
jc $
jnc $
loop $
loopnz $
jcxz $
jecxz $
int 0x21
int3
int1
icebp
ret
ret 0x20
retf
retf 0x20
iretw
iretd |
source/jni/u2/glenz/asm.asm | Falken42/SecondReality | 9 | 20286 | include asm.inc
text__asm SEGMENT para public 'CODE'
ASSUME cs:text__asm
.386
tmp1 dw 0
tmp2 dw 0
PUBLIC _testpset
_testpset PROC FAR
CBEG
LOADDS
mov dx,3c4h
mov al,2
out dx,al
mov es,ds:vram
mov ax,[bp+10]
mov ds:color,ax
mov bx,[bp+8]
mov dx,[bp+6]
call VIDPSET
CEND
_testpset ENDP
PUBLIC _testline
_testline PROC FAR
CBEG
LOADDS
mov es,ds:vram
mov ax,[bp+14]
mov ds:color,ax
mov ax,[bp+12]
mov cx,[bp+10]
mov bx,[bp+8]
mov dx,[bp+6]
call VIDLINE
CEND
_testline ENDP
PUBLIC _testasm
_testasm PROC FAR
CBEG
LOADDS
mov si,OFFSET video
mov ax,0
call setvmode
call VIDINIT
CEND
CBEG
LOADDS
setborder 0
mov si,OFFSET video
mov ax,0
call setvmode
call VIDINIT
;call VIDSWITCH
;call VIDCLEAR64
mov ax,13h
int 10h
;
mov dx,3c8h
mov al,0
out dx,al
inc dx
xor al,al
out dx,al
out dx,al
out dx,al
mov al,11
mov cx,255
@@1: out dx,al
out dx,al
out dx,al
inc al
loop @@1
call VIDSWITCH
push ds:vram
call VIDSWITCH
pop ds:vram
mov ax,13h
int 10h
CEND
LOADDS
mov ds:color1,60
@@aga: LOADDS
call VIDSWITCH
mov dx,3c4h
mov al,2
out dx,al
add ds:color,1
add cs:tmp1,3
add cs:tmp2,4
mov cx,0
mov ax,cs:tmp1
shr ax,2
and ax,255
mov dx,cs:tmp2
shr dx,2
and dx,255
mov bx,199
mov es,ds:vram
call VIDLINE
mov ah,1
mov ax,3
int 10h
CEND
_testasm ENDP
PUBLIC _asmtestmode
_asmtestmode db 0
PUBLIC _asm
_asm PROC FAR
CBEG
LOADDS
push word ptr [bp+6]
push word ptr [bp+8]
cmp cs:_asmtestmode,0
je @@1
@@2: setborder 0
call VIDWAITB
call VIDWAITB
call VIDWAITB
mov ax,0a000h
mov es,ax
mov cx,32000
xor ax,ax
rep stosw
pop es
pop di
CEND
@@1: setborder 0
call VIDWAITB
pop es
pop di
CEND
_asm ENDP
text__asm ENDS
END
|
tests/heif/invalid-ccst-wrong-size.asm | y-guyon/ComplianceWarden | 3 | 27379 | <reponame>y-guyon/ComplianceWarden
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
%define fourcc(a) db a
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_start)
db "meta"
dd BE(0)
hdlr_start:
dd BE(hdlr_end - hdlr_start)
db "hdlr"
db 0x00 ; version(8)
db 0x00, 0x00, 0x00 ; flags(24)
db 0x00, 0x00, 0x00, 0x00 ; pre_defined(32)
db 0x70, 0x69, 0x63, 0x74 ; handler_type(32) ('pict')
db 0x00, 0x00, 0x00, 0x00 ; reserved1(32)
db 0x00, 0x00, 0x00, 0x00 ; reserved2(32)
db 0x00, 0x00, 0x00, 0x00 ; reserved3(32)
db 0x00 ; name(8)
hdlr_end:
pitm_start:
dd BE(pitm_end - pitm_start)
db "pitm"
dd BE(0)
db 0x00, 0x00
pitm_end:
iinf_start:
dd BE(iinf_end - iinf_start)
db "iinf"
dd BE(0)
db 0x00, 0x00
iinf_end:
iprp_start:
dd BE(iprp_end - iprp_start)
db "iprp"
ipco_start:
dd BE(ipco_end - ipco_start)
db "ipco"
ispe_start:
dd BE(ispe_end - ispe_start)
db "ispe"
dd 0, 0, 0
ispe_end:
ipco_end:
iprp_end:
meta_end:
moov_start:
dd BE(moov_end - moov_start)
fourcc("moov")
trak_start:
dd BE(trak_end - trak_start)
fourcc("trak")
mdia_start:
dd BE(mdia_end - mdia_start)
fourcc("mdia")
hdlr2_start:
dd BE(hdlr2_end - hdlr2_start)
db "hdlr"
db 0x00 ; version(8)
db 0x00, 0x00, 0x00 ; flags(24)
db 0x00, 0x00, 0x00, 0x00 ; pre_defined(32)
db 0x70, 0x69, 0x63, 0x74 ; handler_type(32) ('pict')
db 0x00, 0x00, 0x00, 0x00 ; reserved1(32)
db 0x00, 0x00, 0x00, 0x00 ; reserved2(32)
db 0x00, 0x00, 0x00, 0x00 ; reserved3(32)
db 0x00 ; name(8)
hdlr2_end:
minf_start:
dd BE(minf_end - minf_start)
fourcc("minf")
stbl_start:
dd BE(stbl_end - stbl_start)
fourcc("stbl")
stsd_start:
dd BE(stsd_end - stsd_start)
fourcc("stsd")
dd BE(0)
dd BE(1) ; entry_count
avc1_start:
dd BE(avc1_end - avc1_start)
fourcc("avc1")
dd BE(0)
dd BE(0)
dd BE(0)
dd BE(0)
dd BE(0)
dd BE(0)
dd BE(0) ; width, height
dd BE(0) ; horizresolution
dd BE(0) ; vertresolution
dd BE(0)
db 0x00, 0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
dd BE(0)
ccst_start:
dd BE(ccst_end - ccst_start)
dd "ccst"
ccst_end:
avc1_end:
stsd_end:
stbl_end:
minf_end:
mdia_end:
trak_end:
moov_end:
; vim: syntax=nasm
|
tests/unit_tests.adb | osannolik/ada-canopen | 6 | 7309 | with Generic_Table_Test;
with Generic_Collection_Test;
with Remote_Node_Test;
package body Unit_Tests is
function Suite return Access_Test_Suite is
Ret : constant Access_Test_Suite := new Test_Suite;
begin
Ret.Add_Test (new Generic_Table_Test.Test);
Ret.Add_Test (new Generic_Collection_Test.Test);
Ret.Add_Test (new Remote_Node_Test.Test);
return Ret;
end Suite;
end Unit_Tests;
|
test/asset/agda-stdlib-1.0/Category/Monad/Partiality/All.agda | omega12345/agda-mode | 0 | 8737 | <filename>test/asset/agda-stdlib-1.0/Category/Monad/Partiality/All.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- An All predicate for the partiality monad
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --guardedness #-}
module Category.Monad.Partiality.All where
open import Category.Monad
open import Category.Monad.Partiality as Partiality using (_⊥; ⇒≈)
open import Codata.Musical.Notation
open import Function
open import Level
open import Relation.Binary using (_Respects_; IsEquivalence)
open import Relation.Binary.PropositionalEquality as P using (_≡_)
open Partiality._⊥
open Partiality.Equality using (Rel)
open Partiality.Equality.Rel
private
open module E {a} {A : Set a} = Partiality.Equality (_≡_ {A = A})
using (_≅_; _≳_)
open module M {f} = RawMonad (Partiality.monad {f = f})
using (_>>=_)
------------------------------------------------------------------------
-- All, along with some lemmas
-- All P x means that if x terminates with the value v, then P v
-- holds.
data All {a p} {A : Set a} (P : A → Set p) : A ⊥ → Set (a ⊔ p) where
now : ∀ {v} (p : P v) → All P (now v)
later : ∀ {x} (p : ∞ (All P (♭ x))) → All P (later x)
-- Bind preserves All in the following way:
_>>=-cong_ : ∀ {ℓ p q} {A B : Set ℓ} {P : A → Set p} {Q : B → Set q}
{x : A ⊥} {f : A → B ⊥} →
All P x → (∀ {x} → P x → All Q (f x)) →
All Q (x >>= f)
now p >>=-cong f = f p
later p >>=-cong f = later (♯ (♭ p >>=-cong f))
-- All respects all the relations, given that the predicate respects
-- the underlying relation.
respects :
∀ {k a p ℓ} {A : Set a} {P : A → Set p} {_∼_ : A → A → Set ℓ} →
P Respects _∼_ → All P Respects Rel _∼_ k
respects resp (now x∼y) (now p) = now (resp x∼y p)
respects resp (later x∼y) (later p) = later (♯ respects resp (♭ x∼y) (♭ p))
respects resp (laterˡ x∼y) (later p) = respects resp x∼y (♭ p)
respects resp (laterʳ x≈y) p = later (♯ respects resp x≈y p)
respects-flip :
∀ {k a p ℓ} {A : Set a} {P : A → Set p} {_∼_ : A → A → Set ℓ} →
P Respects flip _∼_ → All P Respects flip (Rel _∼_ k)
respects-flip resp (now x∼y) (now p) = now (resp x∼y p)
respects-flip resp (later x∼y) (later p) = later (♯ respects-flip resp (♭ x∼y) (♭ p))
respects-flip resp (laterˡ x∼y) p = later (♯ respects-flip resp x∼y p)
respects-flip resp (laterʳ x≈y) (later p) = respects-flip resp x≈y (♭ p)
-- "Equational" reasoning.
module Reasoning {a p ℓ}
{A : Set a} {P : A → Set p}
{_∼_ : A → A → Set ℓ}
(resp : P Respects flip _∼_) where
infix 3 finally
infixr 2 _≡⟨_⟩_ _∼⟨_⟩_
_≡⟨_⟩_ : ∀ x {y} → x ≡ y → All P y → All P x
_ ≡⟨ P.refl ⟩ p = p
_∼⟨_⟩_ : ∀ {k} x {y} → Rel _∼_ k x y → All P y → All P x
_ ∼⟨ x∼y ⟩ p = respects-flip resp (⇒≈ x∼y) p
-- A cosmetic combinator.
finally : (x : A ⊥) → All P x → All P x
finally _ p = p
syntax finally x p = x ⟨ p ⟩
-- "Equational" reasoning with _∼_ instantiated to propositional
-- equality.
module Reasoning-≡ {a p} {A : Set a} {P : A → Set p}
= Reasoning {P = P} {_∼_ = _≡_} (P.subst P ∘ P.sym)
------------------------------------------------------------------------
-- An alternative, but equivalent, formulation of All
module Alternative {a p : Level} where
infix 3 _⟨_⟩P
infixr 2 _≅⟨_⟩P_ _≳⟨_⟩P_
-- All "programs".
data AllP {A : Set a} (P : A → Set p) : A ⊥ → Set (suc (a ⊔ p)) where
now : ∀ {x} (p : P x) → AllP P (now x)
later : ∀ {x} (p : ∞ (AllP P (♭ x))) → AllP P (later x)
_>>=-congP_ : ∀ {B : Set a} {Q : B → Set p} {x f}
(p-x : AllP Q x) (p-f : ∀ {v} → Q v → AllP P (f v)) →
AllP P (x >>= f)
_≅⟨_⟩P_ : ∀ x {y} (x≅y : x ≅ y) (p : AllP P y) → AllP P x
_≳⟨_⟩P_ : ∀ x {y} (x≳y : x ≳ y) (p : AllP P y) → AllP P x
_⟨_⟩P : ∀ x (p : AllP P x) → AllP P x
private
-- WHNFs.
data AllW {A} (P : A → Set p) : A ⊥ → Set (suc (a ⊔ p)) where
now : ∀ {x} (p : P x) → AllW P (now x)
later : ∀ {x} (p : AllP P (♭ x)) → AllW P (later x)
-- A function which turns WHNFs into programs.
program : ∀ {A} {P : A → Set p} {x} → AllW P x → AllP P x
program (now p) = now p
program (later p) = later (♯ p)
-- Functions which turn programs into WHNFs.
trans-≅ : ∀ {A} {P : A → Set p} {x y : A ⊥} →
x ≅ y → AllW P y → AllW P x
trans-≅ (now P.refl) (now p) = now p
trans-≅ (later x≅y) (later p) = later (_ ≅⟨ ♭ x≅y ⟩P p)
trans-≳ : ∀ {A} {P : A → Set p} {x y : A ⊥} →
x ≳ y → AllW P y → AllW P x
trans-≳ (now P.refl) (now p) = now p
trans-≳ (later x≳y) (later p) = later (_ ≳⟨ ♭ x≳y ⟩P p)
trans-≳ (laterˡ x≳y) p = later (_ ≳⟨ x≳y ⟩P program p)
mutual
_>>=-congW_ : ∀ {A B} {P : A → Set p} {Q : B → Set p} {x f} →
AllW P x → (∀ {v} → P v → AllP Q (f v)) →
AllW Q (x >>= f)
now p >>=-congW p-f = whnf (p-f p)
later p >>=-congW p-f = later (p >>=-congP p-f)
whnf : ∀ {A} {P : A → Set p} {x} → AllP P x → AllW P x
whnf (now p) = now p
whnf (later p) = later (♭ p)
whnf (p-x >>=-congP p-f) = whnf p-x >>=-congW p-f
whnf (_ ≅⟨ x≅y ⟩P p) = trans-≅ x≅y (whnf p)
whnf (_ ≳⟨ x≳y ⟩P p) = trans-≳ x≳y (whnf p)
whnf (_ ⟨ p ⟩P) = whnf p
-- AllP P is sound and complete with respect to All P.
sound : ∀ {A} {P : A → Set p} {x} → AllP P x → All P x
sound = λ p → soundW (whnf p)
where
soundW : ∀ {A} {P : A → Set p} {x} → AllW P x → All P x
soundW (now p) = now p
soundW (later p) = later (♯ sound p)
complete : ∀ {A} {P : A → Set p} {x} → All P x → AllP P x
complete (now p) = now p
complete (later p) = later (♯ complete (♭ p))
|
common/utils.asm | felipemfp/stunt-cycle | 5 | 80835 | .macro increment(%reg, %limit, %value)
add %reg, %reg, %value
bgt %reg, %limit, increment_greater_than_limit
j increment_end
increment_greater_than_limit:
add %reg, $zero, %limit
increment_end:
nop
.end_macro
.macro decrement(%reg, %limit, %value)
sub %reg, %reg, %value
blt %reg, %limit, decrement_less_than_limit
j decrement_end
decrement_less_than_limit:
add %reg, $zero, %limit
decrement_end:
nop
.end_macro
.macro circular_increment(%reg, %min, %max, %value)
add %reg, %reg, %value
bgt %reg, %max, circular_increment_greater_than_max
j circular_increment_end
circular_increment_greater_than_max:
add %reg, $zero, %min
circular_increment_end:
nop
.end_macro
.macro circular_decrement(%reg, %min, %max, %value)
sub %reg, %reg, %value
blt %reg, %min, circular_decrement_less_than_min
j circular_decrement_end
circular_decrement_less_than_min:
add %reg, $zero, %max
circular_decrement_end:
nop
.end_macro
.macro display_snapshot()
add $t0, $zero, DISPLAY_ADDRESS
add $t1, $zero, DISPLAY_SNAPSHOT_VALUE
add $t2, $zero, MAX_WIDTH
add $t3, $zero, MAX_HEIGHT
mul $t3, $t2, $t3
add $t2, $zero, 0
display_snapshot_loop:
mul $t4, $t2, 4
add $t4, $t4, $t0
lw $t5, 0($t4)
add $t4, $t4, $t1
sw $t5, 0($t4)
add $t2, $t2, 1
ble $t2, $t3, display_snapshot_loop
.end_macro
.macro display_snapshot_restore()
add $t0, $zero, DISPLAY_ADDRESS
add $t1, $zero, DISPLAY_SNAPSHOT_VALUE
add $t2, $zero, MAX_WIDTH
add $t3, $zero, MAX_HEIGHT
mul $t3, $t2, $t3
add $t2, $zero, 0
display_snapshot_restore_loop:
mul $t4, $t2, 4
add $t4, $t4, $t0
add $t4, $t4, $t1
lw $t5, 0($t4)
sub $t4, $t4, $t1
sw $t5, 0($t4)
add $t2, $t2, 1
ble $t2, $t3, display_snapshot_restore_loop
.end_macro
.macro display_snapshot_restore_pixel(%x, %y)
add $t0, $zero, MAX_WIDTH
add $t1, $zero, DISPLAY_ADDRESS
mul $t2, $t0, %y
add $t2, $t2, %x
mul $t2, $t2, 4
add $t2, $t2, $t1
add $t4, $zero, DISPLAY_SNAPSHOT_VALUE
add $t2, $t2, $t4
lw $t3, 0($t2)
sub $t2, $t2, $t4
sw $t3, 0($t2)
.end_macro
.macro display_snapshot_restore_horizontal_line(%from, %to, %y)
add $t0, $zero, MAX_WIDTH
add $t1, $zero, DISPLAY_ADDRESS
mul $t2, $t0, %y
add $t2, $t2, %from
mul $t2, $t2, 4
add $t2, $t2, $t1
add $t4, $zero, %from
add $t5, $zero, %to
add $t6, $zero, DISPLAY_SNAPSHOT_VALUE
display_snapshot_restore_horizontal_line_loop:
add $t2, $t2, $t6
lw $t3, 0($t2)
sub $t2, $t2, $t6
sw $t3, 0($t2)
add $t2, $t2, 4
add $t4, $t4, 1
ble $t4, $t5, display_snapshot_restore_horizontal_line_loop
.end_macro
.macro display_snapshot_restore_vertical_line(%from, %to, %x)
add $t0, $zero, MAX_WIDTH
add $t1, $zero, DISPLAY_ADDRESS
mul $t2, $t0, %from
add $t2, $t2, %x
mul $t2, $t2, 4
add $t2, $t2, $t1
add $t4, $zero, %from
add $t5, $zero, %to
mul $t6, $t0, 4
add $t7, $zero, DISPLAY_SNAPSHOT_VALUE
display_snapshot_restore_vertical_line_loop:
add $t2, $t2, $t7
lw $t3, 0($t2)
sub $t2, $t2, $t7
sw $t3, 0($t2)
add $t2, $t2, $t6
add $t4, $t4, 1
ble $t4, $t5, display_snapshot_restore_vertical_line_loop
.end_macro
.macro display_snapshot_restore_area(%xFrom, %xTo, %yFrom, %yTo ,%color)
add $t7, $zero, %yFrom
add $t8, $zero, %yTo
display_snapshot_restore_area_loop:
display_snapshot_restore_horizontal_line(%xFrom, %xTo, $t7, %color)
add $t7, $t7, 1
ble $t7, $t8, draw_area_loop
.end_macro
.macro exit()
li $v0, 10
syscall
.end_macro
|
src/Control/Monad/Identity.agda | L-TChen/agda-prelude | 111 | 10012 |
module Control.Monad.Identity where
open import Prelude
open import Container.Foldable
open import Container.Traversable
record Identity {a} (A : Set a) : Set a where
constructor mkIdentity
field
runIdentity : A
open Identity public
instance
FunctorId : ∀ {a} → Functor (Identity {a})
runIdentity (fmap {{FunctorId}} f m) = f (runIdentity m)
ApplicativeId : ∀ {a} → Applicative (Identity {a})
runIdentity (pure {{ApplicativeId}} x) = x
runIdentity (_<*>_ {{ApplicativeId}} mf mx) = runIdentity mf (runIdentity mx)
MonadId : ∀ {a} → Monad (Identity {a})
_>>=_ {{MonadId}} m f = f (runIdentity m)
FunctorId′ : ∀ {a b} → Functor′ {a} {b} Identity
runIdentity (fmap′ {{FunctorId′}} f m) = f (runIdentity m)
ApplicativeId′ : ∀ {a b} → Applicative′ {a} {b} Identity
runIdentity (_<*>′_ {{ApplicativeId′}} mf mx) = runIdentity mf (runIdentity mx)
MonadId′ : ∀ {a b} → Monad′ {a} {b} Identity
_>>=′_ {{MonadId′}} m f = f (runIdentity m)
FoldableId : ∀ {a w} → Foldable {w = w} (Identity {a})
foldMap {{FoldableId}} f m = f (runIdentity m)
TraversableId : ∀ {a} → Traversable (Identity {a})
traverse {{TraversableId}} f m = pure mkIdentity <*> f (runIdentity m)
|
ee/ptr/open.asm | olifink/smsqe | 0 | 21824 | <gh_stars>0
* Open routine for pointer routines 1986 <NAME> QJUMP
*
section driver
*
xdef pt_open
*
xref pt_wchka
xref pt_ptop
xref pt_mrall
xref pt_setq
xref pt_copyc
*
include dev8_keys_err
include dev8_keys_qlv
include dev8_keys_chn
include dev8_keys_sys
include dev8_keys_qdos_sms
include dev8_keys_con
*
pt_open
move.l sys_ckyq(a6),-(sp) clear out key queue
clr.l sys_ckyq(a6)
move.l pt_copen-pt_liodm+pt_liod(a3),a4 get old open routine
move.l a3,-(sp)
move.l pt_clink-pt_liodm+pt_liod(a3),a3
jsr (a4) call open
move.l (sp)+,a3
move.l (sp)+,sys_ckyq(a6) restore key queue
tst.l d0 problems?
bne.s pto_rts ...oops
*
move.l a0,-(sp) save channel address
lea -pt_liodm+pt_liod(a3),a3 fix dddb address
moveq #sms.info,d0 get current job
trap #1
lea pt_head(a3),a0 point to list of primaries
chkn_lp
move.l (a0),d0 next primary
beq.s new_job isn't one, there's a new job in town!
move.l d0,a0 point to its link
cmp.l chn_ownr-sd_prwlt-sd.extnl(a0),d1
beq.s pto_exr owned by current job, should be OK
bra.s chkn_lp
*
new_job
moveq #1,d3 new job, lock all windows
jsr pt_wchka(pc)
beq.s pto_setq ... ok, set the queue to dummy
bsr.l pt_ptop ... bad, repick the top
move.l (sp)+,a0 return the heap
move.w mem.rchp,a2
jsr (a2)
moveq #err.imem,d0 oops
pto_rts
rts
pto_setq
bsr.l pt_setq set keyboard queue
bsr.l pt_mrall and finish off wchka
pto_exr
moveq #0,d0 no errors
move.l (sp)+,a0
jmp pt_copyc(pc) so fix up the cdb
*
end
|
3-1-Assembly/software/strmat.asm | Awdrtgg/Coursework-Projects | 3 | 83221 | data segment
string db "ababdwrdabcf"
pos dw 0
found dw 00h
hint1 db "Please type the string"
hint2 db "Please type the substring"
answer1 db "Match failed"
answer2 db "Successfully match, pos = "
data ends
extra segment
substr db "abc"
extra ends
stack segment
stack ends
code segment
assume cs:code, ds:data, es:extra
start:
mov ax, data
mov ds, ax
; lea dx, hint1 ; print hint1
; mov ah, 09h
; int 21h
;
; lea dx, string ; get string
; mov ah, 0Ah
; int 21h
;
; mov ah, 02h ; print enter
; mov dl, 0Ah
; int 21h
;
; lea dx, hint2 ; print hint2
; mov ah, 0Ah
; int 21h
;
; lea dx, substr ; get substr
; mov ah, 0Ah
; int 21h
;
; mov ah, 02h ; print enter
; mov dl, 0Ah
; int 21h
; mov bx, substr[1]+2 ; the length of substr
; mov cx, string[1] ; the length of str
mov bx, 3
mov cx, 12
lea si, 0 ; 0A make the string start from 2nd db
lea di, 0
or flags, 0400h ; make sure that DF is set to 1
xor ax, ax
; ax = pos, bx balabala, cx = len(string), dx = len(substr)
next: cmpsb
jz right
mov di, 0 ; substr starts from the beginning
mov ax, 0
jmp fail
right: cmp di, bx ; if ths substr is all matched
jz success
cmp ax, 0 ; if a is 0 (failed to match last time)
jnz aispos ; a is not 0, don't need record this si
mov ax, si ; a is 0, so this is the pos
aispos:
fail: loop next
mov [found], 0
lea dx, answer1 ; print failing information
mov ah, 09h
int 21h
jmp e
success:mov [pos], ax
lea dx, answer2 ; print success
mov ah, 09h
int 21h
e: mov ax, 4C00H
int 21h
code ends
end start
|
test_data/montador/11.asm | Perruci/sb20172 | 0 | 101016 | <filename>test_data/montador/11.asm
section data
zero: const 0
teste: const 2
tres: const 3
section text
rot1: add teste rot2: div dois ; dois rotulos na mesma linha
add tres
div dois
|
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_265.asm | ljhsiun2/medusa | 9 | 17275 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2503, %rsi
lea addresses_normal_ht+0x1b259, %rdi
clflush (%rdi)
nop
and $15315, %rax
mov $93, %rcx
rep movsb
nop
nop
nop
sub $41172, %rcx
lea addresses_UC_ht+0x12d1, %r12
sub $25800, %rax
movb $0x61, (%r12)
add $14105, %rsi
lea addresses_UC_ht+0x1c625, %rsi
nop
nop
nop
cmp $3841, %r15
movups (%rsi), %xmm2
vpextrq $1, %xmm2, %rax
nop
nop
nop
dec %rsi
lea addresses_A_ht+0x125f1, %rdi
nop
nop
nop
nop
nop
add $1146, %r15
movups (%rdi), %xmm6
vpextrq $1, %xmm6, %rax
nop
nop
nop
nop
nop
and $56641, %rcx
lea addresses_normal_ht+0x11391, %rsi
lea addresses_WC_ht+0x16d59, %rdi
nop
nop
and %rax, %rax
mov $98, %rcx
rep movsq
nop
xor %r12, %r12
lea addresses_UC_ht+0x2ad9, %r15
nop
nop
nop
sub $33746, %rbx
movb (%r15), %r12b
nop
cmp $31541, %rcx
lea addresses_normal_ht+0x19599, %rdi
nop
nop
nop
and $29201, %rsi
mov $0x6162636465666768, %rcx
movq %rcx, %xmm3
vmovups %ymm3, (%rdi)
xor $2479, %rsi
lea addresses_A_ht+0x1b459, %rsi
lea addresses_A_ht+0x888f, %rdi
nop
nop
nop
xor %rax, %rax
mov $78, %rcx
rep movsq
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_UC_ht+0x16c59, %rcx
nop
nop
nop
nop
and $49090, %rbx
mov $0x6162636465666768, %rsi
movq %rsi, (%rcx)
nop
dec %rsi
lea addresses_WC_ht+0xa341, %rdi
nop
nop
nop
and $54692, %r12
vmovups (%rdi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %r15
nop
sub $59737, %rcx
lea addresses_normal_ht+0x19359, %rsi
lea addresses_normal_ht+0x17d99, %rdi
nop
nop
nop
nop
add %r12, %r12
mov $113, %rcx
rep movsb
nop
dec %rsi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r15
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdx
push %rsi
// Store
lea addresses_PSE+0xfd09, %r9
nop
add %rax, %rax
mov $0x5152535455565758, %rdx
movq %rdx, %xmm4
vmovups %ymm4, (%r9)
nop
nop
cmp $15661, %r9
// Store
lea addresses_D+0x6859, %rcx
nop
nop
sub $42079, %r12
movl $0x51525354, (%rcx)
nop
nop
nop
and %rdx, %rdx
// Store
lea addresses_A+0x1b919, %r9
nop
nop
nop
inc %rsi
movb $0x51, (%r9)
nop
nop
dec %rdx
// Faulty Load
lea addresses_UC+0xd459, %rdx
nop
nop
nop
xor %r9, %r9
mov (%rdx), %r11d
lea oracles, %rsi
and $0xff, %r11
shlq $12, %r11
mov (%rsi,%r11,1), %r11
pop %rsi
pop %rdx
pop %rcx
pop %rax
pop %r9
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': True, 'congruent': 5, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': 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
*/
|
oeis/297/A297793.asm | neoneye/loda-programs | 11 | 161397 | <reponame>neoneye/loda-programs
; A297793: a(n) = Sum_{d|n} min(d, n/d)^3.
; 1,2,2,10,2,18,2,18,29,18,2,72,2,18,56,82,2,72,2,146,56,18,2,200,127,18,56,146,2,322,2,146,56,18,252,416,2,18,56,396,2,504,2,146,306,18,2,632,345,268,56,146,2,504,252,832,56,18,2,882,2,18,742,658,252,504,2,146,56,954,2,1656,2,18,306,146,688,504,2,1420,785,18,2,1318,252,18,56,1170,2,2212,688,146,56,18,252,1656,2,704,1514,1396
add $0,1
mov $2,$0
lpb $0
mov $3,$2
dif $3,$0
lpb $3
cmp $3,$2
cmp $3,0
mul $3,$0
lpe
sub $0,1
pow $3,3
add $1,$3
lpe
add $1,1
mov $0,$1
|
oeis/062/A062098.asm | neoneye/loda-programs | 11 | 15364 | <reponame>neoneye/loda-programs
; A062098: a(n) = 7 * n!.
; Submitted by <NAME>
; 7,14,42,168,840,5040,35280,282240,2540160,25401600,279417600,3353011200,43589145600,610248038400,9153720576000,146459529216000,2489811996672000,44816615940096000,851515702861824000,17030314057236480000,357636595201966080000,7868005094443253760000,180964117172194836480000,4343138812132676075520000,108578470303316901888000000,2823040227886239449088000000,76222086152928465125376000000,2134218412281997023510528000000,61892333956177913681805312000000,1856770018685337410454159360000000
mov $1,$0
add $0,1
lpb $1
mul $0,$1
sub $1,1
lpe
mul $0,7
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_946.asm | ljhsiun2/medusa | 9 | 14772 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_946.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x18a65, %rsi
lea addresses_WT_ht+0x1c425, %rdi
nop
nop
nop
nop
nop
cmp %rbp, %rbp
mov $88, %rcx
rep movsl
nop
nop
xor $19300, %r9
lea addresses_WC_ht+0xd565, %rsi
nop
add $13915, %rax
vmovups (%rsi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdi
nop
nop
nop
nop
nop
xor $18245, %rsi
lea addresses_D_ht+0x1e5a5, %rsi
lea addresses_WC_ht+0xf325, %rdi
nop
nop
nop
nop
add $20599, %r13
mov $4, %rcx
rep movsl
nop
nop
nop
nop
nop
and $35619, %rsi
lea addresses_WT_ht+0x18009, %rdi
xor $51796, %rsi
movb (%rdi), %al
nop
nop
nop
nop
sub %r9, %r9
lea addresses_UC_ht+0x1a725, %rsi
nop
nop
add $28497, %rax
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
vmovups %ymm6, (%rsi)
nop
lfence
lea addresses_A_ht+0x18325, %rsi
lea addresses_normal_ht+0x1eae5, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
and $61338, %rbx
mov $92, %rcx
rep movsb
nop
and %rdi, %rdi
lea addresses_WT_ht+0x10e45, %rax
clflush (%rax)
nop
nop
nop
xor %rdi, %rdi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
and $0xffffffffffffffc0, %rax
vmovntdq %ymm5, (%rax)
nop
nop
nop
sub %rsi, %rsi
lea addresses_WT_ht+0x1b965, %r9
nop
nop
nop
nop
dec %rax
mov $0x6162636465666768, %rbx
movq %rbx, %xmm4
vmovups %ymm4, (%r9)
nop
nop
nop
xor $5702, %rbp
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r9
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %r15
push %r9
push %rcx
// Store
mov $0x7c78890000000d61, %rcx
nop
nop
nop
nop
dec %r13
movb $0x51, (%rcx)
nop
nop
cmp %rcx, %rcx
// Load
lea addresses_WT+0x1bd65, %r15
nop
nop
nop
xor $17254, %r13
mov (%r15), %r11d
nop
nop
nop
xor $16549, %r14
// Store
mov $0x3d9d550000000299, %r15
clflush (%r15)
nop
nop
nop
and $7951, %r11
movw $0x5152, (%r15)
nop
nop
nop
cmp %r11, %r11
// Faulty Load
lea addresses_PSE+0xbd65, %r12
nop
nop
xor %r9, %r9
mov (%r12), %r14d
lea oracles, %rcx
and $0xff, %r14
shlq $12, %r14
mov (%rcx,%r14,1), %r14
pop %rcx
pop %r9
pop %r15
pop %r14
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_NC', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_NC', 'same': False, 'AVXalign': False, 'congruent': 2}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_PSE', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 6}}
{'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 5}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 6}}
{'OP': 'LOAD', 'src': {'size': 1, 'NT': True, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_UC_ht', 'same': True, 'AVXalign': False, 'congruent': 4}}
{'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_A_ht', 'congruent': 6}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': True, 'type': 'addresses_WT_ht', 'same': True, 'AVXalign': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
|
src/ether-responses.adb | Lucretia/ether | 4 | 10859 | -- -*- Mode: Ada -*-
-- Filename : ether-response.adb
-- Description : Body for the response objects.
-- Author : <NAME>
-- Created On : Sun Jul 4 19:22:48 2010
with Ada.Characters.Latin_1;
--with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded;
package body Ether.Responses is
package L1 renames Ada.Characters.Latin_1;
package US renames Ada.Strings.Unbounded;
use type US.Unbounded_String;
CRLF : constant String := (L1.CR, L1.LF);
procedure Send
(Output : in GNAT.Sockets.Stream_Access;
Status : in AWS.Messages.Status_Code;
Mime_type : in String;
Content : in String;
Char_Set : in String := "UTF-8") is
Actual_Char_Set : US.Unbounded_String := US.To_Unbounded_String("; charset=");
begin
if Char_Set = "" then
Actual_Char_Set := US.Null_Unbounded_String;
else
Actual_Char_Set := Actual_Char_Set & Char_Set;
end if;
-- TODO: Check to make sure that there is no body for response codes:
-- 1xx, 204, 304, raise an exception if it does. See S.4.3 of
-- RFC2616.
-- Object := Request'(Status => Status, Mime => Mime, Content => Content);
String'Write
(Output,
"Status: " & AWS.Messages.Image(Status) & CRLF &
"Content-Type: " & Mime_Type & US.To_String(Actual_Char_Set) & CRLF &
CRLF &
Content);
-- Put_Line("Status: " & Status_Map(Status) & " " & Status_Type'Image(Status) & CRLF &
-- "Content-Type: " & US.To_String(Mime_Map(Mime)) & CRLF &
-- CRLF &
-- Content);
end Send;
end Ether.Responses;
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-exnllf.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 28410 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . E X N _ L L F --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2020, 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. --
-- --
------------------------------------------------------------------------------
-- Note: the reason for treating exponents in the range 0 .. 4 specially is
-- to ensure identical results to the static inline expansion in the case of
-- a compile time known exponent in this range. The use of Float'Machine and
-- Long_Float'Machine is to avoid unwanted extra precision in the results.
-- Note that for a negative exponent in Left ** Right, we compute the result
-- as:
-- 1.0 / (Left ** (-Right))
-- Note that the case of Left being zero is not special, it will simply result
-- in a division by zero at the end, yielding a correctly signed infinity, or
-- possibly generating an overflow.
-- Note on overflow: This coding assumes that the target generates infinities
-- with standard IEEE semantics. If this is not the case, then the code
-- for negative exponent may raise Constraint_Error. This follows the
-- implementation permission given in RM 4.5.6(12).
package body System.Exn_LLF is
subtype Negative is Integer range Integer'First .. -1;
function Exp
(Left : Long_Long_Float;
Right : Natural) return Long_Long_Float;
-- Common routine used if Right is greater or equal to 5
---------------
-- Exn_Float --
---------------
function Exn_Float
(Left : Float;
Right : Integer) return Float
is
Temp : Float;
begin
case Right is
when 0 =>
return 1.0;
when 1 =>
return Left;
when 2 =>
return Float'Machine (Left * Left);
when 3 =>
return Float'Machine (Left * Left * Left);
when 4 =>
Temp := Float'Machine (Left * Left);
return Float'Machine (Temp * Temp);
when Negative =>
return Float'Machine (1.0 / Exn_Float (Left, -Right));
when others =>
return
Float'Machine
(Float (Exp (Long_Long_Float (Left), Right)));
end case;
end Exn_Float;
--------------------
-- Exn_Long_Float --
--------------------
function Exn_Long_Float
(Left : Long_Float;
Right : Integer) return Long_Float
is
Temp : Long_Float;
begin
case Right is
when 0 =>
return 1.0;
when 1 =>
return Left;
when 2 =>
return Long_Float'Machine (Left * Left);
when 3 =>
return Long_Float'Machine (Left * Left * Left);
when 4 =>
Temp := Long_Float'Machine (Left * Left);
return Long_Float'Machine (Temp * Temp);
when Negative =>
return Long_Float'Machine (1.0 / Exn_Long_Float (Left, -Right));
when others =>
return
Long_Float'Machine
(Long_Float (Exp (Long_Long_Float (Left), Right)));
end case;
end Exn_Long_Float;
-------------------------
-- Exn_Long_Long_Float --
-------------------------
function Exn_Long_Long_Float
(Left : Long_Long_Float;
Right : Integer) return Long_Long_Float
is
Temp : Long_Long_Float;
begin
case Right is
when 0 =>
return 1.0;
when 1 =>
return Left;
when 2 =>
return Left * Left;
when 3 =>
return Left * Left * Left;
when 4 =>
Temp := Left * Left;
return Temp * Temp;
when Negative =>
return 1.0 / Exn_Long_Long_Float (Left, -Right);
when others =>
return Exp (Left, Right);
end case;
end Exn_Long_Long_Float;
---------
-- Exp --
---------
function Exp
(Left : Long_Long_Float;
Right : Natural) return Long_Long_Float
is
Result : Long_Long_Float := 1.0;
Factor : Long_Long_Float := Left;
Exp : Natural := Right;
begin
-- We use the standard logarithmic approach, Exp gets shifted right
-- testing successive low order bits and Factor is the value of the
-- base raised to the next power of 2. If the low order bit or Exp is
-- set, multiply the result by this factor.
loop
if Exp rem 2 /= 0 then
Result := Result * Factor;
end if;
Exp := Exp / 2;
exit when Exp = 0;
Factor := Factor * Factor;
end loop;
return Result;
end Exp;
end System.Exn_LLF;
|
screen_splitting/index.asm | cainex/c64_playground | 0 | 15363 | #import "../common/common.asm"
#import "../common/cia1_regs.asm"
#import "../common/cia2_regs.asm"
#import "../common/vic_regs.asm"
#import "../common/key_consts.asm"
#import "defs.asm"
* = $0801
BasicUpstart(main)
* = $C000
#import "main.asm"
#import "init_clear_screen.asm"
#import "blit_viewport.asm"
#import "key_reader.asm"
* = $5000
#import "minirogue-c64-map.asm"
* = $4000
#import "menu-map.asm"
* = $3000
#import "minirogue-c64-charset.asm"
#import "minirogue-c64-colors.asm"
* = $2000
#import "menu-charset.asm"
#import "menu-colors.asm"
* = $1000
#import "viewport_globals.asm"
|
boards/boards_c64.asm | peter-mount/departures8bit | 0 | 4758 | <reponame>peter-mount/departures8bit<filename>boards/boards_c64.asm
; **********************************************************************
; Commodore C64 departure boards
; **********************************************************************
INCLUDE "../macros.asm" ; Our macros
INCLUDE "../zeropage.asm" ; 3rd Zero page allocations
INCLUDE "../c64/kernal.asm" ; Kernal constants
INCLUDE "../teletext/teletext.inc" ; Teletext emulation
INCLUDE "../network/network.inc" ; Network driver
CPU 0 ; 6502
GUARD &A000 ; Guard to upper memory limit, valid only for generated code as we need to load
; before swapping out the Basic rom
start = &0900 ; Base of application
ORG start-2 ; Start 2 bytes earlier so we can inject the load address for the prg file format
EQUW start ; Load address in prg file format
LDX #&FF ; Reset the stack as we won't be returning from here
TXS
LDA #<memBase ; Setup PAGE
STA page
LDA #>memBase
STA page+1
LDA #<memTop ; Setup HIGHMEM
STA highmem
LDA #>memTop
STA highmem+1
JSR entryPoint ; call our true entry point
JSR cleanup ; call our cleanup code
JMP (&FFFC) ; exit the program by resetting the C64
INCLUDE "main.asm" ; The core application
; end - the end of the saved program
.end
; Available memory for the received database.
; On the C64 this runs up to the end of the spare 4k block as we have
; paged the Basic rom out with ram
ALIGN &100
.memBase ; First free block of memory
EQUB 0
; memTop is start of unusable memory.
memTop = &BA00 ; Upper bound of all free memory
; Use old screen memory for buffers
;rs232OutputBuffer = &BE00 ; RS232 output buffer, must be page aligned
;rs232InputBuffer = &BF00 ; RS232 input buffer, must be page aligned
;outputBuffer = &0800 ; Output buffer
; Save the program, start-2 to include the start address &0801
SAVE "boards_c64.prg", start-2, end
|
programs/oeis/214/A214684.asm | karttu/loda | 0 | 29172 | <filename>programs/oeis/214/A214684.asm
; A214684: a(1)=1, a(2)=1, and, for n>2, a(n)=(a(n-1)+a(n-2))/5^k, where 5^k is the highest power of 5 dividing a(n-1)+a(n-2).
; 1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1,2,3,1,4,1,1
lpb $0,1
mod $0,6
lpe
pow $0,$0
sub $0,1
mul $0,2
lpb $0,1
mod $0,5
lpe
mov $1,$0
add $1,1
|
Ada/src/Problem_39.adb | Tim-Tom/project-euler | 0 | 28522 | <filename>Ada/src/Problem_39.adb
with Ada.Text_IO;
with Ada.Containers.Indefinite_Ordered_Maps;
with PrimeInstances;
with Ada.Numerics.Elementary_Functions;
package body Problem_39 is
package IO renames Ada.Text_IO;
package Math renames Ada.Numerics.Elementary_Functions;
package Positive_Primes renames PrimeInstances.Positive_Primes;
package Positive_Map is new Ada.Containers.Indefinite_Ordered_Maps(Key_Type => Positive,
Element_Type => Positive);
procedure Solve is
maximum : constant Positive := 1_000;
max_f : constant Float := Float(maximum);
-- To generate max_uv, we set u or v to 1 in the formula and solve for the other one.
max_u : constant Positive := Positive((Math.Sqrt(2.0*max_f + 1.0) - 3.0) / 2.0);
max_v : constant Positive := Positive((Math.Sqrt(4.0*max_f + 1.0) - 3.0) / 4.0);
-- This ends up super small. On the order of max ** (1/4)
primes : constant Positive_Primes.Sieve := Positive_Primes.Generate_Sieve(Positive(Math.Sqrt(Float(max_u))));
counts : Positive_Map.Map;
max_count : Positive := 1;
max_number : Positive := 12; -- 3 + 4 + 5
function Coprime(u,v : in Positive) return Boolean is
begin
for prime_index in primes'Range loop
declare
prime : constant Positive := primes(prime_index);
begin
if u mod prime = 0 and v mod prime = 0 then
return False;
end if;
end;
end loop;
return True;
end CoPrime;
procedure Add_Count(sum : in Positive) is
use Positive_Map;
location : constant Positive_Map.Cursor := counts.Find(sum);
begin
if location /= Positive_Map.No_Element then
declare
new_count : constant Positive := Positive_Map.Element(location) + 1;
begin
if new_count > max_count then
max_count := new_count;
max_number := sum;
end if;
counts.Replace_Element(location, new_count);
end;
else
counts.Insert(sum, 1);
end if;
end;
begin
for u in 1 .. max_u loop
-- Not primitive is u is odd
if u mod 2 = 1 then
V_Loop:
for v in 1 .. max_v loop
-- Not primitive unless the numbers are coprime.
if Coprime(u, v) then
declare
sum : constant Positive := 2*(u**2 + 3*u*v + 2*v**2);
begin
if sum <= maximum then
declare
scaled_sum : Positive := sum;
begin
loop
Add_Count(scaled_sum);
scaled_sum := scaled_sum + sum;
exit when scaled_sum > maximum;
end loop;
end;
else
exit V_Loop;
end if;
end;
end if;
end loop V_Loop;
end if;
end loop;
IO.Put_Line(Positive'Image(max_number));
end Solve;
end Problem_39;
|
examples/example8/dos_files/output_dos.dat.g4 | mauropalumbo75/pyqha | 10 | 1288 | -5.432827819329726E-06 5.202625390111218E-07
8.092018694979402E-01 1.121894907261195E-06
1.618409171823699E+00 2.218719819725489E-06
2.427616474149459E+00 3.936605267805147E-06
3.236823776475219E+00 6.314153619843112E-06
4.046031078800977E+00 9.329903325722256E-06
4.855238381126737E+00 1.294718294825571E-05
5.664445683452496E+00 1.720375371521575E-05
6.473652985778256E+00 2.219331150485112E-05
7.282860288104016E+00 2.789925670051922E-05
8.092067590429775E+00 3.420113423706074E-05
8.901274892755534E+00 4.108223237118198E-05
9.710482195081294E+00 4.867652744903638E-05
1.051968949740705E+01 5.705167834582932E-05
1.132889679973281E+01 6.607541224039755E-05
1.213810410205857E+01 7.562357251032417E-05
1.294731140438433E+01 8.581197930680798E-05
1.375651870671009E+01 9.682610815056664E-05
1.456572600903585E+01 1.085775265318824E-04
1.537493331136161E+01 1.208399418254658E-04
1.618414061368737E+01 1.336629948479615E-04
1.699334791601313E+01 1.472798683993815E-04
1.780255521833889E+01 1.617309998568955E-04
1.861176252066465E+01 1.767833292478061E-04
1.942096982299041E+01 1.922792744528486E-04
2.023017712531617E+01 2.084890471916693E-04
2.103938442764193E+01 2.256473084530616E-04
2.184859172996768E+01 2.434791257880475E-04
2.265779903229344E+01 2.617363978327734E-04
2.346700633461920E+01 2.806112617908472E-04
2.427621363694496E+01 3.004008481854803E-04
2.508542093927072E+01 3.210470403229583E-04
2.589462824159648E+01 3.421678315405475E-04
2.670383554392224E+01 3.637409973535458E-04
2.751304284624800E+01 3.862035024028152E-04
2.832225014857376E+01 4.096527479865912E-04
2.913145745089952E+01 4.336857817453360E-04
2.994066475322528E+01 4.581030470736353E-04
3.074987205555104E+01 4.832673592779208E-04
3.155907935787680E+01 5.095144644316383E-04
3.236828666020256E+01 5.365350695184800E-04
3.317749396252832E+01 5.639055016650843E-04
3.398670126485408E+01 5.918826183887145E-04
3.479590856717984E+01 6.209602058811350E-04
3.560511586950560E+01 6.509863422076650E-04
3.641432317183136E+01 6.814621251256793E-04
3.722353047415712E+01 7.124137078603861E-04
3.803273777648288E+01 7.443517601835978E-04
3.884194507880864E+01 7.774517309388773E-04
3.965115238113439E+01 8.111839457686113E-04
4.046035968346015E+01 8.452383278448135E-04
4.126956698578591E+01 8.802045522450086E-04
4.207877428811167E+01 9.164582772294182E-04
4.288798159043743E+01 9.535015033324229E-04
4.369718889276319E+01 9.909390522480353E-04
4.450639619508895E+01 1.029104766996798E-03
4.531560349741471E+01 1.068560730248125E-03
4.612481079974047E+01 1.109128015454666E-03
4.693401810206623E+01 1.150123322864560E-03
4.774322540439199E+01 1.191712121704171E-03
4.855243270671775E+01 1.234599965131699E-03
4.936164000904351E+01 1.278767738421711E-03
5.017084731136926E+01 1.323599003242598E-03
5.098005461369502E+01 1.368908214319060E-03
5.178926191602078E+01 1.415399003910309E-03
5.259846921834654E+01 1.463443330738191E-03
5.340767652067230E+01 1.512305119371291E-03
5.421688382299806E+01 1.561649954356873E-03
5.502609112532382E+01 1.612138266389023E-03
5.583529842764958E+01 1.664201147838903E-03
5.664450572997534E+01 1.717427904169665E-03
5.745371303230110E+01 1.771227927577361E-03
5.826292033462686E+01 1.825980146152078E-03
5.907212763695262E+01 1.882480955658473E-03
5.988133493927838E+01 1.940402056248786E-03
6.069054224160413E+01 1.999003639968993E-03
6.149974954392989E+01 2.058562157294010E-03
6.230895684625565E+01 2.119871651215949E-03
6.311816414858141E+01 2.182892910557095E-03
6.392737145090717E+01 2.246814690701841E-03
6.473657875323293E+01 2.311664032952715E-03
6.554578605555869E+01 2.378351699031593E-03
6.635499335788445E+01 2.446961546998747E-03
6.716420066021021E+01 2.516749489482221E-03
6.797340796253597E+01 2.587576105035054E-03
6.878261526486173E+01 2.660219472577861E-03
6.959182256718749E+01 2.735090055073003E-03
7.040102986951325E+01 2.811451307675052E-03
7.121023717183901E+01 2.888925087407699E-03
7.201944447416477E+01 2.968381361680346E-03
7.282865177649053E+01 3.050305734262413E-03
7.363785907881629E+01 3.134014557606132E-03
7.444706638114205E+01 3.219099699209091E-03
7.525627368346781E+01 3.306314597308114E-03
7.606548098579357E+01 3.396274414952290E-03
7.687468828811933E+01 3.488387614207426E-03
7.768389559044509E+01 3.582178872659107E-03
7.849310289277085E+01 3.678358160715947E-03
7.930231019509661E+01 3.777596477279823E-03
8.011151749742237E+01 3.879431389945289E-03
8.092072479974813E+01 3.983315863885364E-03
8.172993210207389E+01 4.089937561554621E-03
8.253913940439965E+01 4.200098429454737E-03
8.334834670672541E+01 4.313291159083918E-03
8.415755400905117E+01 4.429025454627054E-03
8.496676131137693E+01 4.548076997023912E-03
8.577596861370269E+01 4.671179185141906E-03
8.658517591602843E+01 4.797896341018626E-03
8.739438321835419E+01 4.927843749056309E-03
8.820359052067995E+01 5.061833525689407E-03
8.901279782300571E+01 5.200598973384178E-03
8.982200512533147E+01 5.343751166566126E-03
9.063121242765723E+01 5.491044661470025E-03
9.144041972998299E+01 5.643381992728160E-03
9.224962703230875E+01 5.801535632039895E-03
9.305883433463451E+01 5.965112249544081E-03
9.386804163696027E+01 6.134090131556059E-03
9.467724893928603E+01 6.309623049189576E-03
9.548645624161179E+01 6.492385863817434E-03
9.629566354393755E+01 6.682095972367419E-03
9.710487084626331E+01 6.879170033925947E-03
9.791407814858907E+01 7.084959280859270E-03
9.872328545091483E+01 7.300128071805823E-03
9.953249275324059E+01 7.524749570568130E-03
1.003417000555663E+02 7.759840621508403E-03
1.011509073578921E+02 8.007258297182976E-03
1.019601146602179E+02 8.269114458299745E-03
1.027693219625436E+02 8.551447236615830E-03
1.035785292648694E+02 8.872856864174723E-03
1.043877365671951E+02 9.270820229694306E-03
1.051969438695209E+02 9.792458435102867E-03
1.060061511718467E+02 1.046446401868253E-02
1.068153584741724E+02 1.126786141239143E-02
1.076245657764982E+02 1.215446201901863E-02
1.084337730788239E+02 1.309354250642425E-02
1.092429803811497E+02 1.409417208570268E-02
1.100521876834755E+02 1.517579030986013E-02
1.108613949858012E+02 1.631466523857110E-02
1.116706022881270E+02 1.742534380785477E-02
1.124798095904527E+02 1.841374157235521E-02
1.132890168927785E+02 1.925554778381437E-02
1.140982241951043E+02 2.001929549785785E-02
1.149074314974300E+02 2.083845384777536E-02
1.157166387997558E+02 2.189353426384017E-02
1.165258461020815E+02 2.339135301383880E-02
1.173350534044073E+02 2.548275608692711E-02
1.181442607067331E+02 2.817994629363330E-02
1.189534680090588E+02 3.141651912908960E-02
1.197626753113846E+02 3.519214821010221E-02
1.205718826137103E+02 3.953256028180119E-02
1.213810899160361E+02 4.419211456857641E-02
1.221902972183618E+02 4.844491114807836E-02
1.229995045206876E+02 5.134451157013079E-02
1.238087118230134E+02 5.228615111842602E-02
1.246179191253391E+02 5.131870764275272E-02
1.254271264276649E+02 4.902954174338969E-02
1.262363337299906E+02 4.624956281916922E-02
1.270455410323164E+02 4.373667187462795E-02
1.278547483346422E+02 4.192168423279576E-02
1.286639556369680E+02 4.085943864404566E-02
1.294731629392937E+02 4.037726820152928E-02
1.302823702416195E+02 4.025289692643357E-02
1.310915775439452E+02 4.031358956623226E-02
1.319007848462710E+02 4.045878644527565E-02
1.327099921485967E+02 4.064327523758405E-02
1.335191994509225E+02 4.085149650592231E-02
1.343284067532483E+02 4.107907743266523E-02
1.351376140555740E+02 4.132481041148123E-02
1.359468213578998E+02 4.158846877891519E-02
1.367560286602256E+02 4.187009751712483E-02
1.375652359625513E+02 4.217010156877884E-02
1.383744432648770E+02 4.248942929054508E-02
1.391836505672028E+02 4.282935230145526E-02
1.399928578695286E+02 4.319090539979464E-02
1.408020651718543E+02 4.357316689046231E-02
1.416112724741801E+02 4.397012524649500E-02
1.424204797765059E+02 4.436465510857567E-02
1.432296870788316E+02 4.471878546817534E-02
1.440388943811574E+02 4.497273411678485E-02
1.448481016834831E+02 4.507532491768049E-02
1.456573089858089E+02 4.503532641208804E-02
1.464665162881346E+02 4.493332862899763E-02
1.472757235904604E+02 4.486724614035134E-02
1.480849308927862E+02 4.489256638914802E-02
1.488941381951119E+02 4.501564220421938E-02
1.497033454974377E+02 4.522206831546061E-02
1.505125527997635E+02 4.549893224646209E-02
1.513217601020892E+02 4.584176416354924E-02
1.521309674044150E+02 4.625604619862864E-02
1.529401747067407E+02 4.675624765038522E-02
1.537493820090665E+02 4.735816480046138E-02
1.545585893113922E+02 4.806724366578961E-02
1.553677966137180E+02 4.887236401159444E-02
1.561770039160438E+02 4.974579288748877E-02
1.569862112183695E+02 5.064223498529096E-02
1.577954185206953E+02 5.149788750928624E-02
1.586046258230211E+02 5.223735476168209E-02
1.594138331253468E+02 5.278778831621885E-02
1.602230404276726E+02 5.308936966314607E-02
1.610322477299983E+02 5.310085651357402E-02
1.618414550323241E+02 5.281680257870267E-02
1.626506623346498E+02 5.229332965650555E-02
1.634598696369756E+02 5.163541415855238E-02
1.642690769393014E+02 5.093263117237082E-02
1.650782842416271E+02 5.023004444675571E-02
1.658874915439529E+02 4.959376089639895E-02
1.666966988462787E+02 4.916514529820723E-02
1.675059061486044E+02 4.907962305092841E-02
1.683151134509302E+02 4.933651690321485E-02
1.691243207532559E+02 4.980793088701963E-02
1.699335280555817E+02 5.037191255505612E-02
1.707427353579074E+02 5.097871196674509E-02
1.715519426602332E+02 5.160163518265665E-02
1.723611499625590E+02 5.221003106086534E-02
1.731703572648847E+02 5.281337958073182E-02
1.739795645672105E+02 5.346725794595365E-02
1.747887718695362E+02 5.419062309476584E-02
1.755979791718620E+02 5.489542273303045E-02
1.764071864741877E+02 5.543142153320474E-02
1.772163937765135E+02 5.570087537152048E-02
1.780256010788393E+02 5.571347640390923E-02
1.788348083811650E+02 5.555574989302083E-02
1.796440156834908E+02 5.534710492969884E-02
1.804532229858166E+02 5.520610435884984E-02
1.812624302881423E+02 5.521642397907737E-02
1.820716375904681E+02 5.542134449009235E-02
1.828808448927938E+02 5.585266371524315E-02
1.836900521951196E+02 5.652465723902692E-02
1.844992594974453E+02 5.736656999805799E-02
1.853084667997711E+02 5.821204480131627E-02
1.861176741020969E+02 5.891888998255480E-02
1.869268814044226E+02 5.946890394893947E-02
1.877360887067484E+02 5.991276955514536E-02
1.885452960090741E+02 6.026033428355041E-02
1.893545033113999E+02 6.045593918200866E-02
1.901637106137257E+02 6.040737065578396E-02
1.909729179160514E+02 5.997492254076325E-02
1.917821252183772E+02 5.897311046594225E-02
1.925913325207029E+02 5.731026597130201E-02
1.934005398230287E+02 5.516535239568241E-02
1.942097471253545E+02 5.293082257051756E-02
1.950189544276802E+02 5.093747045452533E-02
1.958281617300060E+02 4.928533161607244E-02
1.966373690323317E+02 4.791229002502494E-02
1.974465763346575E+02 4.672065141314284E-02
1.982557836369833E+02 4.560892911035588E-02
1.990649909393090E+02 4.444579974435891E-02
1.998741982416348E+02 4.310277674906905E-02
2.006834055439605E+02 4.157928335415939E-02
2.014926128462863E+02 4.008211347426976E-02
2.023018201486121E+02 3.890612057955994E-02
2.031110274509378E+02 3.821781564023322E-02
2.039202347532636E+02 3.798142999957271E-02
2.047294420555893E+02 3.805682005478013E-02
2.055386493579151E+02 3.831678899744882E-02
2.063478566602409E+02 3.869656995062735E-02
2.071570639625666E+02 3.919309326362287E-02
2.079662712648924E+02 3.985062871745506E-02
2.087754785672181E+02 4.074946357769953E-02
2.095846858695439E+02 4.199047444434573E-02
2.103938931718696E+02 4.363765579969445E-02
2.112031004741954E+02 4.558005332116475E-02
2.120123077765212E+02 4.741297528448258E-02
2.128215150788469E+02 4.859531121065728E-02
2.136307223811727E+02 4.886726053540710E-02
2.144399296834984E+02 4.844105718160674E-02
2.152491369858242E+02 4.772510291691082E-02
2.160583442881500E+02 4.698564461268837E-02
2.168675515904757E+02 4.630382030564326E-02
2.176767588928015E+02 4.571605811234679E-02
2.184859661951272E+02 4.529954431790870E-02
2.192951734974530E+02 4.513349934374371E-02
2.201043807997788E+02 4.522657981091237E-02
2.209135881021045E+02 4.551623582524329E-02
2.217227954044303E+02 4.593166481346761E-02
2.225320027067560E+02 4.644232204780287E-02
2.233412100090818E+02 4.706534408922206E-02
2.241504173114076E+02 4.786138775278106E-02
2.249596246137333E+02 4.893482851343028E-02
2.257688319160591E+02 5.039042014836146E-02
2.265780392183848E+02 5.214407778298068E-02
2.273872465207106E+02 5.362871767784998E-02
2.281964538230364E+02 5.381856774671881E-02
2.290056611253621E+02 5.190068420965342E-02
2.298148684276879E+02 4.794243987875096E-02
2.306240757300136E+02 4.264620389963154E-02
2.314332830323394E+02 3.662961201129470E-02
2.322424903346651E+02 3.024434956883391E-02
2.330516976369909E+02 2.381496965276536E-02
2.338609049393167E+02 1.771419376636853E-02
2.346701122416424E+02 1.233524675629965E-02
2.354793195439682E+02 8.085634307313660E-03
2.362885268462940E+02 5.216320066190894E-03
2.370977341486197E+02 3.600239037557695E-03
2.379069414509455E+02 2.805431040820932E-03
2.387161487532712E+02 2.391395762672774E-03
2.395253560555970E+02 2.088151597038689E-03
2.403345633579227E+02 1.775737391439989E-03
2.411437706602485E+02 1.412006367618187E-03
2.419529779625743E+02 1.005816127227223E-03
2.427621852649000E+02 6.137713901878195E-04
2.435713925672258E+02 3.080046984588655E-04
2.443805998695515E+02 1.229551170412592E-04
2.451898071718773E+02 3.807961721494886E-05
2.459990144742031E+02 8.984445097407066E-06
2.468082217765288E+02 1.593943645535748E-06
2.476174290788546E+02 2.106485341193466E-07
|
qiling/examples/shellcodes/win64_ob_msg_box_x64.asm | mrTavas/owasp-fstm-auto | 2 | 88696 | cld
and rsp,0xfffffffffffffff0
call fuc1
push r9
push r8
push rdx
push rcx
push rsi
xor rdx,rdx
mov rdx,QWORD PTR gs:[rdx+0x60]
mov rdx,QWORD PTR ds:[rdx+0x18]
mov rdx,QWORD PTR ds:[rdx+0x20]
jmp6:
mov rsi,QWORD PTR ds:[rdx+0x50]
movzx rcx,WORD PTR ds:[rdx+0x4a]
xor r9,r9
loop1 :
xor rax,rax
lods al,BYTE PTR ds:[rsi]
cmp al,0x61
jl jmp1
sub al,0x20
jmp1 :
ror r9d,0xd
add r9d,eax
loop loop1
push rdx
push r9
mov rdx,QWORD PTR ds:[rdx+0x20]
mov eax,DWORD PTR ds:[rdx+0x3c]
add rax,rdx
mov eax,DWORD PTR ds:[rax+0x88]
test rax,rax
je jmp2
add rax,rdx
push rax
mov ecx,DWORD PTR ds:[rax+0x18]
mov r8d,DWORD PTR ds:[rax+0x20]
add r8,rdx
jmp5:
jrcxz jmp3
dec rcx
mov esi,DWORD PTR ds:[r8+rcx*4]
add rsi,rdx
xor r9,r9
jmp4:
xor rax,rax
lods al,BYTE PTR ds:[rsi]
ror r9d,0xd
add r9d,eax
cmp al,ah
jne jmp4
add r9,QWORD PTR ds:[rsp+0x8]
cmp r9d,r10d
jne jmp5
pop rax
mov r8d,DWORD PTR ds:[rax+0x24]
add r8,rdx
mov cx,WORD PTR ds:[r8+rcx*2]
mov r8d,DWORD PTR ds:[rax+0x1c]
add r8,rdx
mov eax,DWORD PTR ds:[r8+rcx*4]
add rax,rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp,0x20
push r10
jmp rax
jmp3:
pop rax
jmp2:
pop r9
pop rdx
mov rdx,QWORD PTR ds:[rdx]
jmp jmp6
fuc1 :
pop rbp
mov r9,0x0
lea rdx,ds:[rbp+0xfe]
lea r8,ds:[rbp+0x10f]
xor rcx,rcx
mov r10d,0x7568345
call rbp
xor rcx,rcx
mov r10d,0x56a2b5f0
call rbp
.byte 72,101,108,108,111,44,32,102,114,111,109,32,77,83,70,33,0,77,101,115,115,97,103,101,66,111,120,0
|
notes/FOT/PA/Inductive/ImplicitArgumentInductionSL.agda | asr/fotc | 11 | 17169 | ------------------------------------------------------------------------------
-- Testing an implicit argument for natural numbers induction
------------------------------------------------------------------------------
{-# OPTIONS --allow-unsolved-metas #-}
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module FOT.PA.Inductive.ImplicitArgumentInductionSL where
open import Data.Nat renaming ( suc to succ )
open import Relation.Binary.PropositionalEquality
------------------------------------------------------------------------------
succCong : ∀ {m n} → m ≡ n → succ m ≡ succ n
succCong refl = refl
-- N.B. It is not possible to use an implicit argument in the
-- inductive hypothesis.
ℕ-ind : (A : ℕ → Set) → A zero → (∀ {n} → A n → A (succ n)) → ∀ n → A n
ℕ-ind A A0 h zero = A0
ℕ-ind A A0 h (succ n) = h (ℕ-ind A A0 h n)
+-assoc : ∀ m n o → m + n + o ≡ m + (n + o)
+-assoc m n o = ℕ-ind A A0 is m
where
A : ℕ → Set
A i = i + n + o ≡ i + (n + o)
A0 : A zero
A0 = refl
is : ∀ {i} → A i → A (succ i)
is ih = succCong ih
|
home/.config/raycast/shared/vscode.applescript | benyap/dotfiles | 0 | 3641 | <filename>home/.config/raycast/shared/vscode.applescript
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open with Code
# @raycast.mode silent
#
# Optional parameters:
# @raycast.icon ../images/vscode.png
# @raycast.packageName Visual Studio Code
#
# Documentation:
# @raycast.description Opens current directory in VSCode
# @raycast.author chohner
# @raycast.authorURL https://github.com/chohner
tell application "Finder"
# Check if there's a selection; works if there's a window open or not.
if selection is not {} then
set i to item 1 of (get selection)
# If it's an alias, set the item to the original item.
if class of i is alias file then
set i to original item of i
end if
# If it's a folder, use its path.
if class of i is folder then
set p to i
else
# If it's an item, use its container's path.
set p to container of i
end if
else if exists window 1 then
# If a window exist, use its folder property as the path.
set p to folder of window 1
else
# Fallback to the Desktop, as nothing is open or selected.
set p to path to desktop folder
end if
end tell
do shell script "open -n -b \"com.microsoft.VSCode\" --args " & quoted form of POSIX path of (p as alias)
|
AppleScripts/Applications/Pro Tools/Next Clip.applescript | fantopop/post-production-scripts | 16 | 4320 | --
-- AppleScripts for Avid Pro Tools.
--
-- Script description:
-- Select next continuous clip with fades.
--
-- (C) 2017 <NAME>
-- http://github.com/fantopop
--
activate application "Pro Tools"
tell application "System Events"
tell process "Pro Tools"
-- Up Arrow
key code 126
-- Enable Grabber Object Tool
-- F8 twice
key code 100
key code 100
-- Select next clip
-- Tab
key code 48
-- Shift + Tab twice
key code 48 using {shift down}
key code 48 using {shift down}
-- Enable back Smart Tool
key code 100
key code 100
key code 53
end tell
end tell |
src/day-9/adventofcode-day_9.adb | persan/advent-of-code-2020 | 0 | 17895 | <reponame>persan/advent-of-code-2020
pragma Ada_2012;
with Adventofcode.File_Line_Readers;
package body Adventofcode.Day_9 is
----------
-- Read --
----------
procedure Read (Self : in out Decoder; From_Path : String) is
begin
Self.Last := 0;
Self.Data := (others => 0);
for Line of Adventofcode.File_Line_Readers.Read_Lines (From_Path) loop
Self.Data (Self.Last + 1) := Long_Integer'Value (Line);
Self.Last := Self.Last + 1;
end loop;
end Read;
----------
-- Scan --
----------
procedure Scan
(Self : in out Decoder;
Premble_Size : Natural := 25;
Result : out Long_Integer)
is
Found : Boolean := False;
procedure Scan (Map : Data_Array; Target : Long_Integer) is
begin
for A in Map'Range loop
for B in Map'Range loop
if Map (A) /= Map (B) and then Map (A) + Map (B) = Target then
Found := True;
end if;
end loop;
end loop;
end;
begin
for Cursor in Premble_Size + 1 .. Self.Last loop
Found := False;
Scan (Self.Data (Cursor - Premble_Size .. Cursor - 1), Self.Data (Cursor));
if not Found then
Result := Self.Data (Cursor);
return;
end if;
end loop;
Result := -1;
end Scan;
procedure Scan2
(Self : in out Decoder;
Key : Long_Integer;
Result : out Long_Integer) is
begin
for Start_Cursor in Self.Data'First .. Self.Last loop
for End_Cursor in Start_Cursor + 1 .. Self.Last loop
declare
Sum : Long_Integer := 0;
begin
for Ix in Start_Cursor .. End_Cursor loop
Sum := Sum + Self.Data (Ix);
end loop;
if Sum = Key then
declare
Min : Long_Integer := Self.Data (Start_Cursor);
Max : Long_Integer := Self.Data (Start_Cursor);
begin
for I in Start_Cursor .. End_Cursor loop
Min := Long_Integer'Min (Min, Self.Data (I));
Max := Long_Integer'Max (Max, Self.Data (I));
end loop;
Result := Min + Max;
end;
end if;
end;
end loop;
end loop;
end Scan2;
end Adventofcode.Day_9;
|
llvm-gcc-4.2-2.9/gcc/ada/s-addope.adb | vidkidz/crossbridge | 1 | 18483 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . A D D R E S S _ O P E R A T I O N S --
-- --
-- B o d y --
-- --
-- Copyright (C) 2004 Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the implementation dependent sections of this file. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 2, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING. If not, write --
-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, --
-- Boston, MA 02110-1301, USA. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Unchecked_Conversion;
package body System.Address_Operations is
type IA is mod 2 ** Address'Size;
-- The type used to provide the actual desired operations
function I is new Unchecked_Conversion (Address, IA);
function A is new Unchecked_Conversion (IA, Address);
-- The operations are implemented by unchecked conversion to type IA,
-- followed by doing the intrinsic operation on the IA values, followed
-- by converting the result back to type Address.
----------
-- AddA --
----------
function AddA (Left, Right : Address) return Address is
begin
return A (I (Left) + I (Right));
end AddA;
----------
-- AndA --
----------
function AndA (Left, Right : Address) return Address is
begin
return A (I (Left) and I (Right));
end AndA;
----------
-- DivA --
----------
function DivA (Left, Right : Address) return Address is
begin
return A (I (Left) / I (Right));
end DivA;
----------
-- ModA --
----------
function ModA (Left, Right : Address) return Address is
begin
return A (I (Left) mod I (Right));
end ModA;
---------
-- MulA --
---------
function MulA (Left, Right : Address) return Address is
begin
return A (I (Left) * I (Right));
end MulA;
---------
-- OrA --
---------
function OrA (Left, Right : Address) return Address is
begin
return A (I (Left) or I (Right));
end OrA;
----------
-- SubA --
----------
function SubA (Left, Right : Address) return Address is
begin
return A (I (Left) - I (Right));
end SubA;
end System.Address_Operations;
|
alloy4fun_models/trashltl/models/11/DZYyQChcaPDjzQAj5.als | Kaixi26/org.alloytools.alloy | 0 | 4178 | open main
pred idDZYyQChcaPDjzQAj5_prop12 {
eventually always some f : File | f not in Trash implies always f in Trash
}
pred __repair { idDZYyQChcaPDjzQAj5_prop12 }
check __repair { idDZYyQChcaPDjzQAj5_prop12 <=> prop12o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.