text
stringlengths
1
1.05M
db 0 ; species ID placeholder db 95, 65, 110, 65, 60, 130 ; hp atk def spd sat sdf db DARK, DARK ; type db 45 ; catch rate db 197 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 35 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/umbreon/fr...
; A328982: Sorted list of the numbers of the form 5m+2 (m>=0) together with numbers of the form 5m-2+eps (m>=1), where eps = 1 if the binary expansion of m ends in an odd number of 0's and is otherwise 0. ; Submitted by Christian Krause ; 2,3,7,9,12,13,17,18,22,23,27,29,32,33,37,39,42,43,47,49,52,53,57,58,62,63,67,69,7...
//Language: GNU C++11 /************************************************************************* > File Name: e.cpp > Author: skt > Mail: sktsxy@gmail.com > Created Time: 2015年08月15日 星期六 19时25分31秒 ************************************************************************/ #include <cstring> #i...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x8ded, %r9 nop nop nop nop and $17790, %rbp movb $0x61, (%r9) nop nop nop nop nop xor %r13, %r13 lea addresses_UC_ht+0x1912d, %rbx xor $41744, %r13 vmovups (%rbx), %ymm2 vextr...
; size_t ftoa(float x, char *buf, uint16_t prec, uint16_t flag) SECTION code_stdlib PUBLIC _ftoa EXTERN _dtoa defc _ftoa = _dtoa
; A020749: Pisot sequence T(5,8), a(n) = floor(a(n-1)^2/a(n-2)). ; 5,8,12,18,27,40,59,87,128,188,276,405,594,871,1277,1872,2744,4022,5895,8640,12663,18559,27200,39864,58424,85625,125490,183915,269541,395032,578948,848490,1243523,1822472,2670963,3914487,5736960,8407924,12322412,18059373,26467298,38789711,56849085,833163...
INCLUDE "constants.asm" INCLUDE "palettes.asm" ; rst vectors SECTION "rst 00", ROM0 [$00] jp Init SECTION "rst 08", ROM0 [$08] jp Init DS $5 SECTION "rst 10", ROM0 [$10] rst $38 DS $7 SECTION "rst 18", ROM0 [$18] rst $38 DS $7 SECTION "rst 20", ROM0 [$20] rst $38 DS $7 SECTION "rst 28", ROM0 [$28] ; H...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The ACB coin bt developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sync.h" #include "clientversion.h" #include "util.h" #include "warnings....
;------------------------------------------------------------------------------ ; ; 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. Th...
; A033123: Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,1. ; 1,5,26,131,655,3276,16381,81905,409526,2047631,10238155,51190776,255953881,1279769405,6398847026,31994235131,159971175655,799855878276,3999279391381,19996396956905,99981984784526,499909923922631,2499549619613...
#include "FileReassembler.h" #include "File.h" namespace file_analysis { class File; FileReassembler::FileReassembler(File *f, uint64_t starting_offset) : Reassembler(starting_offset, REASSEM_FILE), the_file(f), flushing(false) { } FileReassembler::FileReassembler() : Reassembler(), the_file(0), flushing(fals...
BITS 32 SEGMENT .text filler: db 0x00 start: add eax, 1 ret
//===--- Driver.cpp - Swift compiler driver -------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; TODO: fix formatting 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: cli ...
// Test provided by Karu //SEQ test 6. Test saving 1 to rt // // Michael McKinley (mckinley) lbi r1, 0x35 lbi r2, 0x35 seq r2, r1, r2 halt
#include "bass/bass.h" #include <stdlib.h> #include <stdio.h> #include "player.h"
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: rfsdStrings.asm AUTHOR: In Sik Rhee, Apr 23, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date D...
; A007179: Dual pairs of integrals arising from reflection coefficients. ; 0,1,1,4,6,16,28,64,120,256,496,1024,2016,4096,8128,16384,32640,65536,130816,262144,523776,1048576,2096128,4194304,8386560,16777216,33550336,67108864,134209536,268435456,536854528,1073741824,2147450880,4294967296,8589869056,17179869184,3435960729...
; A160429: First differences of A160428. ; 8,56,56,392,56,392,392,2744,56,392,392,2744,392,2744,2744,19208,56,392,392,2744,392,2744,2744,19208,392,2744,2744,19208,2744,19208,19208,134456,56,392,392,2744,392,2744,2744,19208,392,2744,2744,19208,2744,19208,19208 mov $1,$0 lpb $1 div $0,2 sub $1,$0 lpe mov $0,7 pow $0...
; A130026: Triangle (n,k) by columns, arithmetic sequences interspersed with k zeros. ; Submitted by Christian Krause ; 1,2,1,3,0,1,4,3,0,1,5,0,0,0,1,6,5,4,0,0,1,7,0,0,0,0,0,1,8,7,0,5,0,0,0,1,9,0,7,0,0,0,0,0,1,10,9,0,0,6,0,0,0,0,1 lpb $0 add $2,1 sub $0,$2 lpe add $0,1 add $1,1 add $2,2 lpb $0 bin $1,$0 sub $2...
SECTION .text global _long_add32 _long_add32: push ebp mov ebp,esp mov edx,[ebp+8] mov eax,[ebp+12] add eax,edx mov edx,[ebp+16] add eax,edx mov edx,[ebp+20] add eax,edx mov esp,ebp pop ebp ret
; A010505: Decimal expansion of square root of 52. ; 7,2,1,1,1,0,2,5,5,0,9,2,7,9,7,8,5,8,6,2,3,8,4,4,2,5,3,4,9,4,0,9,9,1,8,9,2,5,0,2,5,9,3,1,4,7,6,9,0,4,9,2,4,2,5,4,2,0,9,0,6,1,1,2,4,5,4,3,3,3,8,9,6,5,8,6,0,2,0,8,9,0,4,0,9,2,3,8,1,6,4,0,3,6,9,8,1,4,3,5 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov $4,$0 add $4,3 mul $4,2 m...
; A168484: Numbers that are congruent to {2, 3, 5, 7} mod 11. ; 2,3,5,7,13,14,16,18,24,25,27,29,35,36,38,40,46,47,49,51,57,58,60,62,68,69,71,73,79,80,82,84,90,91,93,95,101,102,104,106,112,113,115,117,123,124,126,128,134,135,137,139,145,146,148,150,156,157,159,161,167,168,170,172,178,179,181,183,189,190,192,194,200,201,...
TypeNames: ; entries correspond to types (see constants/type_constants.asm) dw Normal dw Fighting dw Flying dw Poison dw Ground dw Rock dw Bird dw Bug dw Ghost dw Steel dw Normal dw Normal dw Normal dw Normal dw Normal dw Normal dw Normal dw Normal dw Normal dw CurseType dw Fire dw Water dw Grass...
#include <bits/stdc++.h> typedef long long ll; using namespace std; int main(){ int tc; ll n, t = 1; cin>>tc; while(tc--){ cin>>n; ll p[n-1]; for (int i = 0; i < n-1; ++i) { cin>>p[i]; } ll sum = 0, ans = 0, f = 0, l = 0; for (int i = 0; i < n-1; ++i) { sum += p[i]; ans = max(ans,sum); ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rdi push %rsi lea addresses_UC_ht+0x18a99, %rsi nop nop xor %rdi, %rdi mov $0x6162636465666768, %r9 movq %r9, %xmm3 movups %xmm3, (%rsi) nop nop nop nop nop xor $2071, %r12 pop %rsi pop %rdi pop %r9 pop %r12 ret .global s_faulty_load s_faulty_lo...
#include <iostream> class Shape { public: virtual double Area(void) = 0; }; class Triangle : public Shape { private: double base, height; public: Triangle(double b, double h) { base = b; height = h; } double Area(void) { return (0.5 * base * height); } }; usin...
/* MIT License Copyright (c) 2021 Maciej Malecki 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, ...
processor 6502 include "apple1.inc" org $2000 loop lda HOSTRNG bmi slash lda #47 jmp print slash lda #92 print jsr ECHO jmp loop
db 0 ; species ID placeholder db 160, 110, 65, 30, 65, 110 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 25 ; catch rate db 154 ; base exp db LEFTOVERS, LEFTOVERS ; items db GENDER_F0 ; gender ratio db 100 ; unknown 1 db 40 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/snorl...
; Videoton TV Computer C stub ; Sandor Vass - 2022 ; ; Returns the value of L_MODE system variable ; SECTION code_clib PUBLIC tvc_get_linemode INCLUDE "target/tvc/def/tvc.def" .tvc_get_linemode ._tvc_get_linemode ld a,(L_MODE) ld l,a ld h,0 ret
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r8 push %rsi lea addresses_D_ht+0xde59, %r15 nop nop nop inc %r8 vmovups (%r15), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %r14 nop dec %r13 lea addresses_D_ht+0x10f99, %rsi nop nop nop nop inc %r11 movups (%rsi), %x...
; A023536: Convolution of natural numbers with A023532. ; 1,2,4,7,10,14,19,25,31,38,46,55,65,75,86,98,111,125,140,155,171,188,206,225,245,266,287,309,332,356,381,407,434,462,490,519,549,580,612,645,679,714,750,786,823,861,900,940,981,1023,1066,1110,1155,1200,1246,1293,1341,1390,1440,1491,1543,1596,1650,1705,1760,1816,1...
#include "btPGSSolverWrapper.h" #include "CollisionConstraint.h" #include "BulletCollision\NarrowPhaseCollision\btPersistentManifold.h" #include <DirectXMath.h> using namespace DirectX; btScalar btPGSSolverWrapper::solveGroup(btCollisionObject** bodies, int numBodies, btPersistentManifold** manifold, int numManifolds...
; A245552: G.f.: Sum_{n>=0} (2*n+1)*x^(n^2+n+1). ; 0,1,0,3,0,0,0,5,0,0,0,0,0,7,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...
; A280724: Expansion of 1/(1 - x) + (1/(1 - x)^2)*Sum_{k>=0} x^(3^k). ; 1,2,3,5,7,9,11,13,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,233,237,241,245 mov...
; Ohms Law MODEL P35S SEGMENT CODE start: LBL O ; program O init: RPN ; mode RPN read: ; input R, V and I INPUT R ; IF R=0 THEN GOTO 'R=V/I' x=0? GTO calcR INPUT V ; IF V=0 THEN GOTO 'V=R*I' x=0? GTO calcV calcI: ; I=V/R RCL/ R ; display I STO I VIEW I RTN calcR...
[org 0x7c00] KERNEL_OFFSET equ 0x1000 mov [BOOT_DRIVE], dl mov bp, 0x9000 mov sp, bp call load_kernel call load_pm jmp $ %include 'src/bootloader/bootloader_print.asm' %include 'src/bootloader/bootloader_disk.asm' %include 'src/bootloader/bootloader_gdt.asm' %include 'src/bootloader/bootloader_print32.asm' %include...
; A117768: Number of Lucas numbers with n digits. ; 4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5 mov $9,$0 mov $11,2 lpb $11 clr $0,9 mov $0,$9 sub $11,1 ...
SilphCo4Object: db $2e ; border block db $7 ; warps db $0, $18, $1, SILPH_CO_3F db $0, $1a, $1, SILPH_CO_5F db $0, $14, $0, SILPH_CO_ELEVATOR db $7, $b, $3, SILPH_CO_10F db $3, $11, $3, SILPH_CO_6F db $f, $3, $4, SILPH_CO_10F db $b, $11, $5, SILPH_CO_10F db $0 ; signs db $7 ; objects object SPRITE_LAPRAS...
// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2022 by Apex.AI Inc. 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. // You may obtain a copy of the License at // // http:...
; Decompress RLE compressed data V1.00 2002 Marcel Kilgus ; v.1.01 do not write words/LW to odd addresses section driver xdef pt_derle xref gu_achpp ;+++ ; Decompressed RLE compressed data ; ; RLE header: 0 'RLEx' with x either '1', '2' or '4' (item size in bytes) ; 4 size of uncompressed data ; 8+ co...
; A132374: Expansion of c(7x^2)/(1-xc(7x^2)), where c(x) is the g.f. of A000108 . ; Submitted by Jamie Morken(s4) ; 1,1,8,15,120,274,2192,5531,44248,118686,949488,2654646,21237168,61189668,489517344,1443039123,11544312984,34648845862,277190766896,844131474530,6753051796240,20813234394492,166505875155936,518373091849502...
#include "g_local.h" #include "objectives.h" /* ================== CheatsOk ================== */ qboolean CheatsOk( gentity_t *ent ) { if ( !g_cheats->integer ) { gi.SendServerCommand( ent-g_entities, "print \"Cheats are not enabled on this server.\n\""); return qfalse; } if ( ent->health <= 0 ) { gi.SendS...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "bgp/bgp_session.h" #include <algorithm> #include "base/logging.h" #include "base/parse_object.h" #include "bgp/bgp_log.h" #include "bgp/bgp_peer.h" #include "bgp/bgp_session_manager.h" #include "bgp/scheduling_group.h" using namespac...
; ; QSORT - compiled, then hand-adjusted ; Stefano, 29/10/2010 ; ; $Id: qsort_callee.asm,v 1.4 2016-03-04 23:48:13 dom Exp $ ; ; Original code taken from the BDS C by Leor Zolman ; ;void qsort(char *base, unsigned int nel, unsigned int width, void *compar) ;{ int i, j; ; unsigned gap, ngap, t1; ; int jd, t2; ; ; t1...
#include <cstdio> #include <cmath> using namespace std; int N; char c; int main() { scanf("%d %c", &N, &c); int h = round(N / 2.0); for (int i = 0; i < h; i++) { for (int j = 0; j < N; j++) printf("%c", c); if (i != h - 1) printf("\n"); } return 0; }...
; A184653: floor(n*s+h-h*s), where s=(3+sqrt(3))/2, h=-1/2; complement of A184638. ; 3,5,7,10,12,14,17,19,21,24,26,29,31,33,36,38,40,43,45,48,50,52,55,57,59,62,64,66,69,71,74,76,78,81,83,85,88,90,92,95,97,100,102,104,107,109,111,114,116,118,121,123,126,128,130,133,135,137,140,142,145,147,149,152,154,156,159,161,163,166...
;======================================= ; ; MSU-1 Enhanced Audio Patch ; Zelda no Densetsu - Kamigami no Triforce ; Modified for VT Randomizer ; ; Author: qwertymodo ; ; Track List: ; ; 1 - Title ~ Link to the Past ; 2 - Hyrule Field ; 3 - Time of Falling Rain ; 4 - The Silly Pink Rabbit ; 5 - Forest of Mystery ;...
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 002474 bgt $249c [123p+ 34, enemy+34] 00248C move.l A4, ($2c,A0) [123p+ 34, enemy+34] 0024A6 movea.l (A4), A4 [123p+ 34, enemy+34] 0024C2 bgt $24f0 [123p+ 34, enemy+34] 0024DA move.l A4, ($2c,A0) [123p+ 34, enemy+34] 00...
; ; Graphics routines for the Robotron Z9001 ; Stefano - Sept 2016 ; ; $Id: w_pixladdr.asm,v 1.1 2016-09-30 12:20:04 stefano Exp $ ; SECTION code_clib PUBLIC w_pixeladdress INCLUDE "graphics/grafix.inc" ; ; $Id: w_pixladdr.asm,v 1.1 2016-09-30 12:20:04 stefano Exp $ ; ; ******...
; ;Based on the SG C Tools 1.7 ;(C) 1993 Steve Goldsmith ; ;$Id: vdcget.asm,v 1.3 2016-06-16 21:13:07 dom Exp $ ; ;get vdc reg, d = reg, e = val SECTION code_clib PUBLIC vdcget PUBLIC _vdcget vdcget: _vdcget: ld bc,0d600h out (c),d loop2: in d,(c) bit 7,d ...
./out/sar.out: ファイル形式 elf32-mist32 セクション .text の逆アセンブル: 00000000 <_start>: 0: 0d 40 00 00 wl16 r0,0x0 4: 0d 60 00 0f wh16 r0,0xf 8: 1c 00 00 00 srspw r0 c: 14 30 00 18 br 6c <check>,#al 00000010 <compare>: 10: 00 c0 01 09 cmp r8,r9 14: 14 41 03 e0 b rret,#eq 00000...
// Copyright (c) YugaByte, Inc. // // 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 to in writ...
; A291271: The arithmetic function v_4(n,2). ; 0,1,0,2,2,3,2,4,4,5,4,6,6,7,6,8,8,9,8,10,10,11,10,12,12,13,12,14,14,15,14,16,16,17,16,18,18,19,18,20,20,21,20,22,22,23,22,24,24,25,24,26,26,27,26,28,28,29,28,30,30,31,30,32,32,33,32,34,34 add $0,2 mov $1,$0 gcd $1,262148 sub $0,$1 div $0,2
// Copyright (c) 2011-2013 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #define BOOST_TEST_MODULE Bitcoin Test Suite #include "main.h" #include "txdb.h" #include "ui_interface.h" #include "u...
section .text global _start _start: sub ah, ah sub al, '4' sub al, '3' aas or al, 30h mov [result], ax mov edx, len mov ecx, msg mov ebx, 1 mov eax, 4 int 0x80 ;kernel mov edx, 1 mov ecx, result mov ebx, 1 mov eax, 4 int 0x80 mov eax, 1 ...
; A015001: q-factorial numbers for q=3. ; 1,1,4,52,2080,251680,91611520,100131391360,328430963660800,3232089113385932800,95424198983606279987200,8452007576574959037306265600,2245867453247498115393020895232000,1790317944898228845164815929864036352000,4281516720136995911550134659214965111226368000,30717540477337030728608...
; A020786: Decimal expansion of 1/sqrt(29). ; Submitted by Christian Krause ; 1,8,5,6,9,5,3,3,8,1,7,7,0,5,1,8,6,3,1,4,6,5,7,6,2,2,3,8,4,6,2,1,8,2,6,0,5,6,1,9,0,0,6,9,5,2,2,9,1,3,0,6,4,9,5,7,5,1,8,5,8,1,6,2,0,7,4,7,0,5,5,0,4,4,2,3,3,3,0,5,8,3,7,5,0,5,6,3,3,7,2,9,9,3,0,4,6,7,1,8 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov ...
dnl AMD K6-2 mpn_popcount, mpn_hamdist -- mpn bit population count and dnl hamming distance. dnl Copyright 2000, 2001, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of ...
; A108171: Tribonacci version of A076662 using beta positive real Pisot root of x^3 - x^2 - x - 1. ; 4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3,4,3,3,4,3,4,3,3 mov $5,$0 mov $7,2 l...
; A076839: A simple example of the Lyness 5-cycle: a(1) = a(2) = 1; a(n) = (a(n-1)+1)/a(n-2) (for n>2). ; 1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,2 bin...
; A208971: Number of 4-bead necklaces labeled with numbers -n..n allowing reversal, with sum zero and first and second differences in -n..n. ; 1,3,4,8,11,18,24,35,45,61,76,98,119,148,176,213,249,295,340,396,451,518,584,663,741,833,924,1030,1135,1256,1376,1513,1649,1803,1956,2128,2299,2490,2680,2891,3101,3333,3564,3818,...
org $c2ecbb base $82ecbb jsr seed_display org $c2f800 base $82f800 seed_display: pha phx php rep #$30 lda.l $420000 and #$003f asl asl asl tay ldx #$0000 - lda WordTable, y and #$00ff asl phx tax lda CharTable, x plx sta $7fc052, x inx inx...
; ; FILENAME : f64_fpclass.asm ; ; DESCRIPTION : ; different implementation of fma ops ; some of them are not "perfect" fma operations ; they only use the additional 11bits of precision ; between f64 and f80 ; ; assembly module written for MASM/NASM ; ; AUTHOR : Rainer Erdmann ; ; ...
#ifndef SNDRIFT_WIRE_HH #define SNDRIFT_WIRE_HH #include <mutex> //local #include "utils.hh" #include "geomodel.hh" #include "fields.hh" //*********************************** // Charge signal class // to be used as an interface // to the algorithm. //*********************************** class Electrode { private: ...
; A084088: a(n) = 2 mod 3 and exponent of highest power of 2 dividing a(n) is even. ; Submitted by Jon Maiga ; 5,11,17,20,23,29,35,41,44,47,53,59,65,68,71,77,80,83,89,92,95,101,107,113,116,119,125,131,137,140,143,149,155,161,164,167,173,176,179,185,188,191,197,203,209,212,215,221,227,233,236,239,245 mov $1,14 mov $2,$...
; A059721: Mean of first six positive powers of n, i.e., (n + n^2 + n^3 + n^4 + n^5 + n^6)/6. ; 0,1,21,182,910,3255,9331,22876,49932,99645,185185,324786,542906,871507,1351455,2034040,2982616,4274361,6002157,8276590,11228070,15009071,19796491,25794132,33235300,42385525,53545401,67053546,83289682,102677835,125689655,1528...
; A032119: Number of labeled series-reduced dyslexic planted planar trees (root unlabeled) with n leaves. ; Submitted by Christian Krause ; 1,1,6,57,750,12645,260190,6322365,177181830,5625873225,199608636150,7826601269025,336070622037150,15684327120386925,790493799998652750,42790196611446409125,2475921578709979149750,1...
// // MailStream.cpp // // $Id: //poco/1.4/Net/src/MailStream.cpp#1 $ // // Library: Net // Package: Mail // Module: MailStream // // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Net/MailStream.h" namespace Poc...
; A319392: a(n) = Sum_{k=0..n} (-1)^(n-k)*binomial(n,k)*k!*n^k. ; Submitted by Jon Maiga ; 1,0,5,116,4785,307024,28435285,3598112580,596971515329,125802906617600,32834740225688901,10399056510149276980,3929349957207906673585,1746371472945523953503376,901944505258819679842017365,535692457387043907059336566724,36257337662...
; A158622: Numerator of the reduced fraction A158620(n)/A158621(n). ; 7,13,7,31,43,19,73,91,37,133,157,61,211,241,91,307,343,127,421,463,169,553,601,217,703,757,271,871,931,331,1057,1123,397,1261,1333,469,1483,1561,547,1723,1807,631,1981,2071,721,2257,2353,817,2551,2653,919,2863,2971,1027,3193,3307,1141,3541,3661,1261,...
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl -0x4(%ecx) ...
// 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 <boost/assign/list_of.hpp> // for 'map_list_of()' #include <boost/foreach.hpp> #include "checkpoints.h" #include "t...
// Copyright (c) 2011-2013 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "receiverequestdialog.h" #include "ui_receiverequestdialog.h" #include "bitcoinunits.h" #include "guiconstants.h" #...
push x22322a562195d1aca36ac4b590adb746cf34e80539a6df0ba0b5e5d93536f611 push 7 push "transferOwnership" push xF5AB1676D87235E4B5B1830C00A5BC783B9A58D2DC9AFE23D5FA387F1C80736E push 3 pcall
// Aula02 - MDC.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> int mdc(int,int,int &); int main() { int i, mdc_ab, iteracoes = 0, maximaIteracao = 0; for(i=104;i<10000000;i++){ mdc_ab = mdc(i,103,iteracoes); if(iteracoes > 8) p...
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset3_to_opset2/convert_topk3.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include <ngraph/opsets/opset2.hpp> #include <ngraph/opsets/opset3.hpp> #include <ngraph...
; fibonacci.asm ; (nasm syntax) ; 0xDEADC0DE ; CS310 ; ; Use a loop to calculate and print the first 7 fibonacci numbers global _start ; %include "Along32.inc" ; section .text ; function fib ; takes one parameter: ecx -- return the ecx'th fibonacci number ; returns the value in eax fib: cmp ecx, 2 ; special-case ...
; -------------------------------------- ; Test SHLD. ; ; Store the HL register pair byte values ; into a memory address byte and the mem...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x11af3, %rax nop nop nop nop nop xor $80, %rdx movb (%rax), %cl nop and $52237, %rbx lea addresses_A_ht+0xaeaa, %r15 nop cmp $17799, %rdx mov $0x6162636465666768, %rbx movq %...
//: S08:GlobalConst.cpp // From "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions Guide" // by Chuck Allison, (c) 2001 MindView, Inc. all rights reserved // Available at www.BruceEckel.com. const int n = 100; const int m = n + 2; int main() { } ///:~
adc a', (hl) ; Error adc a', (ix) ; Error adc a', (ix+127) ; Error adc a', (ix-128) ; Error adc a', (iy) ; Error adc a', (iy+127) ; Error adc a', (iy-128) ; Error adc a', -128 ; Error ...
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "application-bell-settings/ApplicationBellSettings.hpp" #include "BellSettingsAlarmSettingsMenuWindow.hpp" #include "BellSettingsAlarmSettingsWindow.hpp" #include "BellSetting...
Name: ys_w57.asm Type: file Size: 16159 Last-Modified: '2016-05-13T04:50:34Z' SHA-1: EBD2817E8EEF19D2AF467ECBC8C640D9FAD51709 Description: null
Map_360DD0: dc.w Frame_360DD8-Map_360DD0 dc.w Frame_360DEC-Map_360DD0 dc.w Frame_360E00-Map_360DD0 dc.w Frame_360E08-Map_360DD0 Frame_360DD8: dc.w 3 dc.b $F4, 5, 0, $A,$FF,$E8 dc.b $F4, 9, 0, 0,$FF,$F8 dc.b 4, $C, 0, 6,$FF,$F0 Frame_360DEC: dc.w 3 dc.b $F4, 5, 0, $E,$FF,$E8 dc.b $F4, 9, 0, ...
; --------------------------------------------------------------------------- ; Animation script - Burrobot enemy ; --------------------------------------------------------------------------- dc.w byte_AE4C-Ani_obj2D dc.w byte_AE50-Ani_obj2D dc.w byte_AE54-Ani_obj2D dc.w byte_AE58-Ani_obj2D byte_AE4C: dc.b 3, 0...
#include "stone/Driver/Driver.h" #include "stone/Driver/ToolChain.h" using namespace stone; using namespace stone::driver; DarwinToolChain::DarwinToolChain( const Driver &driver, const llvm::Triple &triple, const llvm::Optional<llvm::Triple> &targetVariant) : ToolChain(driver, triple), targetVariant(targe...
format ELF public main include 'ccall.inc' section '.text' executable align 16 main: mov ecx,[esp+4] mov [argc],ecx mov ebx,[esp+8] mov [argv],ebx mov [display_handle],1 call get_params jnc make_listing mov esi,_usage call display_string ccall exit,2 make_listing: call listing ccall exit,0 ...
db 0 ; 376 DEX NO db 80, 135, 130, 70, 95, 90 ; hp atk def spd sat sdf db STEEL, PSYCHIC ; type db 3 ; catch rate db 210 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 100 ; unknown 1 db 40 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hoenn/metagross/f...
// // main.cpp // CMakeGTestExample // // Created by John Kaniarz on 4/29/20. // Copyright © 2020 John Kaniarz. All rights reserved. // #include "code.hpp" #include <iostream> int main(int argc, const char * argv[]) { std::cout << "3 + 4 = " << add(3,4) << std::endl; return 0; }
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx push %rcx lea addresses_UC_ht+0x9062, %rax nop nop nop nop nop sub %r12, %r12 mov $0x6162636465666768, %r14 movq %r14, %xmm6 and $0xffffffffffffffc0, %rax movntdq %xmm6, (%rax) add $39308, %rbx lea addresses_UC_ht+0x17852, %r14 nop nop...
/*****************************************************************************/ // Copyright 2008 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file in // accordance with the terms of the Adobe license agreement accompanying it. /****************...
; A256135: a(n) = 5^A000120(n). ; 1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625,5,25,25,125,25,125,125,625,25,125,125,625,125,625,625,3125,5,25,25,125,25,125,125,625,25,125,125,625,125,625,625,3125,25,125,125,625,125,625,625,3125,125,625,625,3125,625,3125,3125,15625 mov $1,$0 lpb $1 div $0,2 sub $1,$0 lpe mov $0...
; A049086: Number of tilings of 4 X 3n rectangle by 1 X 3 rectangles. Rotations and reflections are considered distinct tilings. ; 1,3,13,57,249,1087,4745,20713,90417,394691,1722917,7520929,32830585,143313055,625594449,2730863665,11920848033,52037243619,227154537661,991581805481,4328482658041,18894822411423,82480245888...
/* * Copyright (c) 2020, NVIDIA 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 law ...
; ; Mattel Aquarius routines ; by Stefano Bodrato, Fall 2013 ; ; int set_psg(int reg, int val); ; ; Play a sound by PSG ; ; ; $Id: psg_init.asm,v 1.2 2015/01/19 01:33:04 pauloscustodio Exp $ ; PUBLIC psg_init psg_init: ld e,@01010101 xor a ; R0: Channel A frequency low bits call outpsg ld e,a ld d,12 psg_i...
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at ww...
global extended_add extended_add: mov rax, rdi add rax, rsi add rax, rdx add rax, rcx ret
; Small C+ Z88 Support Library ; ; Increment long by 1 ; ; djm 21/2/99 ; Rewritten so that I know it works properly! SECTION code_crt0_sccz80 PUBLIC l_inclong .l_inclong inc l ret nz inc h ret nz inc de ret ; inc hl ; ...