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 |
|---|---|---|---|---|
UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/Xcode5ExceptionHandlerAsm.nasm | ventanamicro/edk2 | 0 | 84259 | <filename>UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/Xcode5ExceptionHandlerAsm.nasm
;------------------------------------------------------------------------------ ;
; Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; Ex... |
kernel.asm | via007/learnos-xv6 | 1 | 175894 |
kernel: 文件格式 elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# Entering... |
Transynther/x86/_processed/NONE/_zr_un_xt_sm_/i7-7700_9_0x48.log_21829_1922.asm | ljhsiun2/medusa | 9 | 98654 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1e015, %r11
clflush (%r11)
cmp $51675, %r15
mov (%r11), %r9d
nop
nop
nop
cmp $31906, %rdi
lea addresses_normal_ht+0x18f0a, %rsi
lea addresses_WC_ht+0x17bba, %rd... |
math.g4 | asbjornh/math-parser | 0 | 51 | <filename>math.g4
grammar math;
start: expr | '()' | EOF;
expr: term | expr (add | subtract) term;
term: factor | term (multiply | divide) factor;
factor: number | number exponent factor;
number: INT | FLOAT | '(' expr ')';
exponent: '^';
add: '+';
subtract: '-';
multiply: '*';
divide: '/';
INT: DIGIT+;
FLOAT: DIGIT+... |
programs/oeis/225/A225928.asm | neoneye/loda | 22 | 163175 | <reponame>neoneye/loda<filename>programs/oeis/225/A225928.asm<gh_stars>10-100
; A225928: a(n) = 4*16^n + 8*4^n + 17.
; 29,113,1169,16913,264209,4202513,67141649,1073872913,17180393489,274880004113,4398054899729,70368777732113,1125900041060369,18014399046352913,288230378299195409,4611686027017322513,73786976329197944849... |
oeis/084/A084085.asm | neoneye/loda-programs | 11 | 243353 | <reponame>neoneye/loda-programs<filename>oeis/084/A084085.asm
; A084085: Length of lists created by n substitutions k -> Range[0,Mod[k+1,4]] starting with {0}.
; Submitted by <NAME>
; 1,2,5,14,38,102,273,731,1958,5245,14050,37636,100816,270057,723405,1937794,5190793,13904642,37246538,99772766,267262553,715919535,191774... |
core/lib/types/Word.agda | AntoineAllioux/HoTT-Agda | 294 | 9581 | <reponame>AntoineAllioux/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Empty
open import lib.types.Group
open import lib.types.Int
open import lib.types.List
open import lib.types.Nat
open import lib.types.Pi
open import lib.types.Sigma
module li... |
oeis/289/A289781.asm | neoneye/loda-programs | 11 | 96880 | <filename>oeis/289/A289781.asm
; A289781: p-INVERT of the positive Fibonacci numbers (A000045), where p(S) = 1 - S - S^2.
; Submitted by <NAME>
; 1,3,9,27,80,237,701,2073,6129,18120,53569,158367,468181,1384083,4091760,12096453,35760689,105719157,312537041,923951760,2731474161,8075043963,23872213729,70573310907,20863554... |
src/Bisimilarity/Step.agda | nad/up-to | 0 | 5004 | <filename>src/Bisimilarity/Step.agda
------------------------------------------------------------------------
-- The Step function, used to define strong and weak bisimilarity as
-- well as expansion
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Pre... |
Examples/template_80.asm | sparks-c16/zasm | 43 | 181 | ; ================================================================
; Example source with target 'o' or '80'
; ZX80 tape file / snapshot
; Copyright (c) <NAME> 1994 - 2017
; mailto:<EMAIL>
; ================================================================
; "o" and "80" files are the ... |
programs/oeis/202/A202198.asm | karttu/loda | 0 | 174058 | <gh_stars>0
; A202198: Number of (n+2) X 6 binary arrays avoiding patterns 001 and 101 in rows and columns.
; 756,2688,7560,18144,38808,76032,138996,240240,396396,628992,965328,1439424,2093040,2976768,4151196,5688144,7671972,10200960,13388760,17365920,22281480,28304640,35626500,44461872,55051164,67662336,82592928,10017... |
src/005/oriented.ads | xeenta/learning-ada | 0 | 9125 | package Oriented is
type Object is tagged limited private;
type Object_Access is access Object;
procedure Initialize (Ob : in out Object; P_Id : in Positive);
function Get_Item_Id (Ob : in Object) return Positive;
function NewObj return Object_Access;
procedure Free (Obj : in out Objec... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/p3dos_edrv_from_pdrv_fastcall.asm | jpoikela/z88dk | 640 | 11704 | <reponame>jpoikela/z88dk
; unsigned char p3dos_edrv_from_pdrv(unsigned char pdrv)
SECTION code_esxdos
PUBLIC _p3dos_edrv_from_pdrv_fastcall
EXTERN asm_p3dos_edrv_from_pdrv
defc _p3dos_edrv_from_pdrv_fastcall = asm_p3dos_edrv_from_pdrv
|
src/halfbox_panel.adb | SKNZ/BoiteMaker | 0 | 1223 | <reponame>SKNZ/BoiteMaker
with ada.characters.latin_1;
with point_list;
use point_list;
with point;
use point;
with logger;
use logger;
-- ATTENTION: dans ce fichier, le terme "queue" est équivalent à "queue et encoche"
-- exemple: la fonction add_queues ajoue queues ET encoches.
package body halfbox_panel is
fun... |
src/common/sp-config.ads | jquorning/septum | 236 | 18455 | <reponame>jquorning/septum
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- 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... |
src/cm_mainmenu_hud.asm | helgefmi/lttphack | 28 | 100207 | <gh_stars>10-100
; HUD EXTRAS {{{
cm_main_goto_hud:
%cm_submenu("HUD extras", cm_submenu_hud)
cm_submenu_hud:
dw cm_hud_input_display
dw cm_hud_real
dw cm_hud_lag
dw cm_hud_idle
dw cm_hud_segment
dw cm_hud_xy
dw cm_hud_subpixels
dw cm_hud_qw
dw cm_hud_lanmola_cycle_count
dw cm_hud_lagometer
dw cm_hud_enem... |
programs/oeis/011/A011874.asm | neoneye/loda | 22 | 5135 | ; A011874: a(n) = floor(n*(n-1)/21).
; 0,0,0,0,0,0,1,2,2,3,4,5,6,7,8,10,11,12,14,16,18,20,22,24,26,28,30,33,36,38,41,44,47,50,53,56,60,63,66,70,74,78,82,86,90,94,98,102,107,112,116,121,126,131,136,141,146,152,157,162,168
bin $0,2
mul $0,2
div $0,21
|
Cats/Adjunction.agda | alessio-b-zak/cats | 0 | 17120 | <reponame>alessio-b-zak/cats
module Cats.Adjunction where
open import Level using (suc ; _⊔_)
open import Cats.Category
open import Cats.Category.Cat.Facts.Product using (First ; Second)
open import Cats.Category.Fun using (Fun)
open import Cats.Category.Op using (_ᵒᵖ)
open import Cats.Category.Product.Binary using (... |
adalang.adb | ctdempsey/programming-language-inception | 0 | 7156 | with Ada.Text_IO; use Ada.Text_IO;
with GNAT.OS_Lib; use GNAT.OS_Lib;
procedure AdaLang is
Result : Boolean;
Arguments : Argument_List :=
( 1=> new String'("erl"),
2=> new String'("-noshell"),
3=> new String'("-run"),
4=> new String'("erlanglang"),
... |
Applications/Terminal/Select Tab 8.scpt | caius/special_keys | 0 | 3820 | <reponame>caius/special_keys
try
tell application "Terminal" to tell window 1 to set selected tab to tab 8
end try
|
src/Up-to.agda | nad/up-to | 0 | 9760 | ------------------------------------------------------------------------
-- Up-to techniques, compatibility, size-preserving functions, and the
-- companion
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
-- The definitions below are parametrised by an indexed co... |
Userland/SampleCodeModule/asm/libasm.asm | slococo/TP2-SO | 0 | 84965 | <gh_stars>0
GLOBAL sys_read, sys_write, sys_time, quadSolver
GLOBAL _getMem, sys_loadProcess
GLOBAL raiseOpcodeExc
GLOBAL _getRegs, sys_switchContext
GLOBAL cpu_id, cpu_id_support
GLOBAL sys_exit, sys_ps, sys_free, sys_malloc, sys_sem, sys_openPipe, sys_closePipe, sys_semClose
GLOBAL sys_nice, sys_semWait, sys_semPost,... |
data/mapHeaders/FightingDojo.asm | AmateurPanda92/pokemon-rby-dx | 9 | 97029 | <reponame>AmateurPanda92/pokemon-rby-dx
FightingDojo_h:
db DOJO ; tileset
db FIGHTING_DOJO_HEIGHT, FIGHTING_DOJO_WIDTH ; dimensions (y, x)
dw FightingDojo_Blocks ; blocks
dw FightingDojo_TextPointers ; texts
dw FightingDojo_Script ; scripts
db 0 ; connections
dw FightingDojo_Object ; objects
|
source/league/league-json-values.ads | svn2github/matreshka | 24 | 21758 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
source/a-uncrea.adb | ytomino/drake | 33 | 10581 | <filename>source/a-uncrea.adb
with Ada.Tags;
with Ada.Unchecked_Deallocation;
with System.Standard_Allocators;
with System.Storage_Elements;
with System.Storage_Pools.Standard_Pools;
procedure Ada.Unchecked_Reallocation (
X : in out Name;
First_Index : Index_Type;
Last_Index : Index_Type'Base)
is
pragma Sup... |
dv3/q68/fat/thing.asm | olifink/smsqe | 0 | 164745 | ; DV3 Standard Hard Disk Control Procedures V1.03 1999 <NAME>
; adapted for Q68 1.00 2017 <NAME>
; 1.01 removed reference to cv_locas (mk)
section exten
xdef fat_thing
xdef fat_tname
xref thp_ostr
xref thp_nrstr
xref thp_wd
xref dv3_usep
xref dv3_acdef
include 'dev8_keys_thg'
include 'd... |
oeis/018/A018837.asm | neoneye/loda-programs | 11 | 5279 | ; A018837: Number of steps for knight to reach (n,0) on infinite chessboard.
; Submitted by <NAME>(s3)
; 0,3,2,3,2,3,4,5,4,5,6,7,6,7,8,9,8,9,10,11,10,11,12,13,12,13,14,15,14,15,16,17,16,17,18,19,18,19,20,21,20,21,22,23,22,23,24,25,24,25,26,27,26,27,28,29,28,29,30,31,30,31,32,33,32,33,34,35,34,35,36,37,36,37,38,39,38,39... |
programs/oeis/110/A110288.asm | neoneye/loda | 22 | 175037 | ; A110288: 19*2^n.
; 19,38,76,152,304,608,1216,2432,4864,9728,19456,38912,77824,155648,311296,622592,1245184,2490368,4980736,9961472,19922944,39845888,79691776,159383552,318767104,637534208,1275068416,2550136832,5100273664,10200547328,20401094656,40802189312,81604378624,163208757248,326417514496,652835028992,1305670057... |
os2link/src/symc.asm | DigitalMars/optlink | 28 | 100427 | TITLE SYMC -
INCLUDE MACROS
INCLUDE SYMBOLS
;
; __asepfsc == start address
; __aclkfsc == public
;
PUBLIC PERFORM_VERIFY_A,PERFORM_VERIFY_B,VERIFY_FAIL
.DATA
SOFT EXTW SYMBOL_LENGTH,ERR_COUNT
SOFT EXTQ SYMBOL_TPTR,SYMBOL_GARRAY
SOFT EXTCA OPTI_MOVE
.CODE MIDDLE_TEXT
SOFT EXTP FAR_INSTALL,ERR_AB... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_282.asm | ljhsiun2/medusa | 9 | 14983 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1be2c, %rsi
lea addresses_D_ht+0xf7e0, %rdi
clflush (%rdi)
cmp $5404, %rdx
mov $78, %rcx
rep movsw
cmp $58574, %r11
lea addresses_A_ht+0x72bc, %r14
add %rsi, %rsi
movb (%r14)... |
test/Issue65.agda | dxts/agda2hs | 55 | 5155 |
module Issue65 where
open import Haskell.Prelude
yeet : (c : Bool) → ({{c ≡ true}} → a) → ({{c ≡ false}} → a) → a
yeet false x y = y {{refl}}
yeet true x y = x {{refl}}
{-# COMPILE AGDA2HS yeet #-}
-- The branches start with instance lambdas that should be dropped.
xx : Int
xx = yeet true 1 2
{-# COMPILE AGDA2HS x... |
src/tk/tk-labelframe.ads | thindil/tashy2 | 2 | 19546 | -- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agre... |
chp05/src/main/antlr/Log.g4 | zhhe-me/book-antlr4 | 1 | 2574 | grammar Log ;
file : row+ ;
row : ip STRING INT NL ;
ip : INT '.' INT '.' INT '.' INT ;
// row : IP STRING INT NL ;
//fragment
//IP : INT '.' INT '.' INT '.' INT ;
fragment
STRING : '"' .*? '"' ;
fragment
NL : '\n' ;
fragment
INT : [0-9]+ ;
WS : [ \t] -> ski... |
minihv/_entry.asm | denisvieriu/Bare-Metal-Lightweight-Hypervisor | 7 | 104688 | <reponame>denisvieriu/Bare-Metal-Lightweight-Hypervisor<gh_stars>1-10
extern VmxVmExitHandler
extern RestoreRegisters
extern VmxBasicExitReasonVmcall
extern MhvVmxEntryHandler
_GuestEntryRip:
; In case of VM EXIT
; Set RIP to this addr
save_proc_state
mov rcx, rsp
sub rsp, 0x20
call MhvVmxEntryHan... |
oeis/299/A299198.asm | neoneye/loda-programs | 11 | 243506 | ; A299198: a(n) = n^4/6 - 2*n^3/3 - n^2/6 + 5*n/3 + 1.
; 2,1,0,5,26,77,176,345,610,1001,1552,2301,3290,4565,6176,8177,10626,13585,17120,21301,26202,31901,38480,46025,54626,64377,75376,87725,101530,116901,133952,152801,173570,196385,221376,248677,278426,310765,345840,383801,424802,469001,516560,567645,622426,681077,7437... |
llvm-gcc-4.2-2.9/gcc/ada/sinput-p.ads | vidkidz/crossbridge | 1 | 19013 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/natools-time_io-rfc_3339.adb | faelys/natools | 0 | 12449 | <filename>src/natools-time_io-rfc_3339.adb
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distrib... |
programs/oeis/034/A034953.asm | neoneye/loda | 22 | 166341 | ; A034953: Triangular numbers (A000217) with prime indices.
; 3,6,15,28,66,91,153,190,276,435,496,703,861,946,1128,1431,1770,1891,2278,2556,2701,3160,3486,4005,4753,5151,5356,5778,5995,6441,8128,8646,9453,9730,11175,11476,12403,13366,14028,15051,16110,16471,18336,18721,19503,19900,22366,24976,25878,26335,27261,28680,29... |
libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshr_bitmask2px.asm | jpoikela/z88dk | 640 | 21543 | ; ===============================================================
; May 2017
; ===============================================================
;
; uchar tshr_bitmask2px(uchar bitmask)
;
; Return x coordinate 0-7 corresponding to bitmask.
;
; ===============================================================
SECTION code_... |
src/Categories/Diagram/Cocone/Properties.agda | Trebor-Huang/agda-categories | 279 | 11549 | {-# OPTIONS --without-K --safe #-}
module Categories.Diagram.Cocone.Properties where
open import Level
open import Categories.Category
open import Categories.Functor
open import Categories.Functor.Properties
open import Categories.NaturalTransformation
open import Categories.Diagram.Cone.Properties
open import Categ... |
cards/bn5/ModCards/136-B022 N.O.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 163094 | <gh_stars>1-10
.include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 72
card_no equ "072"
card_sub equ "Mod Card 0... |
src/sys.asm | Schol-R-LEA/CX16-lib | 0 | 2755 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Minimal Commander X16 library
;; Time-stamp: <2019-10-17 10:21:25 schol-r-lea>
.include "sys.inc"
.import parsehex
.export newline
.export printsz
.export printhex
.proc newline
lda #CR
jsr BASOUT
rts
.endproc
... |
BasicIS4/Metatheory/Hilbert-BasicKripkeOno.agda | mietek/hilbert-gentzen | 29 | 15843 | <gh_stars>10-100
module BasicIS4.Metatheory.Hilbert-BasicKripkeOno where
open import BasicIS4.Syntax.Hilbert public
open import BasicIS4.Semantics.BasicKripkeOno public
-- Soundness with respect to all models, or evaluation.
eval : ∀ {A Γ} → Γ ⊢ A → Γ ⊨ A
eval (var i) γ = lookup i γ
eval (app {A} {B} t u)... |
Appl/FileMgrs/CommonDesktop/CFolder/cfolderIcon.asm | steakknife/pcgeos | 504 | 175526 | <reponame>steakknife/pcgeos
COMMENT @=====================================================================
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cfolderIcon.asm
AUTHOR: <NAME>, Nov 2, 1992
ROUTINES:
Name Description
---- -----------
FolderRecor... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_route_map.g4 | zabrewer/batfish | 1 | 4361 | <reponame>zabrewer/batfish<gh_stars>1-10
parser grammar CiscoNxos_route_map;
import CiscoNxos_common;
options {
tokenVocab = CiscoNxosLexer;
}
s_route_map
:
ROUTE_MAP name = route_map_name (route_map_entry | route_map_pbr_statistics)
;
route_map_entry
:
action = line_action sequence = route_map_sequence NEWLI... |
tools/ayacc/src/tokens_file.adb | svn2github/matreshka | 24 | 21381 | <reponame>svn2github/matreshka
-- $Header: /dc/uc/self/arcadia/ayacc/src/RCS/tokens_file_body.a,v 1.2 1993/05/31 22:36:35 self Exp self $
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by... |
oeis/019/A019438.asm | neoneye/loda-programs | 11 | 16180 | ; A019438: Squarefree orders of elements of Mathieu group M_23.
; Submitted by <NAME>
; 1,2,3,5,6,7,11,14,15,23
mov $4,$0
mov $6,$0
lpb $4
mov $0,$6
mov $3,0
sub $4,1
sub $0,$4
mov $2,1
lpb $0
mov $2,$0
seq $2,112282 ; a(n) = (-1)^n*(2*n+1) (mod 9).
add $3,$2
mov $0,$3
mov $7,$2
cmp... |
archive/agda-1/DecidableMembership.agda | m0davis/oscar | 0 | 2634 |
module DecidableMembership where
open import OscarPrelude
open import Membership
open import Successor
record DecidableMembership {ℓ} (m : Set ℓ) (M : Set ℓ) ⦃ _ : Membership m M ⦄ : Set (⊹ ℓ)
where
field _∈?_ : (x : m) → (X : M) → Dec $ x ∈ X
field _∉?_ : (x : m) → (X : M) → Dec $ x ∉ X
open DecidableMembersh... |
CLICK_DRUMS/noise/test/test.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 81391 | <gh_stars>10-100
;;; test code
org #8000
di
ld hl,#4001 ; pitch|length<<8
push hl
ld hl,#3000 ; volume<<8
push hl
jp noise_init
DRUM_RETURN_ADDRESS
ei
ret
drum_player
include "../noise.asm"
|
oeis/267/A267246.asm | neoneye/loda-programs | 11 | 245460 | <filename>oeis/267/A267246.asm
; A267246: Binary representation of the n-th iteration of the "Rule 165" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>
; 1,10,1110,101010,11111110,1011111010,111011101110,10101010101010,1111111111111110,101111111111111010,11101111111111101110,... |
oeis/106/A106830.asm | neoneye/loda-programs | 11 | 179222 | ; A106830: Numerator of Sum_{ primes p <= n} 1/p.
; Submitted by <NAME>(m4)
; 0,1,5,5,31,31,247,247,247,247,2927,2927,40361,40361,40361,40361,716167,716167,14117683,14117683,14117683,14117683,334406399,334406399,334406399,334406399,334406399,334406399,9920878441,9920878441,314016924901,314016924901,314016924901,3140169... |
labs/lab1-2/shellcode2.asm | benjholla/PAC2020 | 3 | 161270 | section .text
global _start
_start:
;clear out the registers we are going to need
xor eax,eax
xor ebx,ebx
xor ecx,ecx
xor edx,edx
; write(int fd, char *msg, unsigned int len)
mov al,4
mov bl,1
; Owned!!!=0x4F,0x77,0x6E,0x65,0x64,0x21,0x21
push 0x21212164
push 0x656E774F
mov ecx,esp
mov dl,8
int 0x80
; exit(int re... |
Application Support/BBEdit/Text Filters/bbedit_toggle_live_search.applescript | bhdicaire/bbeditSetup | 0 | 501 | -- toggle live search in BBEDIT
tell application "BBEdit"
tell window 1
set live search bar visible to (not live search bar visible)
end tell
end tell |
OrgEVM/OEVM_L4/main.a51 | sandyre/ifmo_course3 | 3 | 14124 | <reponame>sandyre/ifmo_course3
//P2 = 0;
//S = 0xFF + (x>>8);
//S = 0xFF + ((x*S)>>8);
//S= 0x7F + ((x*S)>>8);
//P2 = 0x1F;
//P3 = S;
CSEG AT 0
START:
mov r0, #0 // r0 = x;
LOOP:
mov P2, #0
mov a, #0xFF //S = 0xFF + (x>>8);
mov b, r0
mul ab
mov a, b
add a, #0xFF //S = 0xFF + ((x*S)>>8);
mov b, r0
mul ab
mo... |
TypeTheory/Nat/Operations.agda | rei1024/agda-misc | 3 | 7500 | <reponame>rei1024/agda-misc<filename>TypeTheory/Nat/Operations.agda
-- Operations on natural number
{-# OPTIONS --without-K --safe #-}
-- agad-stdlib
open import Relation.Binary.PropositionalEquality
module TypeTheory.Nat.Operations
{a}
-- | Type of natural number
(N : Set a)
-- | Zero
(zero : N)
-- | Su... |
Firmware/obj/hm_trp/radio~hm_trp/freq_hopping.asm | mgrunsfeld/SiK | 0 | 4151 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Mar 24 2016) (Linux)
; This file was generated Mon Jul 23 11:34:41 2018
;--------------------------------------------------------
.module freq_hopping
.optsdcc -mmcs51 --model-lar... |
samples/secret-tool.adb | stcarrez/ada-libsecret | 2 | 17831 | -----------------------------------------------------------------------
-- secret-tool -- Example of usage for the Secret service API
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
oeis/225/A225602.asm | neoneye/loda-programs | 11 | 241882 | <filename>oeis/225/A225602.asm
; A225602: a(n) = A002426(n^2), where A002426 is the central trinomial coefficients.
; Submitted by <NAME>(w1)
; 1,1,19,3139,5196627,82176836301,12159131877715993,16639279789182494873661,209099036316263774148543463251,24017537903429183163390175566336055657,25134265191388162956642519120384... |
Boot/boot2.asm | Foltik/Argon | 1 | 18039 |
bits 16
org 0x0500
start:
jmp loader;
;******** BIOS Parameter Block ********;
BytesPerSector: dw 512
SectorsPerCluster: db 1
ReservedSectors: dw 1
NumFATs: db 2
RootEntries: dw 224
TotalSectors: dw 2880
MediaDescriptor: ... |
6e02/6e02.asm | sqph/td-micl | 0 | 87960 | ; 6e02.asm
global main
section .bss
bufferSave RESB 1 ; mémoire tampon stdin/out
descrFichier RESD 1 ; descripteur fichier
section .rodata
nomFichier DB `brol`, 0
msgErreur DB `impossible d'ouvrir le fichier\n`
msgErreurLg DD $ - msgErreur
section .text
main:
nop
mov eax, 5 ... |
Driver/Socket/TCPIP/tcpipEntry.asm | steakknife/pcgeos | 504 | 14087 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: PC GEOS
MODULE: TCP/IP Driver
FILE: tcpipEntry.asm
AUTHOR: <NAME>, Jul 5, 1994
ROUTINES:
Name Description
---- -----------
G... |
3-mid/opengl/source/opengl-server.adb | charlie5/lace | 20 | 13522 | <reponame>charlie5/lace<filename>3-mid/opengl/source/opengl-server.adb
with
openGL.Tasks,
GL.Binding,
interfaces.C.Strings,
ada.unchecked_Conversion;
package body openGL.Server
is
function Version return String
is
use GL,
GL.Binding,
Interfaces;
check_is_OK :... |
third_party/codecs/xvidcore/src/image/x86_asm/gmc_mmx.asm | Narflex/sagetv | 292 | 92157 | <reponame>Narflex/sagetv
;/*****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - GMC core functions -
; * Copyright(C) 2006 <NAME> <<EMAIL>>
; *
; * This file is part of Xvid, a free MPEG-4 video encoder/decoder
; *
; * Xvid is free software; you can re... |
examples/stm32_h405/lcd_test/src/lcd_test.adb | rocher/Ada_Drivers_Library | 192 | 29805 | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- ... |
src/main/antlr/Scriptism.g4 | jacobsimpson/scriptism | 1 | 3725 | grammar Scriptism;
options
{
language = Java;
}
@header {
package scriptism.grammar;
}
program
: statements
;
statements
: (
COMMENT
| printStatement
| printlnStatement
| declarationStatement
| assignmentStatement
... |
cypher.asm | sloorush/TAPx86 | 0 | 105339 | include 'emu8086.inc'
org 100h
;-------------- Saving Tables --------------
; Stores letters from a to z (lower case)
MOV CX, 26 ; Size of letters in the alphabet
MOV AL, 61h ; ASCII code for letter 'a'
MOV DI, 400h ; Hold the offset of memory location in the... |
programs/oeis/113/A113551.asm | neoneye/loda | 22 | 173590 | ; A113551: a(n) = product of next n even numbers beginning with n if n is even, otherwise product of next n odd numbers beginning with n.
; 1,8,105,1920,45045,1290240,43648605,1703116800,75293843625,3719607091200,203067496256625,12140797545676800,788917222956988125,55362036808286208000,4172583192219510193125,3361582874... |
resources/asm/na/actor_accessor_sir0.asm | SkyTemple/ppmdu | 37 | 14035 | <filename>resources/asm/na/actor_accessor_sir0.asm
; For use with ARMIPS v0.7d
; By: <EMAIL>
; 2016/09/17
; For Explorers of Sky North American ONLY!
; ------------------------------------------------------------------------------
; Copyright © 2016 <NAME> <<EMAIL>>
; This work is free. You can redistribute it and/or m... |
pkg/parser/antlr/FqlLexer.g4 | agneum/ferret | 0 | 4481 | <reponame>agneum/ferret
lexer grammar FqlLexer;
// Skip
MultiLineComment: '/*' .*? '*/' -> channel(HIDDEN);
SingleLineComment: '//' ~[\r\n\u2028\u2029]* -> channel(HIDDEN);
WhiteSpaces: [\t\u000B\u000C\u0020\u00A0]+ -> channel(HIDDEN);
LineTerminator: [\r\n\u2028\u2029] -> channel(HIDDEN);
// Punctuation
... |
src/arch/x86_64/kernel/interrupts/exceptions.asm | SydOS/Star | 13 | 99203 | ;
; File: exceptions.asm
;
; Copyright (c) 2017-2018 <NAME>, <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, ... |
FormalAnalyzer/models/apps/Turnonwithmotionunlessturnedoff.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1715 | <reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor
module app_Turnonwithmotionunlessturnedoff
open IoTBottomUp as base
open cap_motionSensor
open cap_switch
one sig app_Turnonwithmotionunlessturnedoff extends IoTApp {
switchLight : one cap_switch,
motion : one cap_motionSensor,
state : one cap_stat... |
examples/src/examples-navigation.ads | TNO/Rejuvenation-Ada | 1 | 7666 | package Examples.Navigation is
procedure Demo (File_Name : String);
end Examples.Navigation;
|
src/gen-artifacts-distribs-exec.adb | My-Colaborations/dynamo | 15 | 5337 | <gh_stars>10-100
-----------------------------------------------------------------------
-- gen-artifacts-distribs-exec -- External command based distribution artifact
-- Copyright (C) 2012, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
complexity-drafts/Source2.agda | benhuds/Agda | 2 | 13295 | {- Name: Bowornmet (<NAME>
-- new source language module. trying stuff out
-}
open import Preliminaries
open import Preorder-withmax
module Source2 where
data Tp : Set where
unit : Tp
nat : Tp
susp : Tp → Tp
_->s_ : Tp → Tp → Tp
_×s_ : Tp → Tp → Tp
list : Tp → Tp
bool : Tp
Ctx = Li... |
programs/oeis/023/A023512.asm | jmorken/loda | 1 | 23489 | ; A023512: Exponent of 2 in prime factorization of prime(n) + 1.
; 0,2,1,3,2,1,1,2,3,1,5,1,1,2,4,1,2,1,2,3,1,4,2,1,1,1,3,2,1,1,7,2,1,2,1,3,1,2,3,1,2,1,6,1,1,3,2,5,2,1,1,4,1,2,1,3,1,4,1,1,2,1,2,3,1,1,2,1,2,1,1,3,4,1,2,7,1,1,1,1,2,1,4,1,3,2,1,1,1,4,2,5,3,2,2,3,1,1,2,1,2,1,2,1,2,1,2,1,3,1,5,1,1,2,3,1,2,3,1,2,1,1,1,2,2,1,1... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-soflin.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 15922 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1214.asm | ljhsiun2/medusa | 9 | 4189 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1214.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x5a3c, %r11
nop
nop
nop
nop
nop
and %r14, %r14
movw $0x6162, (%r... |
oeis/192/A192142.asm | neoneye/loda-programs | 11 | 19025 | ; A192142: 1-sequence of reduction of (n^2+n+1) by x^2 -> x+1.
; Submitted by <NAME>
; 0,3,10,36,99,254,598,1339,2872,5966,12071,23908,46516,89155,168702,315712,585163,1075442,1961754,3554715,6402780,11470778,20450255,36297576,64164744,113006019,198345298,347033724,605414067,1053307526
mov $1,$0
add $0,1
lpb $1
mov ... |
test/Succeed/Issue1292.agda | KDr2/agda | 0 | 12262 | -- Andreas, 2014-10-05, issue reported by <NAME>
{-# OPTIONS --cubical-compatible #-}
postulate
IO : Set → Set
record ⊤ : Set where
constructor tt
record Container : Set₁ where
field
Shape : Set
Position : Shape → Set
open Container public
data W (A : Set) (B : A → Set) : Set where
sup : (x : A... |
src/send-message.scpt | briangonzalez/alfred-messages | 64 | 168 | -- THIS FILE IS NO LONGER USED.
on run argv
-- set theHandle to "+15555555555"
-- set textMessage to "Hello!"
set theHandle to item 1 of argv
set textMessage to item 2 of argv
tell application "Messages"
set targetBuddy to theHandle
set targetService to id of 1st service whose service type = iMessag... |
programs/oeis/017/A017465.asm | neoneye/loda | 22 | 168253 | ; A017465: a(n) = (11*n + 6)^5.
; 7776,1419857,17210368,90224199,312500000,844596301,1934917632,3939040643,7339040224,12762815625,21003416576,33038369407,50049003168,73439775749,104857600000,146211169851,199690286432,267785184193,353305857024,459401384375,589579257376,747724704957,938120019968,1165463885299,14348907000... |
source/slim-messages-stat.adb | reznikmm/slimp | 0 | 28425 | <reponame>reznikmm/slimp<filename>source/slim-messages-stat.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Message_Visiters;
package body Slim.Messages.STAT is
List : constant Fiel... |
programs/oeis/070/A070546.asm | neoneye/loda | 22 | 162569 | ; A070546: a(n)=Card( k, 0<k<=n such that k is relatively prime to tau(k)=A000005(k)).
; 1,1,2,3,4,4,5,5,5,5,6,6,7,7,8,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,31,32,33,33,34,34,35,35,36,36,37,37
lpb $0
mov $2,$0
sub... |
Maths/Utilities/PRequSpeedDivZZdiv8-DV42-DV42IYH.asm | ped7g/EliteNext | 9 | 171942 | ; "DV42,DV42IYH DE = P.R, c = R"
DV42IYH: ; as per DV42 but using iyl for Y reg
ld hl,varDustZ
ld a,iyl
add hl,a
ld a,(hl)
jp DV41
DV42: ; travel step of dust particle front/rear
ld hl,varDustZ
ld a,(regY)
add hl,a
ld a,(hl) ; a = SZ[y]
DV41: ; P.R = speed/ (ZZ/... |
nrom-scroller/src/graphics.asm | Gumball2415/nes-scribbles | 0 | 14432 | <reponame>Gumball2415/nes-scribbles
.include "defines.inc"
.include "global.inc"
.segment "BANK0"
palette_1:
; BG
.byte $0f,$00,$10,$30
.byte $0f,$19,$29,$39
.byte $0f,$01,$12,$21
.byte $0f,$03,$14,$22
; FG
.byte $0f,$00,$10,$30
.byte $0f,$19,$29,$39
.byte $0f,$01,$12,$21
.byte $0f,$03,$14,$22
p... |
oeis/316/A316332.asm | neoneye/loda-programs | 11 | 102586 | ; A316332: a(n) = A000085(4*n+2)/2^(n+1).
; Submitted by <NAME>(s4)
; 1,19,1187,149405,31166057,9670072483,4163946939067,2370770585582221,1722046856020416785,1552401874990891104371,1699257737580930574489619,2218555640616875773883091901,3404174268230266459851637679353,6062646848508401565245592651382915,12398960005973049... |
programs/oeis/256/A256967.asm | jmorken/loda | 1 | 13999 | ; A256967: a(n) = A256966(n) + 1.
; 1,2,4,7,10,14,18,22,27,32,37,42,47,53,59,65,71,77,83,89,95,102,109,116,123,130,137,144,151,158,165,172,179,186,194,202,210,218,226,234,242,250,258,266,274,282,290,298,306,314,322,330,338,346,354,363,372,381,390,399,408,417,426,435,444,453,462,471,480,489,498,507,516,525,534,543,552,5... |
programs/oeis/111/A111889.asm | neoneye/loda | 22 | 93929 | ; A111889: A repeated permutation of {0,...,8}.
; 0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2,0,1,5,3,4,8,6,7,2
mov $1,$0
mul $0,15
add $0,13
mul $1,$0
lpb $1
mod $1,9
lpe
mov $0,$1
|
awa/src/model/awa-permissions-models.ads | fuzzysloth/ada-awa | 0 | 10954 | -----------------------------------------------------------------------
-- AWA.Permissions.Models -- AWA.Permissions.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https:... |
BTA4.agda | luminousfennell/polybta | 1 | 14263 | module BTA4 where
-- specialize two-level typed terms to untyped lambda calculus
open import Data.Nat hiding (_<_)
open import Data.Bool
open import Data.Fin hiding (_≤_ ; pred; _+_)
open import Data.List
open import Data.Product
open import Function
open import Algebra.FunctionProperties using (Commutative; Identity... |
programs/oeis/231/A231502.asm | neoneye/loda | 22 | 15422 | <gh_stars>10-100
; A231502: a(n) = Sum_{i=0..n} wt(i)^4, where wt() = A000120().
; 0,1,2,18,19,35,51,132,133,149,165,246,262,343,424,680,681,697,713,794,810,891,972,1228,1244,1325,1406,1662,1743,1999,2255,2880,2881,2897,2913,2994,3010,3091,3172,3428,3444,3525,3606,3862,3943,4199,4455,5080,5096,5177,5258,5514,5595,5851,... |
src/fmt-generic_decimal_fixed_point_argument.adb | likai3g/afmt | 0 | 17459 | with Interfaces;
package body Fmt.Generic_Decimal_Fixed_Point_Argument is
subtype uint64_t is Interfaces.Unsigned_64;
Scale : constant Long_Long_Integer := 10 ** Fixed_Point_Type'Scale;
To_Char : constant array(uint64_t range 0..9) of Character := "0123456789";
function To_Long_Long_Integer (X : Fixed_P... |
src/main/antlr/Expr.g4 | alexgaas/antlr-intro | 0 | 3673 | /** Grammars always start with a grammar header. */
grammar Expr;
/** Add package name to generated file */
@header {
package gen;
}
/** A rule called `prog` which will be our entry point
* This rule means that a program is a sequence of one or more `stat`s
*/
prog: stat+ ;
/** A `stat` rule may be each of the ... |
lisa/src/test/antlr/IMPParser.g4 | UniVE-SSV/soap-lisa | 0 | 3818 | /**
* The parser for the java subset
*
* @author <NAME>
*/
parser grammar IMPParser;
@ header
{
package it.unive.lisa.test.antlr;
}
options { tokenVocab = IMPLexer; }
/*
* GENERAL TOKENS
*/
arraySqDeclaration
: (LBRACK RBRACK)+
;
/*
* TYPES
*/
primitiveType
: BOOLEAN
| INT
| FLOA... |
src/main/antlr4/com/navelplace/jsemver/antlr/Version.g4 | BrianDeacon/JSemver | 0 | 2443 | grammar Version;
fullVersion: semver (DASH prerelease (PLUS build)?)? WS* EOF;
semver: major=VERSION_ELEMENT DOT minor=VERSION_ELEMENT DOT patch=VERSION_ELEMENT ;
prerelease: prereleaseElement (DOT prereleaseElement)*;
build: buildElement (DOT buildElement)*;
prereleaseElement: VALID_EXTENSION_CHAR | VERSION_ELEMENT... |
programs/oeis/047/A047427.asm | neoneye/loda | 22 | 98247 | ; A047427: Numbers that are congruent to {1, 3, 4, 5, 6} mod 8.
; 1,3,4,5,6,9,11,12,13,14,17,19,20,21,22,25,27,28,29,30,33,35,36,37,38,41,43,44,45,46,49,51,52,53,54,57,59,60,61,62,65,67,68,69,70,73,75,76,77,78,81,83,84,85,86,89,91,92,93,94,97,99,100,101,102
add $0,1
mov $1,$0
lpb $1
add $0,1
add $0,$1
trn $1,2
... |
programs/oeis/242/A242062.asm | jmorken/loda | 1 | 178038 | ; A242062: Expansion of x * (1 - x^12) / ((1 - x^3) * (1 - x^4) * (1 - x^7)) in powers of x.
; 0,1,0,0,1,1,0,1,2,1,1,2,2,1,2,3,2,2,3,3,2,3,4,3,3,4,4,3,4,5,4,4,5,5,4,5,6,5,5,6,6,5,6,7,6,6,7,7,6,7,8,7,7,8,8,7,8,9,8,8,9,9,8,9,10,9,9,10,10,9,10,11,10,10,11,11,10,11,12,11,11,12,12,11,12,13,12,12,13,13,12,13,14,13,13,14,14,1... |
Exercise4.adb | MatrixMike/AdaDemo1 | 1 | 7203 | <filename>Exercise4.adb
with Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Text_IO;
procedure Exercise4 is
Item : Integer;
begin
Put_Line("Enter the type of house you want to purchase");
Put_Line("1. Single Family");
Put_Line("2. Townhouse");
Put_Line("3. Condominium");
Put_Line("Your Choice... |
Sources/Globe_3d/glut-devices.adb | ForYouEyesOnly/Space-Convoy | 1 | 16166 | <reponame>ForYouEyesOnly/Space-Convoy
-----------------------------------------------------------------------------
-- This file contains the body, please refer to specification (.ads file)
-----------------------------------------------------------------------------
with Interfaces;
with GLUT.Windows; ... |
audio/music_pointers.asm | Dev727/ancientplatinum | 28 | 95640 | ; See song sections in audio.asm.
Music:
; entries correspond to MUSIC_* constants
dba Music_Nothing
dba Music_TitleScreen
dba Music_Route1
dba Music_Route3
dba Music_Route12
dba Music_MagnetTrain
dba Music_KantoGymBattle
dba Music_KantoTrainerBattle
dba Music_KantoWildBattle
dba Music_PokemonCenter
dba Mus... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.