text stringlengths 1 1.05M |
|---|
.text
main:
j alu_tester
alu_tester:
########## ADDITION ###########
# Store immediates so we can do some math
addi $r1 $r0 1 # r1 = 1
addi $r1 $r1 2 # r1 = r1 + 2
add $r1 $r1 $r1 # r1 = r1 + r1
lw $r2 expected_add
# If the branch is taken, something went... |
; Trig etc functions V2.00 1990 Tony Tebby QJUMP
;
section exten
xdef int
xdef abs
xdef cos
xdef sin
xdef tan
xdef cot
xdef asin
xdef acos
xdef atan
xdef acot
xdef sqrt
xdef ln
xdef log10
xdef exp
xdef pi
xdef rad
xdef deg
xdef pi_d180
xref ut_gtfp
xref ut_gxfp1
xref ut_par0
xref ut_ck... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 41
ld b, 02
ld d, 03
lbegin_waitm2:
ldff a, (c)
and a, d
cmp a, b
jrnz lbegin_waitm2
ld a, 08
ldff(c), a
xor a, a
ldff(0f), a
ld a, 02
ldff(ff), a
ei
ld hl, 8000
ld a, 01
.text@1000
lstatint:
ld a, 03
ldff... |
; A269760: Number of n X 1 0..5 arrays with some element plus some horizontally or vertically adjacent neighbor totalling five exactly once.
; 0,6,60,450,3000,18750,112500,656250,3750000,21093750,117187500,644531250,3515625000,19042968750,102539062500,549316406250,2929687500000,15563964843750,82397460937500,43487548828... |
; A170935: b(n)*b(n+1), where b() = A000930().
; Submitted by Simon Strandgaard
; 1,1,2,6,12,24,54,117,247,532,1148,2460,5280,11352,24381,52353,112462,241570,518840,1114416,2393694,5141385,11043135,23719608,50947336,109429624,235043840,504850560,1084367865,2329112625,5002699050,10745292366,23079802756,49573086472,10647... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
/* **********************************************************
* Copyright (c) 2011-2015 Google, Inc. All rights reserved.
* Copyright (c) 2001-2010 VMware, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or wit... |
#include "node-comm.hh"
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "daq_lib.h"
//#define DAQ
// This mutex basically protects teh access to value and count, but is
// also used to block the power thread when it should not be running.
pthread_mutex_t run_power_mutex = PTHR... |
; ---------------------------------------------------------------------------
; Sprite mappings - SCORE, TIME, RINGS
; ---------------------------------------------------------------------------
dc.w byte_1C5BC-Map_obj21, byte_1C5F0-Map_obj21
dc.w byte_1C624-Map_obj21, byte_1C658-Map_obj21
byte_1C5BC: dc.b $A
dc.... |
SECTION .data
pesan db 'bellshade', 0Ah
SECTION .text
global _start
_start:
mov edx, 13
mov ecx, pesan
mov ebx, 1
mov eax, 4
int 80h
mov ebx, 0 ; return 0 jika status exit bersifat error
mov eax, 1 ; mengaktifkan SYS_EXIT (kernal opcode 1)
int 80h
|
; REGISTER USAGE:
; a0 - Dual PCM cue
; a1 - Current channel
; a2 - Tracker
; a3 - Special address (channels), target channel (playsnd), scratch
; a4 - Music channel (dcStop), other various uses, scratch
; a5-a6 - Scratch, use lower number when possible
; d0 - Channel dbf counter, other dbf counters
; d... |
// push constant 0
@0
D=A
@SP
M=M+1
A=M-1
M=D
// pop LCL 0
@LCL
D=M
@0
D=A+D
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
// label None$LOOP_START
(None$LOOP_START)
// push ARG 0
@ARG
D=M
@0
A=A+D
D=M
@SP
M=M+1
A=M-1
M=D
// push LCL 0
@LCL
D=M
@0
A=A+D
D=M
@SP
M=M+1
A=M-1
M=D
// add
@SP
AM... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x675f, %rbx
nop
nop
nop
nop
cmp %rax, %rax
mov (%rbx), %r13d
nop
nop
nop
nop
nop
add $9212, %r12
lea addresses_D_ht+0xdc09, %r10
nop
nop
and %r8, %r8
mov (%r10), %ax... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
$NOMOD51 NOLINES
$INCLUDE(hwconf.inc)
$NOCOND
EXTRN DATA (rom_page_mask)
;------------------------------------------------------------------------------
; This file is part of the BL51 / LX51 Banked Linker/Locater package
; Copyright (c) 1988 - 2001 Keil Elektronik GmbH and Keil Software, Inc.
; Version ... |
; SYS-DOS 1.1 Alpha Written by Aiden Moechnig 9/19/2021
;=========================================================== START
mov ax, 0
mov bx, 0
mov cx, 0
mov dx, 0
call linefeed
call new
;=========================================================== MAIN LOOP
main:
mov ah, 0x02
mov dl, bl
mov dh, cl
int... |
;header for SNES
.segment "SNESHEADER"
;$00FFC0-$00FFFF
.byte "EXAMPLE 7 " ;rom name 21 chars
.byte $30 ;LoROM FastROM
.byte $00 ; extra chips in cartridge, 00: no extra RAM; 02: RAM with battery
.byte $08 ; ROM size (2^# in kB)
.byte $00 ; backup RAM size
.byte $01 ; US
.byte $33 ; publisher id
.byt... |
; A346515: a(n) = n*(n+2)*(n+4)*(n+6)*(n+8)*(n+10)*(n+12)*(n+14).
; 0,2027025,10321920,34459425,92897280,218243025,464486400,916620705,1703116800,3011753745,5109350400,8365982625,13284311040,20534684625,30996725760,45808142625,66421555200,94670161425,132843110400,183771489825,250925875200,338526428625,451666575360
mov... |
/** \file tb2flowbasedconstr.hpp
* \brief Global constraint using flow networks structure for propagation
*
*/
#ifndef TB2FLOWBASEDCONSTR_HPP_
#define TB2FLOWBASEDCONSTR_HPP_
#include "tb2globalconstr.hpp"
#include "tb2graph.hpp"
class FlowBasedGlobalConstraint : public GlobalConstraint {
protected:
// graph... |
; ===============================================================
; Z80 aPLib decompression library
; version 1.2
; 1/12/2008
; Maxim (http://www.smspower.org/maxim)
; based on code by Dan Weiss (Dwedit) - see readme.txt
; ===============================================================
;
; void aplib_depack(void *dst,... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>ptrace(request, vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall ptrace.
See 'man 2 ptrace' for more information.
Arguments:
request(ptrace_request): request
vararg(i... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x85bb, %r10
cmp $47485, %rbp
movw $0x6162, (%r10)
nop
nop
nop
nop
nop
add %r10, %r10
lea addresses_UC_ht+0x1a3e7, %r11
nop
nop
nop
nop
nop
add %rcx, %rcx
movb (%r11), %r8b
and ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_listen_socket_72a.cpp
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-72a.tmpl.cpp
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: listen_so... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x42e9, %r14
nop
nop
nop
and $59205, %r8
mov (%r14), %bp
nop
nop
nop
nop
nop
xor %r11, %r11
lea addresses_D_ht+0x16799, %r8
nop
nop
nop
nop
nop
cmp $48451, %r... |
PrintSafariZoneBattleText:
ld hl, wSafariBaitFactor
ld a, [hl]
and a
jr z, .asm_411e
dec [hl]
ld hl, SafariZoneEatingText
jr .asm_4138
.asm_411e
dec hl
ld a, [hl]
and a
ret z
dec [hl]
ld hl, SafariZoneAngryText
jr nz, .asm_4138
push hl
ld a, [wEnemyMonSpecies]
ld [wd0b5], a
call GetMonHeader
ld a, [w... |
SECTION code_fp_math16
PUBLIC cm16_sdcc___ulong2h_callee
PUBLIC cm16_sdcc___ulong2h_fastcall
EXTERN asm_f24_u32
EXTERN asm_f16_f24
.cm16_sdcc___ulong2h_callee
pop bc ;return
pop hl ;value
pop de
push bc
.cm16_sdcc___ulong2h_fastcall
call asm_f24_u32
jp asm_f16_f24
|
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
* Copyright (C) 2004, 2008 Apple Inc. All rights reserved.
*
* This library is free software... |
; A017010: a(n) = (7*n+2)^6.
; 64,531441,16777216,148035889,729000000,2565726409,7256313856,17596287801,38068692544,75418890625,139314069504,243087455521,404567235136,646990183449,1000000000000,1500730351849,2194972623936,3138428376721,4398046511104,6053445140625,8198418170944,10942526586601,14412774445056,187553695780... |
;
; This file is automatically generated
;
; Do not edit!!!
;
; djm 12/2/2000
;
; ZSock Lib function: sock_setrsize
PUBLIC sock_setrsize
EXTERN no_zsock
INCLUDE "packages.def"
INCLUDE "zsock.def"
.sock_setrsize
ld a,r_sock_setrsize
call_pkg(tcp_all)
ret nc
; We failed..are we installed?
cp rc_pnf
scf ;si... |
; A239459: Concatenation of n^3 and n.
; 11,82,273,644,1255,2166,3437,5128,7299,100010,133111,172812,219713,274414,337515,409616,491317,583218,685919,800020,926121,1064822,1216723,1382424,1562525,1757626,1968327,2195228,2438929,2700030,2979131,3276832,3593733,3930434,4287535,4665636,5065337,5487238,5931939,6400040,6892... |
; A143845: See Comments line.
; 0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1,0,8,12,14,15,7,3,1
mov $1,1
mov $2,$0
lpb $2
mul $1,9
mod $1,17
sub $2,1... |
# Utilizzando le syscall rese disponibili dall'emulatore MARS implementare un programma che:
# Richieda all'utente attraverso una finestra di dialogo l'inserimento di un numero intero NUM
# Estragga un numero casuale R nel range [-NUM,NUM], (il seed del generatore di numeri casuali
# può essere inizializzato con un qua... |
; A159802: Number of primes q with (2m)^2+1 <= q < (2m+1)^2-2m.
; Submitted by Christian Krause
; 1,2,2,2,4,2,2,4,2,3,4,4,4,4,4,5,4,7,6,8,5,4,7,7,6,9,7,7,6,8,7,9,7,10,11,7,10,12,9,6,9,8,8,8,9,8,10,10,12,11,11,12,13,9,12,14,13,11,10,14,11,14,15,12,16,14,16,11,12,11,12,14,14,15,15,13,17,15,16,18,17,15,12,12
mul $0,2
add... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2022 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provid... |
; int vsscanf(const char *s, const char *format, va_list arg)
SECTION code_clib
SECTION code_stdio
PUBLIC vsscanf
EXTERN asm_vsscanf
vsscanf:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_vsscanf
|
; Konami VRC4b: (up to 256KB) PRG-ROM + (0,2,8)KB PRG-RAM + (up to 512KB) CHR-ROM
; http://bootgod.dyndns.org:7777/search.php?keywords=25&kwtype=pcb
;------------------------------------------------------------------------------;
; number of 16K PRG banks
PRG_BANKS = $04
; number of 8K CHR banks
; Valid values: $02 (1... |
; /////////////////////////////////////////////////////////////////////////////
; Znake (ZX Spectrum 48K)
; -----------------------------------------------------------------------------
; 3_loop_create_food.asm
; -----------------------------------------------------------------------------
; Copyright (C) 2016, Chri... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3f8d, %r10
nop
nop
nop
nop
nop
lfence
vmovups (%r10), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r14
nop
nop
and %rbx, %rbx
lea addresses_normal_ht+0x8f35, %r10
... |
/**
* Copyright 2019 Huawei Technologies Co., Ltd
*
* 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... |
; A076051: Sum of product of odd numbers <= n and the product of even numbers <= n.
; 2,3,5,11,23,63,153,489,1329,4785,14235,56475,181215,780255,2672145,12348945,44781345,220253985,840523635,4370620275,17465201775,95498916975,397983749625,2278224696825,9867844134225,58917607974225,264469801070475,1641787169697675,76186... |
;;
;; Copyright (c) 2019-2022, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
; A131403: Row sums of triangle A131402.
; 1,2,5,10,21,44,93,196,411,856,1771,3642,7451,15178,30809,62358,125921,253800,510777,1026704,2061751,4137012,8295895,16627190,33311671,66716054,133582133,267407026,535206861,1071049316,2143127061,4287918172,8578528851,17161414288,34329877699,68671161138,137360777171,27475141501... |
/**
\file
\author Shin'ichiro Nakaoka
*/
#include "VRMLBodyLoader.h"
#include "Body.h"
#include "ForceSensor.h"
#include "RateGyroSensor.h"
#include "AccelerationSensor.h"
#include "Camera.h"
#include "RangeCamera.h"
#include "RangeSensor.h"
#include "PointLight.h"
#include "SpotLight.h"
#include <cnoid/FileUtil... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x6a35, %r15
nop
nop
nop
nop
inc %r8
movb $0x61, (%r15)
nop
nop
nop
add %rdi, %rdi
lea addresses_WC_ht+0xcead, %rsi
lea addresses_UC_ht+0x1a84d, %rdi
nop
nop
nop
nop
nop
xor $6... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x6e36, %rsi
lea addresses_normal_ht+0x6236, %rdi
sub $765, %r8
mov $126, %rcx
rep movsl
nop
nop
dec %rcx
lea addresses_A_ht+0x12636, %rdx
and %r13, %r13
movl $0x61626364, (%rdx)
nop
and... |
; A006231: a(n) = Sum_{k=2..n} n(n-1)...(n-k+1)/k.
; 0,1,5,20,84,409,2365,16064,125664,1112073,10976173,119481284,1421542628,18348340113,255323504917,3809950976992,60683990530208,1027542662934897,18430998766219317,349096664728623316,6962409983976703316,145841989688186383337,3201192743180799343821,7347426007351089743497... |
lda {m2}
clc
adc {m3}
sta {m1}
lda {m2}+1
adc {m3}+1
sta {m1}+1
|
/**
* ddosmitigator API
* DDoS Mitigator Service
*
* OpenAPI spec version: 2.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/polycube-network/swagger-codegen.git
* branch polycube
*/
/* Do not edit this file manually */
#include "DdosmitigatorJsonObject.h"
#incl... |
map_header Route6, ROUTE_6, OVERWORLD, NORTH | SOUTH
connection north, SaffronCity, SAFFRON_CITY, -5
connection south, VermilionCity, VERMILION_CITY, -5
end_map_header
|
; A348015: Number of recurrent n X n matrices over GF(2).
; Submitted by Jamie Morken(s1.)
; 1,2,13,365,43801,21725297,43798198753,355991759464385,11619571028917526401,1520025803718875133673217,796153035368657542014822907393,1668838669721233396228446711227874305,13995815633937307151473642050515241531340801,469564317112... |
// Copyright 2020 the V8 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.
#include "src/heap/cppgc/heap.h"
#include "src/heap/base/stack.h"
#include "src/heap/cppgc/garbage-collector.h"
#include "src/heap/cppgc/gc-invoker.h"
... |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#includ... |
/*
This file is a part of the NVDA project.
URL: http://www.nvda-project.org/
Copyright 2006-2020 NV Access Limited, Leonard de Ruijter.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2.0, as published by
the Free Softw... |
; A154287: (L)-sieve transform of {1,4,9,16,...,n^2,...}=A000290.
; 1,3,6,9,13,18,23,29,35,42,49,57,66,75,85,95,106,117,129,141,154,167,181,195,210,225,241,258,275,293,311,330,349,369,389,410,431,453,475,498,521,545,569
mov $6,$0
mov $8,$0
add $8,1
lpb $8
clr $0,6
mov $0,$6
sub $8,1
sub $0,$8
mov $3,$0
mov... |
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and ... |
;******************************************************************************
;* PRU C/C++ Codegen Unix v2.3.3 *
;* Date/Time created: Wed Aug 12 00:15:06 2020 *
;******************************************************************************
... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
exit();
}
}
int
main(i... |
--- FUNCTION SOURCE (pow) id{0,0} ---
(k,l){
return %_MathPow((%_ToNumber(k)),(%_ToNumber(l)));
}
--- END ---
--- Raw source ---
(k,l){
return %_MathPow((%_ToNumber(k)),(%_ToNumber(l)));
}
--- Optimized code ---
optimization_id = 0
source_position = 470
kind = OPTIMIZED_FUNCTION
name = pow
stack_slots = 7
compiler = ... |
// POPGssapi.cpp: Implementation file for POP GSSAPI authenticator class.
//
// Copyright (c) 2002 by QUALCOMM, Incorporated
/* Copyright (c) 2016, Computer History Museum
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to
the limitatio... |
SELECTOR_KERNEL_CS equ 8
extern cstart
extern gdt_ptr
extern exception_handler
extern spurious_irq
extern idt_ptr
extern disp_pos
[section .bss]
StackSpace resb 2*1024
StackTop:
[section .text]
global _start
;int handler
global divide_error
global single_step_exception
global nmi
global breakpoint_exception
g... |
; A282211: Coefficients in q-expansion of (6*E_2^2*E_4 - 8*E_2*E_6 + 3*E_4^2 - E_2^4)/6912, where E_2, E_4, E_6 are the Eisenstein series shown in A006352, A004009, A013973, respectively.
; 0,1,24,108,448,750,2592,2744,7680,9477,18000,15972,48384,30758,65856,81000,126976,88434,227448,137180,336000,296352,383328,292008,... |
header_VmCmp
vm_cmp PROC
push ebp
mov ebp, esp
; read first argument
push [ebp+arg0]
call_vm_stack_pop_enc
mov edx, eax
; read second argument
push [ebp+arg0]
call_vm_stack_pop_enc
; do comparison and save result
cmp edx, eax
pushfd
; read the current flags
mov ebx, [ebp+arg0]
mov ecx, [ebx+vm_flag... |
;;
;; Copyright (c) 2020-2022, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
; A079004: Least x>=3 such that F(x)==1 (mod 3^n) where F(x) denotes the x-th Fibonacci number (A000045).
; 7,10,10,34,106,322,970,2914,8746,26242,78730,236194,708586,2125762,6377290,19131874,57395626,172186882,516560650,1549681954,4649045866,13947137602,41841412810,125524238434,376572715306,1129718145922
lpb $0
sub... |
; A195171: a(n) = 5*n - floor(n*r), where r=(1+sqrt(5))/2 (the golden ratio).
; 0,4,7,11,14,17,21,24,28,31,34,38,41,44,48,51,55,58,61,65,68,72,75,78,82,85,88,92,95,99,102,105,109,112,115,119,122,126,129,132,136,139,143,146,149,153,156,159,163,166,170,173,176,180,183,187,190,193,197,200,203,207,210,214,217,220,224,227,2... |
; A330395: Number of nontrivial equivalence classes of S_n under the {1234,3412} pattern-replacement equivalence.
; 1,9,26,51,85,129,184,251,331,425,534,659,801,961,1140,1339,1559,1801,2066,2355,2669,3009,3376,3771,4195,4649,5134,5651,6201,6785,7404,8059,8751,9481,10250,11059,11909,12801,13736,14715,15739,16809,17926,1... |
; A116487: First digit after decimal point in decimal representation of (1+1/n)^n.
; Submitted by Christian Krause
; 0,2,3,4,4,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
ad... |
; A211665: Minimal number of iterations of log_10 applied to n until the result is < 1.
; 1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
trn $0,8
cmp $0,0
gcd $0,2
|
; A128174: Transform, (1,0,1,...) in every column.
; Submitted by Jamie Morken(m3)
; 1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0
lpb $0
add $1,1
sub $0,$1
lpe
... |
;/*
; * FreeRTOS Kernel V10.4.2
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 restri... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd0a9, %rsi
lea addresses_WT_ht+0x6ce1, %rdi
nop
nop
nop
cmp %r9, %r9
mov $108, %rcx
rep movsl
nop
nop
nop
nop
dec %rbp
lea addresses_WC_ht+0x12639, %rsi
lea addresses_UC_ht+0x12e61, %rd... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x7dc2, %rsi
lea addresses_normal_ht+0xd5c2, %rdi
clflush (%rsi)
nop
nop
nop
cmp $57243, %rdx
mov $50, %rcx
rep movsb
add $31720, %rdx
lea addresses_normal_ht+0x1ab42, %rdx
nop
nop
sub %... |
; DCL_DF23_L1.asm - Full Direct Form 2 implementation in third order
;
; Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
; ALL RIGHTS RESERVED
.if __TI_EABI__
.asg DCL_runDF23_L1, _DCL_runDF23_L1
.endif
.global _DCL_runDF23_L1
.def __cla_DCL_DF23_L1_sp
SIZEOF_LFRAME .set 2
LFRAM... |
; A138409: a(n) = prime(n)^6 - prime(n)^2.
; 60,720,15600,117600,1771440,4826640,24137280,47045520,148035360,594822480,887502720,2565725040,4750102560,6321361200,10779213120,22164358320,42180530160,51520370640,90458377680,128100278880,151334220960,243087449280,326940366480,496981283040,832971995520,1061520140400,119405... |
; A177788: binomial(n^2,n+1)/(n-1).
; Submitted by Jon Maiga
; 4,63,1456,44275,1669536,75163011,3934369216,234799050915,15736644960400,1170354134607658,95648578915114512,8520904136405458044,821828481957792579648,85317719822978885714475
mov $1,$0
add $0,2
add $1,3
mov $2,$0
sub $0,1
pow $2,2
bin $2,$1
div $2,$0
mov $0,... |
; A085697: a(n) = T(n+2)^2, where T(n) = tribonacci numbers (A000073).
; 0,0,1,1,4,16,49,169,576,1936,6561,22201,75076,254016,859329,2907025,9834496,33269824,112550881,380757169,1288092100,4357584144,14741602225,49870482489,168710633536,570743986576,1930813074369,6531893843049
cal $0,73 ; Tribonacci numbers: a(n) = a(... |
; A020606: Expansion of 1/((1-6x)(1-9x)(1-11x)).
; Submitted by Jamie Morken(s2)
; 1,26,457,6782,91693,1170218,14373409,171896534,2016642805,23325176930,266916367081,3029497622606,34167408893437,383440973924762,4286324362209073,47766301010614598,530982729463501189,5890807715878623314,65248965660642516985,72178995870060... |
adc (hl) ; 8E
adc (ix) ; DD 8E 00
adc (ix+127) ; DD 8E 7F
adc (ix-128) ; DD 8E 80
adc (iy) ; FD 8E 00
adc (iy+127) ; FD 8E 7F
adc (iy-128) ; FD 8E 80
adc -128 ; CE 80
adc 127 ; CE 7F
adc 255 ... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
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 %eb... |
BattleCommand_Encore:
; encore
ld hl, wEnemyMonMoves
ld de, wEnemyEncoreCount
ldh a, [hBattleTurn]
and a
jr z, .ok
ld hl, wBattleMonMoves
ld de, wPlayerEncoreCount
.ok
ld a, BATTLE_VARS_LAST_MOVE_OPP
call GetBattleVar
ld b, a
push hl
ld hl, .invalid_moves
call CheckMoveInList
pop hl
jp c, .failed
.got_... |
; -------------------------------------------------------------------------------------------------
; REGISTERS
; -------------------------------------------------------------------------------------------------
.EQU SREG = 0x3F ; avr status register
.EQU SREG_I = 7 ; global interrupt enable
.EQU SREG_T ... |
//
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
// Test tha... |
[bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_READDIR EQU 19
global readdir
readdir:
mov eax, _NR_READDIR
mov ebx, [esp + 4]
int INT_VECTOR_SYS_CALL
ret |
push 512
!define top <[-0]
!define rax [0:64]
!define rbx [64:64]
!define rcx [128:64]
!define rdx [192:64]
!define rex [256:64]
.first-start
ext print, "Input first number to add: "
ext prompt
ext inputnumlen, rax
ext valid, rbx
je rbx, 0, first-fail
jmp first-good
.first-fail
ext print, "Invalid number!\n"
j... |
; A051885: Smallest number whose sum of digits is n.
; 0,1,2,3,4,5,6,7,8,9,19,29,39,49,59,69,79,89,99,199,299,399,499,599,699,799,899,999,1999,2999,3999,4999,5999,6999,7999,8999,9999,19999,29999,39999,49999,59999,69999,79999,89999,99999,199999,299999,399999,499999,599999,699999,799999,899999,999999,1999999,2999999,3999... |
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; shadowssdt asm stub for 5.1.2600-sp3-windows-xp i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 );
_5_1_2600_sp3_windows_xp_NtGdiAbortDoc PROC STDCA... |
; A230312: Squares which cannot be written as the sum of a smaller nonzero square and twice a triangular number.
; 1,4,9,25,49,64,100,144,169,324,400,729,784,1089,1369,1764,2025,2209,3025,3364,3600,3844,3969,4225,4489,5329,5625,6084,6400,7225,7744,8100,8464,10404,10609,11025,12544,13225,13924,14400,15625,16384,16900
a... |
.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, 10
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... |
; Copyright 2015-2020 Matt "MateoConLechuga" Waltz
;
; 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 fol... |
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <unordered_set>
#include <map>
using namespace std;
class Trie {
public:
/** Initialize your data structure here. */
Trie() {
}
/** Inserts a word into the trie. */
void insert(string word) {
dicts.insert(word);
... |
.target "6502"
.org $ff00
LASTOPENL .equ $24
LASTOPENH .equ $25
STOREADDRL .equ $26
STOREADDRH .equ $27
HEXPARSEL .equ $28
HEXPARSEH .equ $29
YSAVE .equ $2A
WOZMODE .equ $2B ;$00=LastOpen, $7f= store, $AE Block examine
INBUF .equ $0200
KEYIN = $D010 ;P... |
TITLE DVPIPE - Support for the PIPE: device
;***
; DVPIPE - device IO support for the PIPE: device
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; This module contains the device specific interface for the pipe
; device.
;
; The following is the pipe dispatch table. Each entry is the addr.
; of the actual... |
;;kernel.asm
;nasm directive - 32 bit
bits 32
section .text
;multiboot spec
align 4
dd 0x1BADB002 ;magic
dd 0x00 ;flags
dd - (0x1BADB002 + 0x00) ;checksum. m+f+c should be zero
global start
extern kmain ;kmain is defined in the c file
start:... |
* QDOS Trap #1 Emulation V2.01 1986 Tony Tebby QJUMP
*
section qd
*
xdef qd_trap1
xdef qd_t1tab
*
include 'dev8_keys_qdos_sms'
include 'dev8_keys_err'
include 'dev8_keys_sys'
include 'dev8_keys_psf'
include 'dev8_smsq_smsq_base_keys'
dc.l 0,0,0,0 sixteen bytes for cache patch
*
* set primary stac... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\TEST_op_BitwiseOr.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
END
|
//////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
//
// File developed by: Ken Esler... |
db 0 ; species ID placeholder
db 41, 64, 45, 50, 50, 50
; hp atk def spd sat sdf
db DRAGON, DRAGON ; type
db 45 ; catch rate
db 67 ; base exp
db NO_ITEM, DRAGON_SCALE ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 40 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/drat... |
; A010699: Period 2: repeat (2,9).
; 2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2
mov $1,$0
mod $1,2
mul $1,7
add $1,2
|
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.