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 |
|---|---|---|---|---|
Lab5/Example 6.6 Read a character, and if it's an uppercase letter, display it.asm | Deboraj-roy/COMPUTER-ORGANIZATION-AND-ARCHITECTURE-C- | 0 | 172126 | <gh_stars>0
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AH,1
INT 21H
CMP AL, 'A'
JNGE END_IF
CMP AL,'Z'
JNLE END_IF
MOV DL,AL
MOV AH,2
INT 21H
END_IF: ;DOS EXIT
MOV AH,4CH
INT 21H
MAIN ENDP
... |
programs/oeis/266/A266252.asm | karttu/loda | 0 | 87188 | <filename>programs/oeis/266/A266252.asm
; A266252: Total number of OFF (white) cells after n iterations of the "Rule 9" elementary cellular automaton starting with a single ON (black) cell.
; 0,3,6,11,16,22,31,37,50,56,73,79,100,106,131,137,166,172,205,211,248,254,295,301,346,352,401,407,460,466,523,529,590,596,661,667... |
tools/SPARK2005/packages/polypaver/pp_f_rounded.adb | michalkonecny/polypaver | 1 | 8355 | <gh_stars>1-10
-- This file cannot be processed by the SPARK Examiner.
with Ada.Numerics,
Ada.Numerics.Elementary_Functions;
package body PP_F_Rounded is
function Plus (Prec : Integer; X,Y : Float) return Float is
begin
return X+Y;
end Plus;
function Minus (Prec : Integer; X,Y : Float) return F... |
oeis/133/A133283.asm | neoneye/loda-programs | 11 | 90261 | <filename>oeis/133/A133283.asm
; A133283: Numbers n such that 30*n^2 + 6 is a square.
; Submitted by <NAME>
; 1,23,505,11087,243409,5343911,117322633,2575754015,56549265697,1241508091319,27256628743321,598404324261743,13137638505015025,288429642786068807,6332314502788498729,139022489418560903231,3052162452705551372353,... |
programs/oeis/245/A245402.asm | jmorken/loda | 1 | 161380 | <filename>programs/oeis/245/A245402.asm
; A245402: Number of nonnegative integers with property that their base 7/6 expansion (see A024643) has n digits.
; 7,7,7,7,7,7,7,14,14,14,21,21,28,28,35,42,49,56,63,77,91,105,119,140,161,189,224,259,301,350,413,483,560,651,763,889,1036,1211,1414,1645,1925,2240,2618,3052,3563,415... |
thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_ssse3.asm | N0hbdy/godot | 222 | 161116 | ;
; Copyright (c) 2015 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
boot loader/disk_io.asm | Tomer2003/ro-os | 0 | 19420 | [bits 16]
;DISK IO in real mode 16 bit with bios interrupts
;The function load data from device storage to memory location
; param bx - memory address to load
; param al - how many sectors to read
; param dl - index of storage device to read from
; param dh - index of head to read from
; param ch - index of cylinder t... |
asm/BBCBasic/basic2.asm | jefftranter/6502 | 188 | 5199 | <reponame>jefftranter/6502
; Source for 6502 BASIC II
; BBC BASIC Copyright (C) 1982/1983 Acorn Computer and <NAME>
; Source reconstruction and commentary Copyright (C) J.G.Harston
; Port to CC65 and 6502 SBC by <NAME>
; Define this to build for my 6502 Single Board Computer.
; Comment out to build original code for A... |
scripts/qt7play.applescript | slpopejoy/fadno | 13 | 1621 | <reponame>slpopejoy/fadno<filename>scripts/qt7play.applescript<gh_stars>10-100
#!/usr/bin/osascript
on run(arguments)
set fpath to POSIX path of (first item of arguments)
set AppleScript's text item delimiters to "/"
set fname to text item -1 of fpath
--display dialog fname
tell application "QuickTime P... |
src/core/external/jpeg-6bx/jsimddjg.asm | miahmie/krkrz | 4 | 15347 | ;
; jsimddjg.asm - SIMD instruction support check (for DJGPP V.2)
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with NASM (Netwide Assembler),
; can *not* be assembl... |
packages/cashc/src/grammar/CashScript.g4 | Sydwell/cashscript | 0 | 3244 | <gh_stars>0
grammar CashScript;
sourceFile
: pragmaDirective* contractDefinition EOF
;
pragmaDirective
: 'pragma' pragmaName pragmaValue ';'
;
pragmaName
: 'cashscript'
;
pragmaValue
: versionConstraint versionConstraint?
;
versionConstraint
: versionOperator? VersionLiteral
... |
src/SystemF/WtTerm.agda | sstucki/system-f-agda | 68 | 16645 | ------------------------------------------------------------------------
-- Well-typed polymorphic and iso-recursive lambda terms
------------------------------------------------------------------------
module SystemF.WtTerm where
import Category.Functor as Functor
import Category.Applicative.Indexed as Applicative
o... |
Task/Sorting-algorithms-Cocktail-sort/Ada/sorting-algorithms-cocktail-sort.ada | LaudateCorpus1/RosettaCodeData | 1 | 16182 | <filename>Task/Sorting-algorithms-Cocktail-sort/Ada/sorting-algorithms-cocktail-sort.ada
with Ada.Text_Io; use Ada.Text_Io;
procedure Cocktail_Sort_Test is
procedure Cocktail_Sort (Item : in out String) is
procedure Swap(Left, Right : in out Character) is
Temp : Character := Left;
begin
... |
alloy4fun_models/trashltl/models/15/gNRtijYdPuTNSHrHW.als | Kaixi26/org.alloytools.alloy | 0 | 4986 | <filename>alloy4fun_models/trashltl/models/15/gNRtijYdPuTNSHrHW.als
open main
pred idgNRtijYdPuTNSHrHW_prop16 {
historically Protected = Protected
}
pred __repair { idgNRtijYdPuTNSHrHW_prop16 }
check __repair { idgNRtijYdPuTNSHrHW_prop16 <=> prop16o } |
oeis/153/A153218.asm | neoneye/loda-programs | 11 | 26210 | ; A153218: Numbers n such that 6n + 7 is prime.
; Submitted by <NAME>
; 0,1,2,4,5,6,9,10,11,12,15,16,17,20,22,24,25,26,29,31,32,34,36,37,39,44,45,46,50,51,54,55,57,60,61,62,65,67,69,71,72,75,76,80,82,86,89,90,94,95,99,100,101,102,104,106,109,111,114,117,120,121,122,124,125,127,130,134,136,137,141,142,145,146,150,152,15... |
test/asm_exe/complete.asm | nigelperks/BasicAssembler | 0 | 22303 | IDEAL
SEGMENT image
ASSUME CS:image, DS:image, SS:image, ES:image
start:
;*************** OPCODES WITH NO EXPLICIT OPERANDS ***************
aaa
aad
aam
aas
cbw
clc
cld
cli
cmc
cmpsb
cmpsw
cwd
daa
das
hlt
iret
lahf
lodsb
lods... |
tools/scitools/conf/understand/ada/ada05/s-tasdeb.ads | brucegua/moocos | 1 | 15636 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
programs/oeis/124/A124297.asm | neoneye/loda | 22 | 24082 | <gh_stars>10-100
; A124297: a(n) = 5*F(n)^2 + 5*F(n) + 1, where F(n) = Fibonacci(n).
; 1,11,11,31,61,151,361,911,2311,5951,15401,40051,104401,272611,712531,1863551,4875781,12760031,33398201,87424711,228859951,599129311,1568486161,4106261531,10750188961,28144128251,73681909211,192901135711,505020747661,1322159893351,346... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_440.asm | ljhsiun2/medusa | 9 | 23694 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xbd4e, %r9
nop
nop
and %r13, %r13
movb $0x61, (%r9)
nop
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_WT_ht+0x19a6c, %rsi
lea addresses_UC_ht+0x4476, %rdi
clflush (%rdi)
nop
no... |
Definition/LogicalRelation/Substitution/Reducibility.agda | Vtec234/logrel-mltt | 0 | 11940 | <filename>Definition/LogicalRelation/Substitution/Reducibility.agda
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Reducibility {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyp... |
vendor/stdlib/src/Category/Monad.agda | isabella232/Lemmachine | 56 | 379 | ------------------------------------------------------------------------
-- Monads
------------------------------------------------------------------------
-- Note that currently the monad laws are not included here.
module Category.Monad where
open import Data.Function
open import Category.Monad.Indexed
open import... |
scaled.applescript | SeungwooChoe/macOS-display-scale-option-modifier | 0 | 2617 | tell application "System Preferences"
reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
end tell
tell application "System Events" to tell process "System Preferences"
click radio button "Scaled" of tab group 1 of window "<Input target display name here>"
select row <Input option number here>... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_211.asm | ljhsiun2/medusa | 9 | 103886 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xddd4, %rsi
lea addresses_UC_ht+0x8b50, %rdi
nop
nop
nop
add $46414, %rdx
mov $123, %rcx
rep movsw
nop
nop
dec %r15
lea addresses_D_ht+0x411c, %rcx
nop
and %rdi, %rdi
movb (%... |
Cycle_computations.ads | Louis-Aime/Milesian_calendar_Ada | 0 | 7324 | -- Cycle computations
-- A variant to the integer division, where the number of cycles and the phase
-- within the cycle are computed and returned by single function.
-- In these functions, the remainder (the phase) is always non-negative.
-- Decompose_cycle is the standard operation;
-- Decompose_cycle_ceiled is appro... |
homework/Mult.asm | hanhha/Nand2Tetris | 0 | 4349 | // Nand2Tetris course
// Multiples R0 and R1, store result in R2
// Multipling by adding R0 to itself R2 times
@ R2
M = 0 // R2 = 0
@ R1
D = M
@ END
D; JEQ // Finish if R1 = 0 ( multiples R0 to 0 )
(CONT)
@ R0
D = M // D = R0
@ R2
M = D + M // R2 = R2 + D (<=> R2 = R2 + R0)
@ R1
MD = M... |
alloy4fun_models/trashltl/models/4/AgNAD3pvnYQmLp654.als | Kaixi26/org.alloytools.alloy | 0 | 3391 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idAgNAD3pvnYQmLp654_prop5 {
eventually some File & Trash
}
pred __repair { idAgNAD3pvnYQmLp654_prop5 }
check __repair { idAgNAD3pvnYQmLp654_prop5 <=> prop5o } |
experiments/test-suite/farmer.als | saiema/ARepair | 5 | 3760 | open util/ordering [State] as ord
-- Manually created tests.
pred test1001 {
some disj Farmer0: Farmer {some disj Fox0: Fox {some disj Chicken0: Chicken {some disj Grain0: Grain {some disj Farmer0, Fox0, Chicken0, Grain0: Object {some disj State0, State1, State2, State3: State {
Farmer = Farmer0
Fox = Fox0
Chicken = ... |
Cubical/Core/Glue.agda | cj-xu/cubical | 0 | 8223 | <reponame>cj-xu/cubical<filename>Cubical/Core/Glue.agda
{-
This file contains:
- Definitions equivalences
- Glue types
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.Core.Glue where
open import Cubical.Core.Primitives
open import Agda.Builtin.Cubical.Glue public
using ( isEquiv -- ∀ {ℓ ℓ'} {A : Type ℓ... |
source/rom10/r10_maps_ul.asm | evanbowman/Red | 5 | 241800 | ;; generated by encode_room_layouts.py
r10_room_data_ul::
;;0.json
DB $0e, $0e, $0e, $0e, $0e, $08, $39, $39, $39, $39, $02, $0e, $0e, $0e, $0e, $0e, $0e, $0e, $0a, $0a, $08, $39, $39, $39, $39, $39, $39, $06, $0e, $0e, $0e, $0e, $0e, $0c, $39, $11, $11, $11, $11, $11, $3a, $3a, $11, $11, $11, $11, $11, $11, $0e, $0c,... |
source/oasis/program-elements-delta_constraints.ads | optikos/oasis | 0 | 11279 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Constraints;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Delta_Constr... |
tools-src/gnu/gcc/gcc/ada/gnatfind.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 10384 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
data/maps/objects/SSAnneCaptainsRoom.asm | opiter09/ASM-Machina | 1 | 170916 | SSAnneCaptainsRoom_Object:
db $c ; border block
def_warps
warp 0, 7, 8, SS_ANNE_2F
def_signs
sign 4, 1, 2 ; SSAnne7Text2
sign 1, 2, 3 ; SSAnne7Text3
def_objects
object SPRITE_CAPTAIN, 4, 2, STAY, UP, 1 ; person
def_warps_to SS_ANNE_CAPTAINS_ROOM
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w55.asm | prismotizm/gigaleak | 0 | 5177 | Name: ys_w55.asm
Type: file
Size: 24553
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: 478CAC0F032C4EA8BFFE9BCABFC3683C8B1C52AE
Description: null
|
_build/dispatcher/jmp_ippsSHA256MessageDigest_51189a3d.asm | zyktrcn/ippcp | 1 | 246502 | <filename>_build/dispatcher/jmp_ippsSHA256MessageDigest_51189a3d.asm
extern m7_ippsSHA256MessageDigest:function
extern n8_ippsSHA256MessageDigest:function
extern y8_ippsSHA256MessageDigest:function
extern e9_ippsSHA256MessageDigest:function
extern l9_ippsSHA256MessageDigest:function
extern n0_ippsSHA256MessageDigest:fu... |
ffight/lcs/boss/30.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 164843 | copyright zengfr site:http://github.com/zengfr/romhack
003AFA move.w ($6,A1), ($30,A6) [1p+2A, 1p+2C, boss+2A, boss+2C, container+2A, container+2C, enemy+2A, enemy+2C, weapon+2A, weapon+2C]
003B00 rts [1p+30, boss+30, container+30, enemy+30, weapon+30]
003B34 move.w ($6,A1), ($30,A6) [1p+2A, 1p+2C, boss+2A, boss+... |
lab3_test_harness/test/state_data_in/2.asm | Zaydax/PipelineProcessor | 2 | 29717 | .ORIG x1234
AND R1, R1, R1
AND R2, R2, R2
AND R3, R3, R3
AND R4, R4, R4
AND R5, R5, R5
.END
|
oeis/093/A093821.asm | neoneye/loda-programs | 11 | 163291 | <reponame>neoneye/loda-programs
; A093821: Decimal expansion of (2*(3 - sqrt(3)))/3.
; Submitted by <NAME>
; 8,4,5,2,9,9,4,6,1,6,2,0,7,4,8,4,7,0,9,8,1,7,0,2,4,3,8,9,9,6,0,8,5,0,8,8,7,0,4,7,9,6,4,9,7,4,5,9,7,4,6,2,4,7,9,6,2,7,9,5,3,4,7,0,3,2,0,4,4,6,5,5,3,9,4,1,3,3,3,0,8,6,1,2,5,6,9,2,0,8,8,2,8,5,0,0,9,4,9,5
seq $0,246... |
unittests/ASM/SecondaryModRM/Reg_7_4.asm | fengjixuchui/FEX | 0 | 24459 | <filename>unittests/ASM/SecondaryModRM/Reg_7_4.asm
%ifdef CONFIG
{
"RegData": {
"RBX": "0x0"
}
}
%endif
; Starting address to store to
mov rax, 0xe8000000
; Set up the cacheline with garbage
mov rbx, 0x4142434445464748
mov [rax + 8 * 0], rbx
mov [rax + 8 * 1], rbx
mov [rax + 8 * 2], rbx
mov [rax + 8 * 3], rbx... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_248.asm | ljhsiun2/medusa | 9 | 104916 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x11b03, %rsi
lea addresses_WC_ht+0x5fb3, %rdi
nop
nop
nop
dec %r8
mov $9, %rcx
rep movsb
nop
nop
and $61662, %r10
lea addresses_A_ht+0x14583, %r8
nop
nop
sub %r12, %r12
mov $0x... |
Cubical/Algebra/Group/Instances/Unit.agda | thomas-lamiaux/cubical | 1 | 2071 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Instances.Unit where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Data.Unit
open impor... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshc_pxy2aaddr.asm | Frodevan/z88dk | 640 | 83301 | ; void *tshc_pxy2aaddr(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_pxy2aaddr
EXTERN asm_tshc_pxy2aaddr
tshc_pxy2aaddr:
pop af
pop hl
push hl
push af
jp asm_tshc_pxy2aaddr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_pxy2aaddr
defc _tshc_pxy2aaddr = tshc_pxy2aaddr
ENDI... |
zsnes.asm | youngkingtut/z3randomizer | 1 | 170234 | ;--------------------------------------------------------------------------------
CheckZSNES:
SEP #$28
LDA #$FF
CLC
ADC #$FF
CMP #$64
CLD
BEQ .zsnes
REP #$20
LDA #$01FF : TCS ; thing we wrote over - initialize stack
JML.l ReturnCheckZSNES
.zsnes
; Set up video mode
SEP #$30 ; ... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_resetPauseRequest.asm | jpoikela/z88dk | 640 | 247310 | ; void SMS_resetPauseRequest(void)
SECTION code_clib
SECTION code_SMSlib
PUBLIC SMS_resetPauseRequest
EXTERN asm_SMSlib_resetPauseRequest
defc SMS_resetPauseRequest = asm_SMSlib_resetPauseRequest
|
tests/remote_node_test.adb | jonashaggstrom/ada-canopen | 6 | 8714 | with AUnit.Assertions; use AUnit.Assertions;
with Ada.Real_Time;
with ACO.Drivers.Dummy;
with ACO.CANopen;
with ACO.Nodes.Locals;
with ACO.Nodes.Remotes;
with ACO.OD.Example;
with ACO.OD_Types;
with ACO.OD_Types.Entries;
with ACO.Messages;
with ACO.States;
with ACO.SDO_Sessions;
with ACO.Configuration;
package body ... |
oeis/000/A000911.asm | neoneye/loda-programs | 11 | 10708 | ; A000911: a(n) = (2n+3)! /( n! * (n+1)! ).
; 6,60,420,2520,13860,72072,360360,1750320,8314020,38798760,178474296,811246800,3650610600,16287339600,72129646800,317370445920,1388495700900,6044040109800,26190840475800,113034153632400,486046860619320,2083057974082800,8900338616535600,37923181931325600,161173523208133800,68... |
stage4/graphics_circle_algorithm.asm | amrwc/8086-graphics | 5 | 97854 | <gh_stars>1-10
; Circle drawing implementation of Bresenham's line drawing algorithm.
;
; void plotCircle(int xm, int ym, int r)
; {
; int x = -r, y = 0, err = 2-2*r; /* II. Quadrant */
; do {
; setPixel(xm-x, ym+y); /* I. Quadrant */
; setPixel(xm-y, ym-x); ... |
src/x86/itx_ssse3.asm | xrmx/rav1e | 1 | 160997 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copy... |
Src/redirector.ads | SMerrony/dashera | 23 | 2251 | -- Copyright (C)2021,2022 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, dist... |
programs/oeis/043/A043290.asm | karttu/loda | 0 | 23444 | ; A043290: Maximal run length in base 16 representation of n.
; 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,... |
src/main/fragment/mos6502-selfmod/_deref_(qbuz1_derefidx_vbuyy)=vbuaa.asm | jbrandwood/kickc | 2 | 10902 | pha
lda ({z1}),y
sta !+ +1
iny
lda ({z1}),y
sta !+ +2
pla
!: sta $ffff
|
tests/snippets/numeric_addresses.asm | fredmorcos/hackism | 1 | 87506 | @123
@5566
|
src/Schedule.agda | peterthiemann/definitional-session | 9 | 15578 | <filename>src/Schedule.agda
module Schedule where
open import Data.Bool
open import Data.Fin
open import Data.Empty
open import Data.List
open import Data.List.All
open import Data.Maybe
open import Data.Nat
open import Data.Product
open import Data.Sum
open import Data.Unit
open import Function using (_$_)
open impor... |
generated/natools-static_maps-web-sites-commands.adb | faelys/natools-web | 1 | 4691 | <gh_stars>1-10
with Interfaces; use Interfaces;
package body Natools.Static_Maps.Web.Sites.Commands is
P : constant array (0 .. 3) of Natural :=
(1, 8, 12, 14);
T1 : constant array (0 .. 3) of Unsigned_8 :=
(10, 1, 30, 27);
T2 : constant array (0 .. 3) of Unsigned_8 :=
(17, 10, 22, 38);
... |
P6/P6Judger - 100 testpoints/testpoint/testpoint61.asm | flyinglandlord/BUAA-CO-2021 | 5 | 100375 | ori $1, $0, 0
ori $2, $0, 15
ori $3, $0, 10
ori $4, $0, 0
sw $3, 0($0)
sw $2, 4($0)
sw $2, 8($0)
sw $2, 12($0)
sw $3, 16($0)
sw $1, 20($0)
sw $3, 24($0)
sw $2, 28($0)
sw $4, 32($0)
sw $1, 36($0)
sw $3, 40($0)
sw $1, 44($0)
sw $2, 48($0)
sw $4, 52($0)
sw $4, 56($0)
sw $3, 60($0)
sw $1, 64($0)
sw $3, 68($0)
sw $3, 72($0)... |
bddisasm_test/avx/f16c_64.asm | andreaswimmer/bddisasm | 675 | 86328 | <filename>bddisasm_test/avx/f16c_64.asm
bits 64
vcvtph2ps xmm7,xmm13
vcvtph2ps ymm7,xmm13
vcvtps2ph xmm13,xmm7,10
vcvtps2ph xmm13,ymm7,10
vcvtph2ps xmm7,[rbx]
vcvtph2ps ymm7,[rbx]
vcvtps2ph [rbx],xmm7,10
... |
src/main/antlr4/yaal/yaal.g4 | bolilla/yaal | 4 | 5427 | <reponame>bolilla/yaal<gh_stars>1-10
/**
* YAAL Grammar
*/
grammar yaal;
options {
language = Java;
}
/**There is only one policy, which is composed by one or more rules*/
policy
:
'policy' ID
(
'(' combining_algo ')'
)? 'begin' pol_rule+ 'end'
;
/**How to decide which rule to ... |
assembler/forth/bus.asm | MRebhan/RetroComputers-XC8010 | 2 | 19406 | dcode BA!,3,,BUS_SETADDR ; ( addr -- )
pla
mmu $00
nxt
dcode BA@,3,,BUS_GETADDR ; ( -- addr )
mmu $80
pha
nxt
dcode BW!,3,,BUS_SETWIN ; ( win -- )
pla
mmu $01
nxt
dcode BW@,3,,BUS_GETWIN ; ( win -- )
mmu $81
pha
nxt
... |
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_append_block_callee.asm | meesokim/z88dk | 0 | 81553 |
; void *b_array_append_block_callee(b_array_t *a, size_t n)
SECTION code_adt_b_array
PUBLIC _b_array_append_block_callee, l0_b_array_append_block_callee
EXTERN error_zc
_b_array_append_block_callee:
pop af
pop hl
pop de
push af
l0_b_array_append_block_callee:
call asm_b_array_append_block
ret... |
Ada/src/Problem_55.adb | Tim-Tom/project-euler | 0 | 17798 | with Ada.Text_IO;
with BigInteger;
package body Problem_55 is
package IO renames Ada.Text_IO;
type Lychrel is (Unknown, True, False);
Is_Lychrel_Cache : Array (Long_Long_Integer range 1 .. 10_000) of Lychrel := (others => Unknown);
function Reverse_String(input : string) return String is
result : stri... |
maps/TVStation4F.asm | AtmaBuster/pokeplat-gen2 | 6 | 92778 | <reponame>AtmaBuster/pokeplat-gen2
object_const_def ; object_event constants
TVStation4F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TVStation4F_MottoWomanScript:
jumptextfaceplayer .Text
.Text:
text "“Participation for"
line "all” is our TV"
cont "network's motto."
done
TVStation4F_ThemeWomanScript:
... |
programs/oeis/320/A320431.asm | neoneye/loda | 22 | 12208 | ; A320431: The number of tiles inside a regular n-gon created by lines that run from each of the vertices of the n edges orthogonal to these edges.
; 1,1,31,13,71,25,127,41,199,61,287,85,391,113,511,145,647,181,799,221,967,265,1151,313,1351,365,1567,421,1799,481,2047,545,2311,613,2591,685,2887,761,3199,841,3527,925,387... |
programs/oeis/262/A262302.asm | neoneye/loda | 22 | 96533 | <filename>programs/oeis/262/A262302.asm<gh_stars>10-100
; A262302: Rainbow index for n-th odd prime.
; 3,4,4,5,5,6,6,6,6,6,6,6,6
sub $0,7
mov $1,-1
trn $1,$0
div $1,-2
add $1,6
mov $0,$1
|
programs/oeis/242/A242602.asm | jmorken/loda | 1 | 172367 | ; A242602: Integers repeated thrice in a canonical order.
; 0,0,0,1,1,1,-1,-1,-1,2,2,2,-2,-2,-2,3,3,3,-3,-3,-3,4,4,4,-4,-4,-4,5,5,5,-5,-5,-5,6,6,6,-6,-6,-6,7,7,7,-7,-7,-7,8,8,8,-8,-8,-8,9,9,9,-9,-9,-9,10,10,10,-10,-10,-10,11,11,11,-11,-11,-11,12,12,12,-12,-12,-12,13,13,13,-13,-13,-13,14,14,14,-14,-14,-14
mul $0,2
div ... |
Octavo/Assembler/benchmarks/hailstone-arrays/hailstone-arrays.asm | laforest/Octavo | 63 | 245342 |
# Assembly code for Hailstone benchmark and initial test
# If x is odd, x = (3x+1)/2, else x = x / 2
# Rough syntax: if the first word is not a recognized command, it's a label for
# the next word, which is a command, followed by its arguments.
# Common library of definitions
include ../common/opcodes.asm
include ..... |
Practica 03/Planificador_Ciclico_Con_Prioridades/src/planificador_ciclico_con_prioridades.adb | dpr1005/Tiempo-Real-Ejercicios | 0 | 6918 | with Ada.Text_IO, Ada.Calendar, System;
use Ada.Text_IO, Ada.Calendar, System;
procedure Planificador_Ciclico_Con_Prioridades is
Comienzo : Time := Clock; -- hora de comienzo
-- Tarea principal
task Principal is
entry Ejecutar (Id: in Integer; Tiempo : in Integer);
end Principal;
task body Prin... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_19193_1363.asm | ljhsiun2/medusa | 9 | 240506 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rdx
lea addresses_D_ht+0x1c289, %r10
nop
nop
and %rdx, %rdx
movw $0x6162, (%r10)
nop
nop
nop
nop
inc %r8
lea addresses_WT_ht+0x8fd1, %r11
nop
sub $57677, %rbp
movups (%r11), %xmm2
vpext... |
oeis/061/A061253.asm | neoneye/loda-programs | 11 | 19177 | ; A061253: Let G_n be the elementary Abelian group G_n = (C_3)^n; a(n) is the number of times the number 1 appears in the character table of G_n.
; 5,33,261,2241,19845,177633,1595781,14353281,129153285,1162300833,10460471301,94143533121,847289672325,7625600673633,68630386930821,617673424981761,5559060652648965,50031545... |
simple_http-rfc_3986.ads | annexi-strayline/ASAP-Simple_HTTP | 0 | 13650 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Simple HTTP --
-- ... |
notes/FOT/FOTC/TypeClasses/EqualityInstanceArguments.agda | asr/fotc | 11 | 4533 | ------------------------------------------------------------------------------
-- Note on the equality type class using instance arguments
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --n... |
agda-stdlib-0.9/src/Data/Star/Decoration.agda | qwe2/try-agda | 1 | 5274 | <reponame>qwe2/try-agda<gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Decorated star-lists
------------------------------------------------------------------------
module Data.Star.Decoration where
open import Data.Star
open import Relation.B... |
Sopa_Letras.asm | EduardaSRBastos/Assembly-2020 | 0 | 12610 | <filename>Sopa_Letras.asm<gh_stars>0
name "Sopa_Letras"
org 100h
;<NAME> - 70647
;<NAME> - 70650
;mostrar sopa de letras
mov ah, 9
lea dx, linha1
int 21h
mov ah, 9
lea dx, linha2
int 21h
mov ah, 9
lea dx, linha3
int 21h
mov ah, 9
lea dx, linha4
int 21h
mov ah, 9
lea dx, linha5
int 21h
mov ah, 9
lea dx, li... |
Code/prog1.asm | AdrianSchneble/reaction-game-8051 | 0 | 85550 | ;ABLAUFSTEUERUNG
;---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Init:
;SET STATE=11
State EQU 10
MOV State, #11B
left EQU 08.0
MOV left,#0
right EQU 08.1
MOV right,#0
right... |
Definition/Conversion/Lift.agda | Vtec234/logrel-mltt | 0 | 2640 | {-# OPTIONS --without-K --safe #-}
module Definition.Conversion.Lift where
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Typed.Properties
open import Definition.Typed.EqRelInstance
open import Definit... |
programs/oeis/107/A107078.asm | neoneye/loda | 22 | 28140 | <gh_stars>10-100
; A107078: Whether n has non-unitary prime divisors.
; 0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,1,0,1,0,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,1,1
seq $0,8833 ; Largest square dividing n.
min $0... |
src/firmware/Platform/Motor/Stop.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 95053 | #include "Platform.inc"
#include "FarCalls.inc"
#include "Adc.inc"
#include "Motor.inc"
#include "States.inc"
radix decimal
Motor code
global stopMotor
stopMotor:
; TODO: IF MOTOR ALREADY STOPPED (IE. PSTRCON & STR{A,B} == 0), DON'T
; BOTHER TRYING TO SOFT-STOP...
.safelySetBankFor motorStateAfterStopped
... |
experiments/tests/cd.als | kaiyuanw/ASketch | 1 | 990 | pred test1 {
some disj Object0: Object {some disj Object0, Class0: Class {
Object = Object0
Class = Object0 + Class0
no ext
Acyclic[]
}}
}
run test1
pred test2 {
some disj Object0: Object {some disj Object0: Class {
Object = Object0
Class = Object0
no ext
Acyclic[]
}}
}
run test2
pred test3 {
some disj Object0: Objec... |
testsuite/tests/T618-047__Ada_2012/pck_2012.ads | AdaCore/style_checker | 2 | 14602 | ------------------------------------------------------------------------------
-- Copyright (C) 2003-2006, AdaCore --
package P is
type Point is tagged
record
X, Y : Float := 0.0;
end record;
function Is_At_Origin (P : Point) return Boolean is
(P... |
libsrc/newbrain/zcall.asm | meesokim/z88dk | 0 | 167798 | <filename>libsrc/newbrain/zcall.asm
;
; Grundy Newbrain Specific libraries
;
; <NAME> - 19/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; This function is linked only in the non-CP/M version
; it calls the ROM functions via the standard rst entry
;
; - - - - - - - - - - - - - - - - - - - ... |
source/s-finmas.ads | ytomino/drake | 33 | 14612 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Finalization;
with System.Storage_Elements;
with System.Storage_Pools;
private with System.Storage_Barriers;
package System.Finalization_Masters is
pragma Preelaborate;
type Finalize_Address_Ptr is access... |
test/Succeed/Issue2637.agda | shlevy/agda | 2 | 1541 | <filename>test/Succeed/Issue2637.agda
-- Andreas, 2017-07-11, issue #2637, reported by nad.
--
-- This error was triggered by a meta m in a constraint UnBlock m
-- which is solved to infinity by the size solver.
-- The constraint printer did not expect such a situation
-- and crashed when printing the UnBlock constrai... |
src/ini_file_manager.adb | kraileth/ravenadm | 18 | 10983 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with File_Operations;
with Ada.Characters.Latin_1;
with Ada.Directories;
with Ada.Exceptions;
with Ada.Text_IO;
package body INI_File_Manager is
package EX renames Ada.Exceptions;
package LAT renames Ada.C... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-fore_f.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 8118 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/regex.agda | shinji-kono/automaton-in-agda | 0 | 7227 | module regex where
data Regex ( Σ : Set) : Set where
ε : Regex Σ -- empty
φ : Regex Σ -- fail
_* : Regex Σ → Regex Σ
_&_ : Regex Σ → Regex Σ → Regex Σ
_||_ : Regex Σ → Regex Σ → Regex Σ
<_> : Σ → Regex Σ
infixr 40 _&_ _||_
|
oeis/017/A017358.asm | neoneye/loda-programs | 11 | 90906 | <reponame>neoneye/loda-programs<filename>oeis/017/A017358.asm
; A017358: a(n) = (10*n + 7)^6.
; 117649,24137569,387420489,2565726409,10779215329,34296447249,90458382169,208422380089,433626201009,832972004929,1500730351849,2565164201769,4195872914689,6611856250609,10090298369529,14976071831449,21691961596369,30749609024... |
oeis/313/A313024.asm | neoneye/loda-programs | 11 | 84385 | <reponame>neoneye/loda-programs
; A313024: Coordination sequence Gal.6.119.4 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,4,9,14,18,22,26,30,34,39,44,48,52,57,62,66,70,74,78,82,87,92,96,100,105,110,114,... |
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DDLStatement.g4 | azexcy/shardingsphere | 0 | 883 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
oeis/021/A021139.asm | neoneye/loda-programs | 11 | 26757 | <gh_stars>10-100
; A021139: Decimal expansion of 1/135.
; Submitted by <NAME>
; 0,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7,4,0,7
trn $0,1
mod $0,3
add $0,1
mul $0,27
sub ... |
src/file_utils.adb | psyomn/ash | 11 | 9794 | -- Copyright 2019 <NAME> (psyomn)
--
-- 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 agree... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_4549_1831.asm | ljhsiun2/medusa | 9 | 82185 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xbd18, %rcx
nop
nop
add $36775, %r9
movl $0x61626364, (%rcx)
nop
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_normal_ht+0xad10, %r8
nop
nop
dec %rcx
mov $0x6162636465666768, %rd... |
Cubical/Algebra/Group/Base.agda | ayberkt/cubical | 0 | 14317 | <reponame>ayberkt/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.SIP
open import Cubical.Data.Sigma
open import Cubical.Data.Int renaming (_+_ to _+Int_ ; _-_ to _-Int_)
open import Cubical.Data.... |
programs/oeis/311/A311289.asm | jmorken/loda | 1 | 171927 | <reponame>jmorken/loda
; A311289: Coordination sequence Gal.5.107.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,4,8,12,16,21,26,30,34,38,42,46,50,54,58,63,68,72,76,80,84,88,92,96,100,105,110,114,118,122,126,130,134,138,142,147,... |
sh.asm | AlonYeroushalmi/Assignment_1 | 0 | 173930 | <reponame>AlonYeroushalmi/Assignment_1
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
libsrc/gfx/narrow/getsprite.asm | ahjelm/z88dk | 640 | 84900 | <reponame>ahjelm/z88dk
;
; Getsprite - Picks up a sprite from display with the given size
; by <NAME> - Jan 2001
; Apr 2002 - Fixed. (Long time, I know...)
;
; The original putsprite code is by <NAME> (TI 85)
;
; Generic version (just a bit slow)
;
;
; $Id: getsprite.asm $
;
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SE... |
3-mid/opengl/source/lean/model/opengl-model-any.adb | charlie5/lace | 20 | 14030 | <reponame>charlie5/lace
with
openGL.Primitive.short_indexed,
openGL.Primitive. indexed,
openGL.Primitive. long_indexed,
openGL.Geometry.lit_textured,
openGL.Geometry.lit_colored_textured_skinned,
openGL.Texture,
openGL.Palette,
openGL.IO.wavefront,
openGL.IO.collada,... |
data/pokemon/dex_entries/kakuna.asm | Dev727/ancientplatinum | 28 | 1136 | <gh_stars>10-100
db "COCOON@" ; species name
dw 200, 220 ; height, weight
db "Nearly incapable"
next "of movement, it"
next "leans against"
page "stout trees while"
next "waiting for its"
next "evolution.@"
|
repositories-cache.ads | annexi-strayline/AURA | 13 | 8968 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- Reference Implementation --
-- ... |
libsrc/_DEVELOPMENT/time/c/sccz80/compare_dostm_callee.asm | jpoikela/z88dk | 38 | 18167 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/time/c/sccz80/compare_dostm_callee.asm
; int compare_dostm(struct dos_tm *a, struct dos_tm *b)
SECTION code_time
PUBLIC compare_dostm_callee
EXTERN asm_compare_dostm
compare_dostm_callee:
pop hl
pop bc
ex (sp),hl
jp asm_compare_dostm
|
libkbd.asm | silentenemy/asmbrain | 6 | 98273 | <reponame>silentenemy/asmbrain
check_for_keystroke:
mov ah, 01h
int 16h
ret
flush_kbd_buffer:
mov ah, 0
int 16h
ret
handle_code_input:
push ax
call check_for_keystroke
jz .end
mov bl, 0Fh
cmp al, 08h ; is this a backspace
jz .backspace
cmp al, 0Dh ; is this enter
jz .enter
call add_symbol
.flus... |
src/lib/Readable_Sequences/Backup-2022-04-13/readable_sequences-generic_sequences.adb | fintatarta/protypo | 0 | 23638 | <filename>src/lib/Readable_Sequences/Backup-2022-04-13/readable_sequences-generic_sequences.adb
pragma Ada_2012;
package body Readable_Sequences.Generic_Sequences is
------------------
-- Set_Position --
------------------
procedure Set_Position (Seq : in out Sequence;
Pos : Curso... |
linear_algebra/banded_lu_demo_1.adb | jscparker/math_packages | 30 | 21206 | <reponame>jscparker/math_packages
-- Tests LU decomposition on a real valued banded matrix.
--
-- Shows how interative refinement can clean up the mess when no
-- pivoting is used in LU decomposition. Also shows that iterative
-- refinement is ineffective if the problem is ill-conditioned.
-- (Pivoting doesn't solv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.