max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/maths/division.asm | Pentium1080Ti/x86-assembly | 0 | 175994 | %include 'src/include/functions.asm'
SECTION .data
remainder db ' remainder '
SECTION .text
global _start
_start:
mov eax, 100
mov ebx, 10
div ebx
call iprint
mov eax, remainder
call sprint
mov eax, edx ; move remainder
call iprintLF
call quit |
test/unit/src/test_images.adb | Statkus/json-ada | 0 | 28426 | -- Copyright (c) 2018 RREE <<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 ... |
playground/while/parser/while.g4 | xephonhq/tsql | 5 | 7251 | grammar while;
prog: cexp+;
aexp: aexp '*' aexp # mul
| aexp '/' aexp # div
| aexp '+' aexp # sum
| aexp '-' aexp # sub
| INT # num
| ID # var
;
bexp: aexp '<' aexp # les
| aexp '>' aexp # gt
| aexp '==' aexp # eq
| aexp '!=' aexp # neq
| BOOL # bool
;
cexp: 'skip' ';' # sk... |
Task/XML-Input/Ada/xml-input-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 25039 | with Sax.Readers;
with Input_Sources.Strings;
with Unicode.CES.Utf8;
with My_Reader;
procedure Extract_Students is
Sample_String : String :=
"<Students>" &
"<Student Name=""April"" Gender=""F"" DateOfBirth=""1989-01-02"" />" &
"<Student Name=""Bob"" Gender=""M"" DateOfBirth=""1990-03-04"" />" &
"<Student N... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/ordinary_type_declaration_range_constraint.ads | ouankou/rose | 488 | 2687 | <gh_stars>100-1000
package ordinary_type_declaration_range_constraint is
type Ordinary_Type is range 1..10;
end ordinary_type_declaration_range_constraint;
|
programs/oeis/134/A134063.asm | karttu/loda | 0 | 101834 | <filename>programs/oeis/134/A134063.asm
; A134063: a(n) = (1/2)*(3^n - 2^(n+1) + 3).
; 1,1,2,7,26,91,302,967,3026,9331,28502,86527,261626,788971,2375102,7141687,21457826,64439011,193448102,580606447,1742343626,5228079451,15686335502,47063200807,141197991026,423610750291,1270865805302,3812664524767,11438127792026
mov $... |
antlr-basics/src/main/java/com/poc/chapter_05_part03/LexerRules.g4 | cgonul/antlr-poc | 0 | 392 | grammar LexerRules;
stats : stat* ;
stat : exp* ';' ;
exp : ID | for;
ID : [a-zA-Z0-9]+;
WS : [ \t\r\n]+ -> skip ;
for : 'for' ; |
oeis/016/A016947.asm | neoneye/loda-programs | 11 | 174538 | ; A016947: a(n) = (6*n + 3)^3.
; 27,729,3375,9261,19683,35937,59319,91125,132651,185193,250047,328509,421875,531441,658503,804357,970299,1157625,1367631,1601613,1860867,2146689,2460375,2803221,3176523,3581577,4019679,4492125,5000211,5545233,6128487,6751269,7414875,8120601,8869743,9663597,10503459,11390625,12326391,1331... |
audio/sfx/battle_34.asm | adhi-thirumala/EvoYellow | 16 | 162246 | SFX_Battle_34_Ch1:
dutycycle 237
unknownsfx0x20 8, 255, 248, 3
unknownsfx0x20 15, 255, 0, 4
unknownsfx0x20 15, 243, 0, 4
endchannel
SFX_Battle_34_Ch2:
dutycycle 180
unknownsfx0x20 8, 239, 192, 3
unknownsfx0x20 15, 239, 192, 3
unknownsfx0x20 15, 227, 192, 3
endchannel
SFX_Battle_34_Ch3:
unknownnoise0x20 4... |
Engine Hacks/Skill System/Internals/FE8-Weapon Rank on Levelup/Display_Text_Anims_On1.asm | sme23/MekkahRestrictedHackComp1 | 0 | 163918 | .thumb
.org 0x0
@called at 75D00
push {r14}
mov r0,#2
ldr r1,Func_A240 @copies text to ram
mov r14,r1
.short 0xF800
mov r4,r0
ldr r1,Custom_Message_Func
mov r14,r1
.short 0xF800
ldr r1,Func_3EDC
mov r14,r1
.short 0xF800
pop {r1}
bx r1
.align
Func_A240:
.long 0x0800A240
Func_3EDC:
.long 0x08003EDC
Custom_M... |
fun/bell.asm | takama/junior | 0 | 1224 | <filename>fun/bell.asm
.model small
.code
org 100h ;загрузить с адреса 100h
start: ;точка входа
jmp inst ;переход на инсталяцию
;-------------------------------------------------------------------... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_1775.asm | ljhsiun2/medusa | 9 | 95480 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x3b61, %r11
nop
nop
nop
cmp %rax, %rax
movl $0x61626364, (%r11)
nop
nop
xor $11639, %r14
lea addresses_WT_ht+0x40a1... |
BigNum/Mod/Base/_bn_square_basecase.asm | FloydZ/Crypto-Hash | 11 | 92012 | <reponame>FloydZ/Crypto-Hash
.686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
;; esi=bnX
;; edi=Prod
;; School boy
_bn_square_basecase proc c; uses all
push ebp
xor ebx,ebx
.repeat
mov eax,[esi].BN.dwArray[ebx*4-4+4]
mul eax
xor ebp,ebp
add [edi].BN.dwArray[ebx*4... |
src/grammars/Pre.g4 | CorvusPrudens/Corax | 0 | 2478 | grammar Pre;
parse : anything* EOF?;
anything : directive #topDirective
| anything_else+ #topAny
;
directive : include_
| if_
| ifdef_
| ifndef_
| define_
| undef_
| line_
... |
FormalAnalyzer/models/apps/ReadyForRain.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3629 | module app_ReadyForRain
open IoTBottomUp as base
open cap_contactSensor
one sig app_ReadyForRain extends IoTApp {
state : one cap_state,
sensors : some cap_contactSensor,
} {
rules = r
}
one sig cap_state extends Capability {} {
attributes = cap_state_attr
}
abstract sig cap_state_attr extends Attr... |
u7-common/constants.asm | JohnGlassmyer/UltimaHacks | 68 | 243895 | <reponame>JohnGlassmyer/UltimaHacks
; =============================================================================
; enumerations
; -----------------------------------------------------------------------------
%assign FindItemFlagBit_1 1
%assign FindItemFlagBit_2 2
%assign ... |
labcodes/lab1/obj/kernel.asm | linfan255/os_dev | 0 | 164830 |
bin/kernel: 文件格式 elf32-i386
Disassembly of section .text:
00100000 <kern_init>:
int kern_init(void) __attribute__((noreturn));
void grade_backtrace(void);
static void lab1_switch_test(void);
int
kern_init(void) {
100000: 55 push %ebp
100001: 89 e5 mov %esp,%ebp
100... |
oeis/159/A159076.asm | neoneye/loda-programs | 11 | 91017 | <gh_stars>10-100
; A159076: A008474(n) + 2.
; Submitted by <NAME>
; 2,5,6,6,8,9,10,7,7,11,14,10,16,13,12,8,20,10,22,12,14,17,26,11,9,19,8,14,32,15,34,9,18,23,16,11,40,25,20,13,44,17,46,18,13,29,50,12,11,12,24,20,56,11,20,15,26,35,62,16,64,37,15,10,22,21,70,24,30,19,74,12,76,43
add $0,1
mov $2,2
mov $3,$0
mov $4,$0
mov... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_25.asm | ljhsiun2/medusa | 9 | 170568 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x8b1b, %rcx
nop
nop
nop
nop
nop
xor %rbx, %rbx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
movups %xmm6, (%rcx)
nop
nop
nop
xor %rbx, %rbx
lea addresses_A_h... |
kernel/loader.asm | gitter-badger/DepthOS | 0 | 89446 | <reponame>gitter-badger/DepthOS
STACK_SIZE equ 64
align 4
section .bss
ss_end:
resb STACK_SIZE ; reserve stack
ss_begin:
section .text
global _loadkernel
extern _kmain ; kmain in another file
_loadkernel:
; extern loadGRUB ; loadGRUB in another file
; call loadGRUB ; call loadGRUB functio... |
src/el-functions-namespaces.adb | jquorning/ada-el | 6 | 5671 | -----------------------------------------------------------------------
-- el-functions-namespaces -- Namespace function mapper
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with th... |
tests/src/test_parsers.adb | onox/json-ada | 28 | 28485 | <reponame>onox/json-ada<gh_stars>10-100
-- 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... |
agda/Cardinality/Finite/ManifestBishop/Isomorphism.agda | oisdk/combinatorics-paper | 4 | 8505 | {-# OPTIONS --cubical --safe #-}
module Cardinality.Finite.ManifestBishop.Isomorphism where
open import Prelude
open import Data.Fin
open import Data.Fin.Properties
open import Container.List.Isomorphism
import Cardinality.Finite.ManifestBishop.Inductive as 𝕃
import Cardinality.Finite.ManifestBishop.Container as ℒ... |
gramado/shell/tests/asmtest/appasm.asm | RC0D3/gramado | 5 | 85901 |
;[org 0x400000]
[bits 32]
;;alinhamento do entrypoint
;;não precisa o linker faz isso
;;times 0x1000 db 0
;;======================
segment .text
;; entry point
app_main:
jmp afterLibs
;;lib
%include "asm.inc"
afterLibs:
mov al, 4
call print_spaces
xor eax, eax
mov al, 0xf1
call print... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_netbuffer_gstnetbuffer_h.ads | persan/A-gst | 1 | 6536 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h;
with glib;
package GStreamer.GST_Low_Level.gstreamer_... |
pkgs/tools/yasm/src/modules/parsers/gas/tests/bin/gas-llabel.asm | manggoguy/parsec-modified | 2,151 | 22541 | <gh_stars>1000+
# Skelix by <NAME> (<EMAIL>)
# Licence: GPLv2
.text
#.globl start
.code16
start:
jmp code
msg:
.string "Hello World!\x0"
code:
movw $0xb800,%ax
movw %ax, %es
... |
oeis/060/A060928.asm | neoneye/loda-programs | 11 | 91127 | ; A060928: Expansion of 1/(1 - 5*x - 4*x^3).
; Submitted by <NAME>
; 1,5,25,129,665,3425,17641,90865,468025,2410689,12416905,63956625,329425881,1696797025,8739811625,45016761649,231870996345,1194314228225,6151638187721,31685674923985,163205631532825,840634710415009,4329916251770985,22302403784986225,114874557766591161,... |
Transynther/x86/_processed/NC/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_21829_583.asm | ljhsiun2/medusa | 9 | 102120 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7efd, %rsi
lea addresses_normal_ht+0x6491, %rdi
nop
nop
dec %rbp
mov $57, %rcx
rep movsw
nop
nop
nop
cmp %rax, %rax
lea addresses_UC_ht+0x1de9, %rcx
... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/puts_unlocked.asm | jpoikela/z88dk | 640 | 84147 |
; int puts_unlocked(const char *s)
SECTION code_clib
SECTION code_stdio
PUBLIC _puts_unlocked
EXTERN _puts_unlocked_fastcall
_puts_unlocked:
pop af
pop hl
push hl
push af
jp _puts_unlocked_fastcall
|
src/L/Base/Core.agda | borszag/smallib | 0 | 7635 | module L.Base.Core where
-- Reexport all of the Cores
open import L.Base.Sigma.Core public
open import L.Base.Coproduct.Core public
open import L.Base.Empty.Core public
open import L.Base.Unit.Core public
open import L.Base.Nat.Core public
open import L.Base.Id.Core public
|
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sdcc_iy/p_forward_list_remove_after_fastcall.asm | meesokim/z88dk | 0 | 245181 |
; void *p_forward_list_remove_after_fastcall(void *list_item)
SECTION code_adt_p_forward_list
PUBLIC _p_forward_list_remove_after_fastcall
_p_forward_list_remove_after_fastcall:
INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_remove_after.asm"
|
src/hott/truncation/equality.agda | pcapriotti/agda-base | 20 | 17083 | {-# OPTIONS --without-K #-}
module hott.truncation.equality where
open import sum
open import equality
open import function.extensionality
open import function.isomorphism
open import function.overloading
open import sets.nat
open import hott.equivalence
open import hott.level.core
open import hott.level.closure
open ... |
sound.asm | raphnet/super_sudoku | 6 | 25757 | .include "header.inc"
.include "snesregs.inc"
.include "misc_macros.inc"
.include "zeropage.inc"
.include "puzzles.inc"
.include "grid.inc"
.bank 0 slot 1
.ramsection "sound_variables" SLOT RAM_SLOT
kick: db
.ends
.16BIT
.section "apu_payload" FREE
apu_dst_address: .dw 200h
apu_entry_point: .dw 200h
.ends
.sect... |
programs/oeis/111/A111181.asm | neoneye/loda | 22 | 97690 | ; A111181: Prime(n) - Pi(n).
; 2,2,3,5,8,10,13,15,19,25,26,32,35,37,41,47,52,54,59,63,65,71,74,80,88,92,94,98,99,103,116,120,126,128,138,140,145,151,155,161,166,168,177,179,183,185,196,208,212,214,218,224,225,235,241,247,253,255,260,264,265,275,289,293,295,299,312,318,328,330,333,339,346,352,358,362,368,376,379,387,397... |
libsrc/cpc/cpc_PrintGphStrStd_callee.asm | jpoikela/z88dk | 640 | 242700 | <filename>libsrc/cpc/cpc_PrintGphStrStd_callee.asm
;
; Amstrad CPC library
;
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** <NAME>, Artaburu 2009 **
; ******************************************************
;
; void cpc_... |
BasicICML/Syntax/DyadicGentzen.agda | mietek/hilbert-gentzen | 29 | 13589 | <filename>BasicICML/Syntax/DyadicGentzen.agda
-- Basic intuitionistic contextual modal logic, without ∨ or ⊥.
-- Gentzen-style formalisation of syntax with context pairs, after Nanevski-Pfenning-Pientka.
-- Simple terms.
module BasicICML.Syntax.DyadicGentzen where
open import BasicICML.Syntax.Common public
-- Deriv... |
ada/core/agar-event.adb | auzkok/libagar | 286 | 5449 | <reponame>auzkok/libagar
------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . E V E N T --
-- B o d y ... |
oeis/245/A245300.asm | neoneye/loda-programs | 11 | 80241 | ; A245300: Triangle T(n,k) = (n+k)*(n+k+1)/2 + k, 0 <= k <= n, read by rows.
; Submitted by <NAME>
; 0,1,4,3,7,12,6,11,17,24,10,16,23,31,40,15,22,30,39,49,60,21,29,38,48,59,71,84,28,37,47,58,70,83,97,112,36,46,57,69,82,96,111,127,144,45,56,68,81,95,110,126,143,161,180,55,67,80,94,109,125,142,160,179,199,220,66,79,93,10... |
oeis/206/A206417.asm | neoneye/loda-programs | 11 | 94011 | ; A206417: (5*F(n)+3*L(n)-8)/2.
; Submitted by <NAME>(s3)
; 0,3,7,14,25,43,72,119,195,318,517,839,1360,2203,3567,5774,9345,15123,24472,39599,64075,103678,167757,271439,439200,710643,1149847,1860494,3010345,4870843,7881192,12752039,20633235,33385278,54018517,87403799,141422320,228826123,370248447,599074574,969323025,156... |
data/jpred4/jp_batch_1613899824__zrBepmM/jp_batch_1613899824__zrBepmM.als | jonriege/predict-protein-structure | 0 | 2694 | <filename>data/jpred4/jp_batch_1613899824__zrBepmM/jp_batch_1613899824__zrBepmM.als<gh_stars>0
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__zrBepmM.concise.blc
MAX_NSEQ 941
MAX_INPUT_LEN 943
OUTPUT_FILE jp_batch_1613899824__zrBepmM.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvet... |
src/cws-types.agda | xoltar/cedille | 0 | 12361 | ----------------------------------------------------------------------------------
-- Types for parse trees
----------------------------------------------------------------------------------
module cws-types where
open import lib
open import parse-tree
posinfo = string
{-# FOREIGN GHC import qualified CedilleCommen... |
robozonky-strategy-natural/src/main/antlr4/imports/PortfolioStructure.g4 | liry/robozonky | 0 | 4730 | grammar PortfolioStructure;
import Tokens;
@header {
import java.math.BigInteger;
import com.github.robozonky.strategy.natural.*;
}
portfolioStructureExpression returns [Collection<PortfolioShare> result]:
{ Collection<PortfolioShare> result = new LinkedHashSet<>(); }
(i=portfolioStructureInterestRateExpre... |
oeis/218/A218689.asm | neoneye/loda-programs | 11 | 22727 | ; A218689: Sum_{k=0..n} C(n,k)^6*C(n+k,k)^6.
; Submitted by <NAME>
; 1,65,93313,795985985,8178690000001,93706344780048065,1453730786373283012225,26552497154713885161031745,513912636558068387176582890625,10769375530849394271690330588432065,243282405272735566295972089793676717313,57634016887732717192783139340330572702266... |
programs/oeis/209/A209529.asm | neoneye/loda | 22 | 15864 | ; A209529: Half the number of (n+1)X(n+1) 0..2 arrays with every 2X2 subblock having exactly two distinct clockwise edge differences
; 5,25,257,6145,262145,25165825,4294967297,1649267441665,1125899906842625,1729382256910270465,4722366482869645213697,29014219670751100192948225,316912650057057350374175801345,778844528780... |
oeis/182/A182879.asm | neoneye/loda-programs | 11 | 90054 | <reponame>neoneye/loda-programs
; A182879: The sum of the lengths of all weighted lattice paths in L_n.
; Submitted by <NAME>
; 0,1,3,11,33,96,278,787,2205,6133,16941,46554,127390,347331,944121,2559607,6923529,18690138,50364988,135506485,364063815,976880631,2618206923,7009868646,18749876418,50107633501,133800148323,357... |
llvm-gcc-4.2-2.9/gcc/ada/opt.ads | vidkidz/crossbridge | 1 | 68 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
09_COMP_SPAZI.asm | aleattene/lc2-exams | 0 | 87595 | <reponame>aleattene/lc2-exams
; ************ DESCRIZIONE SOTTOPROGRAMMA ************
Spesso nella scrittura di testi capita di separare le parole con due o più spazi invece di uno, con il risultato di
un’impaginazione irregolare, con parole più o meno lontane le une dalle altre. Per eliminare il problema, il
seguente ... |
move command.scpt | ldebritto/alfred-mail-sorter | 0 | 3280 | on run argv
set theMailbox to item 1 of argv
activate application "Mail"
tell application "System Events"
tell process "Mail"
click menu item theMailbox of menu 1 of menu item 18 of menu 1 of menu bar item 7 of menu bar 1
end tell
end tell
end run
|
programs/oeis/198/A198954.asm | neoneye/loda | 22 | 164597 | ; A198954: Expansion of the rotational partition function for a heteronuclear diatomic molecule.
; 1,3,0,5,0,0,7,0,0,0,9,0,0,0,0,11,0,0,0,0,0,13,0,0,0,0,0,0,15,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,0,0,0,0,0,0
mul $0,2
mo... |
3-mid/impact/source/3d/math/impact-d3-quaternions.ads | charlie5/lace | 20 | 21058 | <gh_stars>10-100
package impact.d3.Quaternions
--
-- The impact.d3.Quaternion provides subprograms to perform linear algebra rotations in combination with impact.d3.Matrix, impact.d3.Vector and impact.d3.Transform.
--
is
use Math;
BT_EULER_DEFAULT_ZYX : constant Boolean := False;
function to_Quaternion (... |
oeis/020/A020736.asm | loda-lang/loda-programs | 11 | 170613 | <filename>oeis/020/A020736.asm<gh_stars>10-100
; A020736: Pisot sequence L(5,8).
; Submitted by <NAME>
; 5,8,13,22,38,66,115,201,352,617,1082,1898,3330,5843,10253,17992,31573,55406,97230,170626,299427,525457,922112,1618193,2839730,4983378,8745218,15346787,26931733,47261896,82938845,145547526,255418102,448227522,7865844... |
pkgs/tools/yasm/src/modules/preprocs/nasm/tests/nasmpp-decimal.asm | manggoguy/parsec-modified | 2,151 | 92792 | <reponame>manggoguy/parsec-modified
%macro testConcat 0
%push ctx
%assign %$x 0
%rep 8
movd eax, mm%$x
%assign %$x %$x+1
%endrep %pop
%endmacro
testConcat
|
worker/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/md5/md5-x86_64.asm | vanga-top/mediasoup | 1,666 | 102860 | <reponame>vanga-top/mediasoup
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
ALIGN 16
global md5_block_asm_data_order
md5_block_asm_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_md5_block_asm_data_order:
mov rdi,rcx
mov r... |
LARGEST.asm | ahmedibrahimq/asm | 0 | 88374 | .MODEL SMALL
.STACK
.DATA
LIST DB 80,81,78,65,23,45,89,90,10,99
RESULT DB 80
P DB 2 DUP("$"),"$"
.CODE
MAIN PROC FAR
MOV AX,@Data
MOV DS,AX
;------------
MOV CX,10
LEA SI,LIST
ADD SI,1
WHO_LARGER:
MOV AL,[SI]
... |
alloy4fun_models/trashltl/models/7/Req3FTd5YnuZvGgod.als | Kaixi26/org.alloytools.alloy | 0 | 4590 | <filename>alloy4fun_models/trashltl/models/7/Req3FTd5YnuZvGgod.als
open main
pred idReq3FTd5YnuZvGgod_prop8 {
all f:File| eventually f.*link in Trash
}
pred __repair { idReq3FTd5YnuZvGgod_prop8 }
check __repair { idReq3FTd5YnuZvGgod_prop8 <=> prop8o } |
Palmtree.Math.Core.Implements/vs_build/x64_Release/pmc_subtruct.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 17337 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC Subtruct_Imp
PUBLIC Initialize_Subtruct
PUBLIC PMC_Subtruct_I_X
PUBLIC PMC_Subtruct_L_X
PUBLIC PMC_Subtruct_X_I
PUBLIC PMC_Subtruct_X_L
PUBLIC PMC_Subtruct_X_X
EXTRN CheckB... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_gover.asm | prismotizm/gigaleak | 0 | 99664 | Name: zel_gover.asm
Type: file
Size: 21958
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 54325BE87A1EDA406659991A8C416AA8E1535A5E
Description: null
|
Lab4/lab4_3.asm | chintamanand/Embedded-Systems-Project | 0 | 89311 | AREA RESET, DATA, READONLY
EXPORT __Vectors
__Vectors
DCD 0x10001000
DCD Reset_Handler
ALIGN
AREA mycode, CODE, READONLY
ENTRY
EXPORT Reset_Handler
Reset_Handler
LDR R0,=NUM1
LDR R1,[R0]
MOV R4,#0XA
LDR R5,=RESULT
AND R3,R1,#0X0F
AND R2,R1,#0XF0
LSR R2,#4
MUL R2,R4
ADD R2,R3
... |
base/mvdm/dos/v86/doskrnl/dos/mscode.asm | npocmaka/Windows-Server-2003 | 17 | 102193 | TITLE MISC DOS ROUTINES - Int 25 and 26 handlers and other
NAME IBMCODE
;** MSCODE.ASM - System Call Dispatch Code
;
; Revision History
; ================
; Sudeepb 14-Mar-1991 Ported for NT DOSEm
.xlist
.xcref
include version.inc
... |
2-a-whirlwind-tour/2-2-dynamics-adding-operations/2.2.2.als | freddiefujiwara/software-abstractions | 0 | 898 | module tour/addressBook1
sig Name, Addr {}
sig Book {
addr: Name -> lone Addr
}
pred showAdd (b,b': Book, n: Name, a:Addr){
add [b,b',n,a]
#Name.(b.addr) > 1
}
pred add (b,b': Book, n: Name, a:Addr){
b'.addr = b.addr + n -> a
}
run showAdd for 3 but 3 Book
|
src/LibraBFT/Impl/IO/OBM/InputOutputHandlers.agda | LaudateCorpus1/bft-consensus-agda | 0 | 5869 | {- 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.Base.Types
import LibraBFT.Impl.Consensus.Network ... |
Lab05/Task03.asm | PrabalChowdhury/CSE-341-MICROPROCESSOR | 0 | 174979 | .MODEL SMALL
.STACK 100H
.DATA
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
mov ah,1
int 21h
mov bl,al
sub bl,30h
mov ah,1
int 21h
sub al,30h
mov bh,0
SRT:
cmp bh,al
je AB
add dl... |
Lexical Analyzer/LexicalAnalyzer.g4 | MAE776569/cool-compiler | 0 | 2405 | lexer grammar LexicalAnalyzer;
fragment A : [aA];
fragment B : [bB];
fragment C : [cC];
fragment D : [dD];
fragment E : [eE];
fragment F : [fF];
fragment H : [hH];
fragment I : [iI];
fragment L : [lL];
fragment N : [nN];
fragment O : [oO];
fragment P : [pP];
fragment R : [rR];
fragment S : [sS];
fragment T : [tT];
fra... |
oeis/019/A019299.asm | neoneye/loda-programs | 11 | 9881 | <filename>oeis/019/A019299.asm
; A019299: First n elements of Thue-Morse sequence A010059 read as a binary number.
; Submitted by <NAME>
; 1,2,4,9,18,37,75,150,300,601,1203,2406,4813,9626,19252,38505,77010,154021,308043,616086,1232173,2464346,4928692,9857385,19714771,39429542,78859084,157718169,315436338,630872677,1261... |
programs/oeis/157/A157863.asm | neoneye/loda | 22 | 174602 | ; A157863: a(n) = 103680000*n^2 + 28800*n + 1.
; 103708801,414777601,933206401,1658995201,2592144001,3732652801,5080521601,6635750401,8398339201,10368288001,12545596801,14930265601,17522294401,20321683201,23328432001,26542540801,29964009601,33592838401,37429027201,41472576001,45723484801,50181753601,54847382401,5972037... |
oeis/313/A313201.asm | neoneye/loda-programs | 11 | 15054 | <gh_stars>10-100
; A313201: Coordination sequence Gal.5.115.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,4,9,15,19,23,27,33,38,42,46,51,57,61,65,69,75,80,84,88,93,99,103,107,111,117,122,126,130,135,141,14... |
programs/oeis/130/A130883.asm | karttu/loda | 1 | 28297 | <filename>programs/oeis/130/A130883.asm
; A130883: a(n) = 2*n^2 - n + 1.
; 1,2,7,16,29,46,67,92,121,154,191,232,277,326,379,436,497,562,631,704,781,862,947,1036,1129,1226,1327,1432,1541,1654,1771,1892,2017,2146,2279,2416,2557,2702,2851,3004,3161,3322,3487,3656,3829,4006,4187,4372,4561,4754,4951,5152,5357,5566,5779,5996... |
oeis/046/A046095.asm | neoneye/loda-programs | 11 | 178500 | ; A046095: Decimal expansion of Calabi's constant.
; Submitted by <NAME>
; 1,5,5,1,3,8,7,5,2,4,5,4,8,3,2,0,3,9,2,2,6,1,9,5,2,5,1,0,2,6,4,6,2,3,8,1,5,1,6,3,5,9,1,7,0,3,8,0,3,8,8,7,1,9,9,5,2,8,0,0,7,1,2,0,1,1,7,9,2,6,7,4,2,5,5,4,2,5,6,9,5,7,2,9,5,7,6,0,4,5,3,6,1,2,0,2,5,4,3,6
mov $1,1
mov $3,$0
mul $3,3
lpb $3
add $2,... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_679.asm | ljhsiun2/medusa | 9 | 13464 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x9d0d, %r11
clflush (%r11)
nop
nop
nop
sub %rbp, %rbp
movb (%r11), %al
nop
nop
nop
nop
dec %r12
lea addresses_D_ht+0x1630d, %r15
dec %r10
and $0xffffffffffffffc0, %... |
programs/oeis/157/A157610.asm | karttu/loda | 1 | 173358 | <reponame>karttu/loda
; A157610: 29282n^2 - 484n + 1.
; 28799,116161,262087,466577,729631,1051249,1431431,1870177,2367487,2923361,3537799,4210801,4942367,5732497,6581191,7488449,8454271,9478657,10561607,11703121,12903199,14161841,15479047,16854817,18289151,19782049,21333511,22943537,24612127,26339281,28124999,29969281,... |
data/pokemon/base_stats/crobat.asm | AtmaBuster/pokeplat-gen2 | 6 | 247105 | db 0 ; species ID placeholder
db 85, 90, 80, 130, 70, 80
; hp atk def spd sat sdf
db POISON, FLYING ; type
db 90 ; catch rate
db 204 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/crobat/front.dimensions"
db GROWTH_MEDIUM_FAS... |
NorthstarDedicatedTest/audio_asm.asm | r-ex/NorthstarLauncher | 186 | 167064 | <filename>NorthstarDedicatedTest/audio_asm.asm<gh_stars>100-1000
public Audio_GetParentEvent
.code
Audio_GetParentEvent proc
mov rax, r12
ret
Audio_GetParentEvent endp
end |
oeis/208/A208900.asm | neoneye/loda-programs | 11 | 171063 | ; A208900: Number of bitstrings of length n which (if having two or more runs) the last two runs have different lengths.
; Submitted by <NAME>
; 2,2,6,10,26,50,114,226,482,962,1986,3970,8066,16130,32514,65026,130562,261122,523266,1046530,2095106,4190210,8384514,16769026,33546242,67092482,134201346,268402690,536838146,1... |
programs/oeis/313/A313580.asm | neoneye/loda | 22 | 97556 | ; A313580: Coordination sequence Gal.5.111.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.
; 1,5,10,14,19,25,30,34,39,44,49,54,58,63,69,74,78,83,88,93,98,102,107,113,118,122,127,132,137,142,146,151,157,162,166,171,176,181,186,190,195... |
antlr/multiple-exampples/src/main/antlr/com/mageddo/antlr/parser/comment/Comment.g4 | mageddo/java-examples | 19 | 6974 | grammar Comment;
@header {
package com.mageddo.antlr.parser.comment;
}
base
: value
;
value
: comment NL (comment)*
;
comment
: SINGLE_LINE_COMMENT
;
SINGLE_LINE_COMMENT
: '#' (LINE_TEXT)+
;
NL
: '\r'? '\n'
;
fragment LINE_TEXT
: ~ [\r\n] // what which isn't a new line
;
|
drivers/linear_solver_test.adb | sciencylab/lagrangian-solver | 0 | 28741 | <gh_stars>0
with Numerics, Numerics.Sparse_Matrices, Numerics.Sparse_Matrices.CSparse;
use Numerics, Numerics.Sparse_Matrices, Numerics.Sparse_Matrices.CSparse;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers; use Ada.Containers;
procedure Linear_Solver_Test is
use Real_IO, Int_IO, Real_Functions;
Mat... |
examples/AIM6/HelloAgda/Datatypes.agda | asr/agda-kanso | 1 | 8169 | {-
Agda Implementors' Meeting VI
Göteborg
May 24 - 30, 2007
Hello Agda!
<NAME>
-}
-- This is where the fun begins.
-- Unleashing datatypes, pattern matching and recursion.
module Datatypes where
{-
Simple datatypes.
-}
-- Now which dat... |
code/file/load-sheets.asm | abekermsx/skooted | 3 | 860 | <gh_stars>1-10
load_sheets:
call open_file
ret nz
ld de,SKOOTER.SHEETS
ld b,3
load_sheets_loop:
push bc
push de
ld de,load_buffer
ld c,_SETDTA
call BDOSBAS
ld de,fcb
ld hl,2048
ld c,_RDBLK
... |
archive/agda-3/src/Oscar/Data/ProductIndexEquivalence.agda | m0davis/oscar | 0 | 1756 | <gh_stars>0
open import Oscar.Prelude
open import Oscar.Class.HasEquivalence
import Oscar.Data.Constraint
module Oscar.Data.ProductIndexEquivalence where
module _ {𝔬} {𝔒 : Ø 𝔬} {𝔭} {𝔓 : 𝔒 → Ø 𝔭} {ℓ} ⦃ _ : HasEquivalence 𝔒 ℓ ⦄ where
record _≈₀_ (P Q : Σ 𝔒 𝔓) : Ø ℓ where
constructor ∁
field
... |
y2s2/csa/practicals/practical-2/printNumbers.asm | ouldevloper/university | 8 | 165108 | .MODEL SMALL
.STACK 100
.DATA
VAL1 DB 6
VAL2 DB 3
VAL3 DB 4
RESULT DB ?
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV BL,VAL1
MOV BH,VAL2
ADD BL,BH
SUB BL,VAL3
; --- CONVERT NUMBER TO ASCII ---
ADD BL, 30H
MOV RESULT, BL
; --- DISPLAY ASCII
MOV A... |
Cubical/Relation/Binary/Raw/Construct/NonStrictToStrict.agda | bijan2005/univalent-foundations | 0 | 14869 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Relation.Binary.Raw
module Cubical.Relation.Binary.Raw.Construct.NonStrictToStrict
{a ℓ} {A : Type a} (_≤_ : RawRel A ℓ) where
open import Cubical.Relation.Binary.Raw.Properties
open import Cubical.Foundation... |
x86_64/src/09-jmp.nasm | karng87/nasm_game | 0 | 243773 | section .data
msg: db "Hello World!", 0xA
mlen equ $-msg
section .bss
section .text
global main
main:
jmp Begin
mov rax, 0x10
xor rbx, rbx
Begin:
mov rax, 5
PrintHW:
push rax
mov rax, 1
mov rdi... |
LibraBFT/Impl/IO/OBM/Start.agda | oracle/bft-consensus-agda | 4 | 4073 | <filename>LibraBFT/Impl/IO/OBM/Start.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.Impl.Consensus... |
Cats/Displayed.agda | JLimperg/cats | 24 | 6794 | {-# OPTIONS --without-K --safe #-}
module Cats.Displayed where
open import Data.Product using (Σ ; Σ-syntax ; _,_)
open import Level using (_⊔_ ; suc)
open import Relation.Binary using
(Setoid ; IsEquivalence ; Rel ; REL ; _Preserves₂_⟶_⟶_)
open import Cats.Category
record DisplayedCategory {lo la l≈} (C : Catego... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a55b14a.ada | best08618/asylo | 7 | 8947 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a55b14a.ada<gh_stars>1-10
-- A55B14A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U... |
alloy4fun_models/trashltl/models/12/CF775bN4q9xe3HisD.als | Kaixi26/org.alloytools.alloy | 0 | 1654 | <gh_stars>0
open main
pred idCF775bN4q9xe3HisD_prop13 {
always all f : File | always (f in Trash) implies once f in Trash
}
pred __repair { idCF775bN4q9xe3HisD_prop13 }
check __repair { idCF775bN4q9xe3HisD_prop13 <=> prop13o } |
ga_lib/src/ga_utilities.ads | rogermc2/GA_Ada | 3 | 6908 |
with Interfaces;
with GL.Types;
with Blade;
with Blade_Types;
with E3GA;
with GA_Maths;
with Metric;
with Multivectors;
with Multivector_Type;
package GA_Utilities is
use GA_Maths.Float_Array_Package;
function Multivector_Size (MV : Multivectors.Multivector) return Integer;
procedure Print_Bitmap (Name : ... |
programs/oeis/070/A070549.asm | jmorken/loda | 1 | 101881 | <gh_stars>1-10
; A070549: a(n) = Card(k 0<k<=n such that mu(k)=-1).
; 0,1,2,2,3,3,4,4,4,4,5,5,6,6,6,6,7,7,8,8,8,8,9,9,9,9,9,9,10,11,12,12,12,12,12,12,13,13,13,13,14,15,16,16,16,16,17,17,17,17,17,17,18,18,18,18,18,18,19,19,20,20,20,20,20,21,22,22,22,23,24,24,25,25,25,25,25,26,27,27,27,27,28,28,28,28,28,28,29,29,29,29,29... |
Part-2 Submission/CODE-2.asm | asad-n/CSE331L_Section_7_Summer20_NSU_Midterm_1 | 0 | 29567 | .MODEL SMALL
.STACK 64
.DATA
STRING DB ?
SYM DB '$'
INPUT_M DB 0ah,0dh,0AH,0DH,'Enter a string: ',0DH,0AH,'$'
OUTPUT_M DB 0ah,0dh,0AH,0DH,'The string is: ',0DH,0AH,'$'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV DX,OFFSET INPUT_M
MOV AH,09
INT 21H
LEA SI,STRING
... |
mac/get_foregroundapp_info.scpt | albertz/foreground_app_info | 2 | 2503 | <reponame>albertz/foreground_app_info
global frontApp, frontAppName, windowTitle
set windowTitle to ""
tell application "System Events"
set frontApp to first application process whose frontmost is true
set frontAppName to short name of frontApp
try
tell process frontAppName
tell (1st window whose value of attr... |
programs/oeis/092/A092517.asm | karttu/loda | 1 | 163552 | <reponame>karttu/loda<gh_stars>1-10
; A092517: Product of tau-values for consecutive integers.
; 2,4,6,6,8,8,8,12,12,8,12,12,8,16,20,10,12,12,12,24,16,8,16,24,12,16,24,12,16,16,12,24,16,16,36,18,8,16,32,16,16,16,12,36,24,8,20,30,18,24,24,12,16,32,32,32,16,8,24,24,8,24,42,28,32,16,12,24,32,16,24,24,8,24,36,24,32,16,20,5... |
multiloops.asm | rudla/multiloops | 0 | 88743 | ; Multi Loops
;
; (c) 2017 <NAME>
DMA_MISSILES = 1
DMA_PLAYERS = 2
_SYS_PRINT_SIGNED = 0
SCR_WIDTH = 40
SCR_HEIGHT = 25
STATUS_LINE = 26
OWNERHIP_TOP_LINE = 27
OWNERSHIP_BASE = 64
BOARD_WIDTH = 40
BOARD_HEIGHT = 25
PAPER_COLOR = 10
CURSOR0_COLOR = $1c
CURSOR4_COLOR = $0F
STATUS_PAPER_COLO... |
script.asm | LOuroboros/wonder-trade | 1 | 11786 | <reponame>LOuroboros/wonder-trade<filename>script.asm
.include "pokescript.s"
.loadtable "character-encoding.tbl"
@@main:
lock
faceplayer
checkflag 0x200
gotoif 0x1, @@tothepoint
msgbox @@introduction, 0x5
compare LASTRESULT, 0x1
callif 0x1, @@explaining
msgbox @@wanttostart, 0x5
/... |
programs/oeis/337/A337640.asm | neoneye/loda | 22 | 177922 | ; A337640: a(n) = one-half of the number of cells in the central rectangle of the graph described in row 2n+1 of A333288.
; 2,11,35,80,155,266,422,626,890,1223,1625,2108,2678,3341,4109,4988,5990,7106,8348,9734,11264,12953,14801,16820,19019,21389,23957,26717,29663,32834,36230,39860,43712,47795,52139,56726,61598,66746,72... |
applescripts/radium.scpt | bryantebeek/dotfiles | 0 | 1091 | if application "Radium" is running then
tell application "Radium"
set theName to track name
set theStation to station name
set isPlaying to playing
try
if isPlaying then
return "♫ " & theName & "#[fg=colour241] on #[fg=colour14]" & theStation & " "
end if
on error err
end ... |
src/si_units.ads | HeisenbugLtd/si_units | 6 | 12451 | --------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See t... |
programs/oeis/181/A181763.asm | neoneye/loda | 22 | 245819 | <reponame>neoneye/loda
; A181763: a(n) = A061037(n)^2.
; 0,25,9,441,4,2025,225,5929,36,13689,1225,27225,144,48841,3969,81225,400,127449,9801,190969,900,275625,20449,385641,1764,525625,38025,700569,3136,915849,65025,1177225,5184,1490841,104329,1863225,8100,2301289,159201,2812329,12100,3404025,233289,4084441,17424,486202... |
alloy4fun_models/trainstlt/models/8/6einwgA9fcsA6BXdS.als | Kaixi26/org.alloytools.alloy | 0 | 1968 | open main
pred id6einwgA9fcsA6BXdS_prop9 {
always (all t:Train| once(no t.pos => after one t.pos:>Entry) )
}
pred __repair { id6einwgA9fcsA6BXdS_prop9 }
check __repair { id6einwgA9fcsA6BXdS_prop9 <=> prop9o } |
data/baseStats/kadabra.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 95334 | <gh_stars>1-10
db KADABRA ; pokedex id
db 40 ; base hp
db 35 ; base attack
db 30 ; base defense
db 105 ; base speed
db 120 ; base special
db PSYCHIC ; species type 1
db PSYCHIC ; species type 2
db 100 ; catch rate
db 145 ; base exp yield
INCBIN "pic/gsmon/kadabra.pic",0,1 ; 66, sprite dimensions
dw KadabraPicFront
dw K... |
app/src/main.adb | jwarwick/starterkit-ada | 0 | 116 | <gh_stars>0
with Text_IO;
with Ada.Command_Line;
with AWS.Client;
with AWS.Headers;
with AWS.Response;
with AWS.Messages;
use AWS.Messages;
procedure main is
hdrs : AWS.Headers.List := AWS.Headers.Empty_List;
server_url : constant String := Ada.Command_Line.Argument(1);
player_key : constant String := Ada.Comman... |