text stringlengths 1 1.05M |
|---|
; A059304: a(n) = 2^n * (2*n)! / (n!)^2.
; 1,4,24,160,1120,8064,59136,439296,3294720,24893440,189190144,1444724736,11076222976,85201715200,657270374400,5082890895360,39392404439040,305870434467840,2378992268083200,18531097667174400,144542561803960320,1128808577897594880,8825230699926650880,69067022868991180800,54102501... |
; PROLOGUE(mpn_mul_1)
; Version 1.0.3.
;
; Copyright 2008 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as publishe... |
;
; CP/M 1.4 boot sector for Python emulator
;
msize equ 64 ;cp/m version memory size in kilobytes
;
; "bias" is address offset from 3400H for memory systems
; than 16K (referred to as "b" throughout the text).
;
bias equ (msize-16)*1024
ccp equ bias+2900h ;base of ccp
bdos equ bias+3106h ;base of bdos
bios equ msize*1... |
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "util.h"
#include <cctype>
#include <cinttypes>
#include <cstring>
#include "lib/fxl/logging.h"
#include "lib/fxl/strings/string_number_conversi... |
; A063717: a(n) is the greatest divisor of n^2 that is less than n.
; Submitted by Christian Krause
; 1,1,2,1,4,1,4,3,5,1,9,1,7,9,8,1,12,1,16,9,11,1,18,5,13,9,16,1,25,1,16,11,17,25,27,1,19,13,32,1,36,1,22,27,23,1,36,7,25,17,26,1,36,25,49,19,29,1,50,1,31,49,32,25,44,1,34,23,50,1,64,1,37,45,38,49,52,1,64,27,41,1,72,25,43... |
sendBufferAsm:
push {r4,r5,r6,r7,lr}
mov r4, r0 ; save buff
mov r6, r1 ; save pin
mov r0, r4
bl BufferMethods::length
mov r5, r0
mov r0, r4
bl BufferMethods::getBytes
mov r4, r0
; setup pin as digital
mov r0, r6
movs r1, #0
bl pins::digitalWritePi... |
; A088828: Nonsquare positive odd numbers.
; 3,5,7,11,13,15,17,19,21,23,27,29,31,33,35,37,39,41,43,45,47,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,123,125,127,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,171,173,175... |
; A134919: Floor(n^(5/3)).
; 1,3,6,10,14,19,25,32,38,46,54,62,71,81,91,101,112,123,135,147,159,172,186,199,213,228,243,258,273,289,305,322,339,356,374,392,410,429,448,467,487,507,527,548,569,590,612,633,656,678,701,724,747,771,795,819,844,869,894,919,945,971,997,1024,1050,1077,1105,1132,1160,1188,1217,1246,1275,1304,13... |
#ifndef SCENE_H
#define SCENE_H
#include <vector>
#include <iostream>
#include <chrono>
#include <thread>
#include <algorithm>
#include "Utility.hpp"
#include "Camera.hpp"
#include "Ray.hpp"
#include "Vector3.hpp"
#include "ImageWriter.hpp"
#include "Material.hpp"
#include "EntityList.hpp"
#include "entities/Sphere.h... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/network-firewall/model/GeneratedRulesType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespac... |
/*
Copyright (C) 2020 George Cave.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... |
; WARNING: do not edit!
; Generated from openssl/crypto/sha/asm/sha512-586.pl
;
; Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved.
;
; Licensed under the OpenSSL license (the "License"). You may not use
; this file except in compliance with the License. You can obtain a copy
; in the file ... |
EXTERN pixelScroll
EXTERN bottomrow
.st
LD HL, bottomrow
CALL RANDOM
AND $1F
LD DE,$00
LD E,A
ADD HL,DE ;RANDOM POSITION
CALL RANDOM
rrc a
jp c, j1
ld a, $01
jp j2
.j1
ld a, $02
.j2
ld (hl), a
push hl
call pixelScroll
pop hl
xor a
ld (hl)... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_WC+0x17ac3, %rsi
lea addresses_WT+0x1dcc3, %rdi
nop
nop
dec %r15
mov $102, %rcx
rep movsl
nop
nop
sub $47102, %rcx
// Store
mov $0x61f... |
; A183330: Number of n X 2 binary arrays with each 1 adjacent to exactly two 0's.
; Submitted by Jon Maiga
; 1,7,10,23,49,98,209,431,898,1871,3889,8098,16849,35063,72970,151847,316001,657602,1368481,2847839,5926402,12332959,25665121,53409602,111146401,231297767,481335050,1001667383,2084488849,4337860898,9027170929,1878... |
; A271060: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 261", based on the 5-celled von Neumann neighborhood.
; 1,8,1,48,1,120,1,224,1,360,1,528,1,728,1,960,1,1224,1,1520,1,1848,1,2208,1,2600,1,3024,1,3480,1,3968,1,4488,1,5040,1,5624,1,6240,1,6888,1,75... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double fabs(double)
;Number in FA..
INCLUDE "fpp.def"
PUBLIC fabs
EXTERN fsetup
EXTERN stkequ2
.fabs
call fsetup
fpp(FP_ABS)
jp ... |
;
; Copyright (c) 2010 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... |
#include "gtfs/trip.hpp"
#include "gtfs/constructor.hpp"
#include <boost/assert.hpp>
namespace nepomuk
{
namespace gtfs
{
bool checkTripCSVHeader(std::map<std::string, std::size_t> const &header)
{
return header.count("route_id") && header.count("service_id") && header.count("trip_id");
}
Trip makeTrip(std::map... |
; ***************************************************************************************
; ***************************************************************************************
;
; Name : toint.asm
; Author : Paul Robson (paul@robsons.org.uk)
; Date : 16th October 2021
; Purpose : Convert a word to an intege... |
; A285440: Consider the sums of the numbers < n that share the same greatest common divisor with n. Sequence lists numbers that have only one of those sums equal to n.
; 3,4,8,9,15,16,20,21,27,28,32,33,39,40,44,45,51,52,56,57,63,64,68,69,75,76,80,81,87,88,92,93,99,100,104,105,111,112,116,117,123,124,128,129,135,136,140... |
; A254732: a(n) is the least k > n such that n divides k^2.
; 2,4,6,6,10,12,14,12,12,20,22,18,26,28,30,20,34,24,38,30,42,44,46,36,30,52,36,42,58,60,62,40,66,68,70,42,74,76,78,60,82,84,86,66,60,92,94,60,56,60,102,78,106,72,110,84,114,116,118,90,122,124,84,72,130,132,134,102,138,140,142,84,146,148,90,114,154,156,158,100,... |
; A279136: a(n) = n*Sum_{i=0..n-1} binomial(n,i)*binomial(i-1,n-i-1)/(n-i).
; Submitted by Jon Maiga
; 0,1,3,10,27,76,210,589,1659,4708,13428,38479,110682,319411,924339,2681410,7794939,22702396,66229212,193495279,566069052,1658026093,4861703289,14269842184,41922504570,123265254451,362719839225,1068105234304
mov $1,3
m... |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... |
.MODEL SMALL
.STACK 100H
.DATA
X DB "ENTER A NUMBER: $"
.CODE
MAIN PROC
;iniitialize DS
MOV AX,@DATA
MOV DS,AX
;Code here
LEA DX,X
MOV AH,9
INT 21H ;display the string
MOV BX,1
MOV AH,1 ;user input taking start
INT 21H ;user input taking e... |
; *****************************************************************************************************************************************
;
; Simple Keyboard/Video Test program. Displays keyboard scan rows at the top, full character set at the bottom
;
; S3 displayed on RHS, also an ever changing graphic to show st... |
; A157377: a(n) = 531441*n - 313146.
; 218295,749736,1281177,1812618,2344059,2875500,3406941,3938382,4469823,5001264,5532705,6064146,6595587,7127028,7658469,8189910,8721351,9252792,9784233,10315674,10847115,11378556,11909997,12441438,12972879,13504320,14035761,14567202,15098643,15630084,16161525,16692966,17224407,17755... |
;
;
; Copyright (C) Mark Washburn, 1990. All Rights Reserved
;
;
; Inquires are directed to :
; Mark Washburn
; 4656 Polk Street NE
; Columbia Heights, MN 55421
; USA
;
;
;
;
code segment public 'CODE'
org 100h
;
assume cs:code,ds:code,es:code
;
;stopdebug equ 1 ; define this for disassembly trap code
int1... |
org 0x7C00
hikari_fs_header:
.jump_to_code: db 0xEB, 0x1A
.signature: db "HkFS"
.version: dw 0x0001
.block_count: dq 0
.bytes_per_block: dd 0
.reserved_blocks: dd 0
.main_directory_blocks: dd 0
stage1:
mov [d... |
; A005969: Sum of fourth powers of Fibonacci numbers.
; 1,2,18,99,724,4820,33381,227862,1564198,10714823,73457064,503438760,3450734281,23651386922,162109796922,1111115037483,7615701104764,52198777931900,357775783071021,2452231602371646,16807845698458702,115202687593248143,789610969270123344,5412074092543671120,37094907... |
// Xiaoyan Wang 10/25/2015
#include <iostream>
#include <string>
using namespace std;
int main() {
int n, m;
string cipher;
cin >> n;
cin >> cipher;
cin >> m;
string text;
while(getline(cin, text)) {
for (char &c : text) {
for (int i = 0; i <= n; ++i) {
if(c == cipher[i]) {
c = cipher[(i+1)... |
; A194561: Centered cube numbers: (n+1)^27 + n^27.
; Submitted by Christian Krause
; 1,134217729,7625731702715,18022024106966971,7468594995433310109,1030940949674393077661,66735852732611749389079,2483564001592792629551895,60567588642269318039802521,1058149737003040059690390169,14109994191499930367061460371,150480546158... |
; A000321: H_n(-1/2), where H_n(x) is Hermite polynomial of degree n.
; Submitted by Jamie Morken(s3)
; 1,-1,-1,5,1,-41,31,461,-895,-6481,22591,107029,-604031,-1964665,17669471,37341149,-567425279,-627491489,19919950975,2669742629,-759627879679,652838174519,31251532771999,-59976412450835,-1377594095061119,4256461892701... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rcx
// Load
mov $0x6fc4180000000b6e, %r8
nop
nop
nop
cmp %rbp, %rbp
movb (%r8), %r13b
sub %rbp, %rbp
// Store
lea addresses_normal+0x1b66e, %r8
nop
nop
inc %rcx
m... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assert.h"
#include "chainparams.h"
#include "main.h"
#include "util.h"
#incl... |
INCLUDE "graphics/grafix.inc"
IF !__CPU_INTEL__
SECTION code_graphics
PUBLIC w_xorpixel
EXTERN l_graphics_cmp
EXTERN w_pixeladdress
EXTERN __gfx_coords
;
; $Id: w_xorpixl.asm,v 1.5 2016-07-02 09:01:35 dom Exp $
;
; *************************************... |
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#include <stdlib.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "common/common.h"
#include "tengine/c_api.h"
#include "common/tengine_operations.h"
struct Object
{
... |
; A014717: a(n) = (F(n+1) + L(n))^2 where F(n) are the Fibonacci numbers (A000045) and L(n) are the Lucas numbers (A000032).
; 9,4,25,49,144,361,961,2500,6561,17161,44944,117649,308025,806404,2111209,5527201,14470416,37884025,99181681,259660996,679801329,1779742969,4659427600,12198539809,31936191849,83610035716,2188939... |
include "./src/Includes.inc"
section "JoypadMngmt", rom0
ReadJoypad::
; Read all joypad buttons
joypad_columns
ld b, a ; Backup
; Save joypad buttons both down and up into memory
joypad_save
; Reset joypad
joypad_reset
ret
|
sltu $3,$3,$3
lw $6,16($0)
lbu $3,10($0)
lw $1,0($0)
and $5,$4,$3
slti $4,$4,5470
sw $5,8($0)
sw $4,16($0)
lh $1,4($0)
xor $1,$5,$3
srav $1,$3,$3
slt $3,$4,$3
sltiu $3,$3,-32755
nor $3,$3,$3
sb $3,4($0)
or $1,$6,$3
sh $3,8($0)
lhu $3,6($0)
addiu $4,$6,-2836
addiu $1,$5,26078
and $5,$3,$3
addiu $1,$3,19009
sltiu $6,$5,2... |
;----------------------------------------------------
; interupts.asm : interruption vectors
;
; (c) 2007 Vincent 'MooZ' Cruz
;
; Interruption vectors for each of the pce
; interruptions.
;
; LICENCE: not my fault if anything burns
;
;;---------------------------------------------------------------------
;... |
;-----------------------------------------------
; Sound related constants:
; instrument codes are the indexes of their first byte in the profile
MUSIC_INSTRUMENT_SQUARE_WAVE: equ 0
MUSIC_INSTRUMENT_PIANO: equ 1
MUSIC_INSTRUMENT_PIANO_SOFT: equ 15
MUSIC_INSTRUMENT_PAD: equ 29
SFX_PRIORITY_MUSIC: eq... |
; A257055: a(n) = n*(n + 1)*(n^2 - n + 3)/6.
; 0,1,5,18,50,115,231,420,708,1125,1705,2486,3510,4823,6475,8520,11016,14025,17613,21850,26810,32571,39215,46828,55500,65325,76401,88830,102718,118175,135315,154256,175120,198033,223125,250530,280386,312835,348023,386100,427220,471541,519225,570438,625350,684135,746971,81404... |
/*
* Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2013... |
/*-------------------------------------------------------------------------------------------------
| This file is distributed under the MIT License.
| See accompanying file /LICENSE for details.
*------------------------------------------------------------------------------------------------*/
#pragma once
#include "... |
asl
asl
asl
asl
asl
asl
asl |
;===========================================================================
; utilities.asm
; Submodule for some common routines.
;===========================================================================
; Some constants
PAUSE_TIME: equ 500 ; 0.5 sec
; Pauses for a while.
; de: wait time, ca. de*0.1ms
paus... |
;;;; Sierpinski Disassembler ;;;;
main:
push 320 ; 0x00000000: 81 40 01 00 00
push 240 ; 0x00000005: 81 F0 00 00 00
pop scry ; 0x0000000A: 42 0C
pop scrx ; 0x0000000C: 42 0B
push 10 ; 0x0000000E: 81... |
TITLE String Manipulation (Q4.asm)
INCLUDE Irvine32.inc
.data
Sourcestr BYTE 50 dup(?), 0
Targetstr BYTE 50 dup(?), 0
Substrval BYTE 50 dup(?), 0
Searchstr BYTE "Abdullah Raheel", 0
inputstr BYTE "Enter String: ", 0
.code
main PROC
mov eax, 0
mov ebx, 0
mov ecx, 0
mov esi, 0
mov edx, OFFSET inpu... |
/**
* Copyright 2018, Niket Shah
*
* 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 copyright notice,
* this list of conditions and the following discla... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld b, 91
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 07
ldff(4b), a
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegin_waitm3
ld a, 20
ldff(c), a
xor a, a
ldff(0f), a
l... |
; Adding two 8-bit numbers in memory
;
; Inputs are taken from 0A0H and 0A1H
; Output is stored at 0A2H (Carry) and 0A3H (Sum)
MVI C, 00H ; initialise carry
LDA 0A0H ; load first input to accumulator
MOV B, A ; save it to register B
LDA 0A1H ; load second input to acc... |
; A095076: Parity of 1-fibits in Zeckendorf expansion A014417(n).
; 0,1,1,1,0,1,0,0,1,0,0,0,1,1,0,0,0,1,0,1,1,1,0,0,0,1,0,1,1,0,1,1,1,0,1,0,0,0,1,0,1,1,0,1,1,1,0,0,1,1,1,0,1,0,0,1,0,0,0,1,0,1,1,0,1,1,1,0,0,1,1,1,0,1,0,0,0,1,1,1,0,1,0,0,1,0,0,0,1,1,0,0,0,1,0,1,1,0,1,1,1,0
cal $0,7895 ; Number of terms in Zeckendorf rep... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x8d56, %r8
nop
nop
nop
nop
nop
xor %rbp, %rbp
and $0xffffffffffffffc0, %r8
movntdqa (%r8), %xmm1
vpextrq $0, %xmm1, %r11
cmp %r13, %r13
lea addresses_WC_ht+0x17156, %... |
; A141046: a(n) = 4*n^4.
; 0,4,64,324,1024,2500,5184,9604,16384,26244,40000,58564,82944,114244,153664,202500,262144,334084,419904,521284,640000,777924,937024,1119364,1327104,1562500,1827904,2125764,2458624,2829124,3240000,3694084,4194304,4743684,5345344,6002500,6718464,7496644,8340544,9253764,10240000,11303044,12446784... |
/**
* Copyright (c) 2019 DENSO CORPORATION.
*
* 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 la... |
; A108696: Generated by a sieve: see comments.
; 1,2,3,5,7,11,13,19,23,31,35,43,49,59,61,79,83,103,109,119,133,151,155,175,193,211,215,241,259,275,283,323,331,361,373,403,419,443,455,499,511,541,571,613,623,649,673,719,733,781,803,841,871,919,931,991,1003,1055,1069,1123,1175,1201,1213,1279,1333,1393,1403,1429,1489,1549... |
; BLOCK 1 koala_boot.xex
org $0700
/* 0700: 60 */ .byte $60, $20, $20, $20, $62, $79, $20, $20
/* 0708: 52 */ .byte $52, $61, $67, $6D, $61, $6E, $20, $53
/* 0710: 6F */ .byte $6F, $66, $74, $00, $00, $00, $00, $00
/* 0718: 00 ... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 Rafael de Oliveira Jannone
;
; extern void msx_vfill(unsigned int addr, unsigned char value, unsigned int count);
;
; Fills a VRAM portion with the given value
;
; $Id: msx_vfill.asm,v 1.4 2015/01/19 01:32:57 pauloscustodio Exp $
;
P... |
; A186231: Expansion of ( 2F1([-1/4, 1/4]; [-1/2], 16*x) - 1 ) / (2*x).
; 1,15,210,3003,43758,646646,9657700,145422675,2203961430,33578000610,513791607420,7890371113950,121548660036300,1877405874732108,29065024282889672,450883717216034179,7007092303604022630,109069992321755544170,1700179760011004467468,2653658949746905... |
; This is the startup file for Sol Bianca. This jumps to and starts the whole
; shebang.
;
; Simon Heath
; 14/6/2003
global _start
extern sbMain
_start:
; This sequence blinks all the keyboard LED's to on.
;call kbd
;mov al, 0xED
;out 0x60, al
;call kbd
;mov al, 0x07
;out 0x60, al
;kbd0:
... |
; A017274: a(n) = (10*n)^6.
; 0,1000000,64000000,729000000,4096000000,15625000000,46656000000,117649000000,262144000000,531441000000,1000000000000,1771561000000,2985984000000,4826809000000,7529536000000,11390625000000,16777216000000,24137569000000,34012224000000,47045881000000,64000000000000,85766121000000,113379904000... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
ld hl, 8000
xor a, a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
... |
// #include <stdio.h>
// int main() {
// int R0 = 3;
// int R1 = 5;
// => int R2 = 0;
@0
D=A
@R2
M=D
// while (R0 > 0) {
// => loop:
(loop)
// => if (R0 <= 0) goto exit1;
@R0
D=M
@exit1
D; JLE
// => R2 = R2 + R1;
@R1
D=M
@R2
M=D+M
// => R0 = R0 - 1;
@R0
M=M-1
// p... |
SECTION code_fp_math16
PUBLIC floorf16
EXTERN asm_f16_floor
defc floorf16 = asm_f16_floor
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _floorf16
EXTERN cm16_sdcc_floor
defc _floorf16 = cm16_sdcc_floor
ENDIF
|
; A040357: Continued fraction for sqrt(377).
; 19,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2,38,2,2,2
mov $5,2
mov $9,$0
lpb $5
mov $0,$9
sub $5,1
add $0,$5
sub $0,1
mov $7,$0... |
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:07:20 2018 *
;****************************************************************************... |
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC rc_01_output_asci1_stdio_msg_ictl
EXTERN rc_01_output_asci0_stdio_msg_ictl
defc rc_01_output_asci1_stdio_msg_ictl = rc_01_output_asci0_stdio_msg_ictl
; ioctl messages understood:
;
; defc IOCTL_OTERM_CRLF = $c012
; defc IOCTL_OTERM_COOK... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>symlink(from, to) -> str
Invokes the syscall symlink.
See 'man 2 symlink' for more information.
Arguments:
from(char*): from
to(char*): to
Returns:
int
</%docstring>
<%page args="from=0, to=... |
;-------------------------------------------------------
; Definitions for the Z80 CTC
;-------------------------------------------------------
; Control word bits
ctc_ei equ $80 ; enable interrupts
ctc_counter equ $40 ... |
; void sp1_MoveSprPix(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_MoveSprPix
EXTERN l0_sp1_MoveSprPix_callee
_sp1_MoveSprPix:
pop af
pop ix
exx
pop bc
exx
pop hl
pop de
pop bc
push bc
push de
push hl... |
; A159027: a(0)=109; a(n) = a(n-1) + floor(sqrt(a(n-1))), n > 0.
; 109,119,129,140,151,163,175,188,201,215,229,244,259,275,291,308,325,343,361,380,399,418,438,458,479,500,522,544,567,590,614,638,663,688,714,740,767,794,822,850,879,908,938,968,999,1030,1062,1094,1127,1160,1194,1228,1263,1298,1334,1370,1407,1444
mov $5,... |
_threadtest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
int main(int argc, char *argv[])
{
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 push %ebp
... |
; A320065: a(n) is the smallest integer i such that binomial(2i,i) > n.
; 1,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
add $0,1
div $0,2
mov $1,254
lpb $0
mul $0,... |
; A306696: Lexicographically earliest sequence of nonnegative terms such that for any n > 0 and k > 0, if a(n) >= a(n+k), then a(n+2*k) <> a(n+k).
; 0,0,1,0,1,1,2,0,2,1,3,1,2,2,3,0,3,2,4,1,3,3,4,1,4,2,5,2,4,3,5,0,5,3,6,2,4,4,6,1,5,3,7,3,5,4,6,1,6,4,7,2,5,5,7,2,6,4,8,3,6,5,7,0,7,5,8,3,6,6,8,2,7,4,9,4,7,6,8,1,8,5,9,3,7,7... |
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; FUNCTION NAME: mat_subtract_mv
; DOCUMENTATIONS: <See doc/description file>
;
; AU... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19c79, %r9
nop
nop
nop
cmp $57956, %r13
movl $0x61626364, (%r9)
and %r15, %r15
lea addresses_WT_ht+0x1d2d2, %rsi
lea addresses_A_ht+0x8b2a, %rdi
nop
nop
nop
nop
nop
dec %r10
m... |
; PROLOGUE(mpn_lshift)
; Version 1.0.3.
;
; Copyright 2008 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as publ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1983d, %r12
nop
nop
nop
xor %rdx, %rdx
mov (%r12), %r14
nop
nop
nop
nop
nop
sub %rsi, %rsi
lea addresses_A_ht+0x301b, %rsi
lea addresses_UC_ht+0x15769, %rdi
clflush (%rd... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x44ac, %rdx
nop
nop
nop
nop
nop
sub $52711, %rdi
mov $0x6162636465666768, %r13
movq %r13, (%rdx)
nop
nop
nop
xor $3715, %r15
lea addresses_A_ht+0x82d8, %rsi
lea addresses_WC_h... |
db DEX_ZUBAT ; pokedex id
db 40, 45, 35, 55, 40
; hp atk def spd spc
db SOUND, FLYING ; type
db 255 ; catch rate
db 54 ; base exp
INCBIN "gfx/pokemon/front/zubat.pic", 0, 1 ; sprite dimensions
dw ZubatPicFront, ZubatPicBack
db SUPERSONIC, NO_MOVE, NO_MOVE, NO_MOVE ; level 1 learnset
db GROWTH_M... |
; A314837: Coordination sequence Gal.6.231.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.
; 1,5,9,14,18,23,27,32,36,41,45,50,55,59,64,68,73,77,82,86,91,95,100,105,109,114,118,123,127,132,136,141,145,150,155,159,164,168,173,177,182,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xbd4c, %rsi
lea addresses_D_ht+0x4994, %rdi
nop
nop
dec %r14
mov $117, %rcx
rep movsb
nop
and $56970, %r9
lea addresses_UC_ht+0x5994, %r10
nop
nop
nop
cmp $33672, %rax
movb (%r10), %cl
... |
; String Positioning in Column-Centric of 80x80 terminal — STR_POS.asm
; Copyright (c) 2021 Janrey Licas
; This code is licensed under MIT license. (see LICENSE for details)
.MODEL TINY
.DATA ; String to be displayed. Basically, my information.
FN_STR DB "Janrey T. Licas$"
SN_STR DB "1810386$"
PR_STR DB "CpE Program... |
0x3010
LEA R0 DATA1
LDW R1 R0 0x0
LDB R2 R0 0x0
LDB R3 R0 0x1
LDW R4 R0 0x0
LDW R4 R0 0x1
TRAP 0x0
DATA1: 0x1234
|
; A263845: A258059(n)+1.
; 1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,5,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,2,1,1,1,2,1... |
; A177095: 9^n - 8.
; 1,73,721,6553,59041,531433,4782961,43046713,387420481,3486784393,31381059601,282429536473,2541865828321,22876792454953,205891132094641,1853020188851833,16677181699666561,150094635296999113,1350851717672992081,12157665459056928793,109418989131512359201,984770902183611232873,8862938119652501095921,7... |
/*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... |
TITLE VarUtil.asm - Variable Management utilities in native code
;***
;VarUtil.asm - Variable Management utilities in native code
;
; Copyright (C) 1986-1989, Microsoft Corporation
;
;Purpose:
; Provide utility functions for the variable manager in native code
;
;
;**************************************************... |
;--------------------------------------------------------------------------------
; LockAgahnimDoors:
; Returns: 0=Unlocked - 1=Locked
;--------------------------------------------------------------------------------
LockAgahnimDoors:
LDA.l AgahnimDoorStyle
BNE +
;#$0 = Never Locked
LDA.w #$0000 : RTL
+ : CMP.w ... |
SPLDIR:
.include "music/dir.asm"
Music2_pattern:
.incbin "music/manafort1.sks"
Music2_patternEOF:
Music2_header:
.incbin "music/manafort1_header.sks"
Music2_headerEOF:
BRR_Piano:
.incbin "music/brr/Piano.brr"
BRR_PianoEOF:
BRRsin:
.db $C3
.db $03
.db $56
.db $75
.db $3E
.db $B9
.db $98
.db $9B
.db $E0
... |
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include <initializer_list>
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// I... |
extern m7_ippsARCFourGetSize:function
extern n8_ippsARCFourGetSize:function
extern y8_ippsARCFourGetSize:function
extern e9_ippsARCFourGetSize:function
extern l9_ippsARCFourGetSize:function
extern n0_ippsARCFourGetSize:function
extern k0_ippsARCFourGetSize:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeIni... |
section .bss
dd1: resq 100 ; reserve 100 long int
i: resq 1 ; actually unused, kept in register
section .data ; Data section, initialized variables
fmt: db "dd1[0]=%ld, dd1[1]=%ld, dd1[98]=%ld, dd1[99]=%ld",10,0
section .text
global main
extern printf ; the C function, to be called
ma... |
db 0 ; species ID placeholder
db 103, 93, 67, 84, 71, 61
; hp atk def spd sat sdf
db POISON, DARK ; type
db 60 ; catch rate
db 168 ; base exp
db NO_ITEM, PSNCUREBERRY ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/skuntank/front.dimensions"
db GROWTH_MEDIU... |
// license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
CD40105/HC40105 4-bit x 16-word FIFO Register
Part of the 4000B series of CMOS logic devices, the 40105 includes
an asynchronous master reset pin intended to be connected to the
... |
extern scanf, printf
global main
section .bss
discos resd 1
section .data
msg_entrada db "Numero de discos:", 0H
formato_entrada db "%d", 0H
msg_entradaIvalida db "Entrada invalida, tente novamente", 0AH, 0H
msg_saida db "[%d, %d]", 0AH, 0H
section .text
main:
push msg_entrada
call printf
add esp, 4
pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.