text
stringlengths
1
1.05M
/* Copyright 2020 The TensorFlow Authors. 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; XSetBv.nasm ; ; Abstract: ; ; AsmXSetBv function ; ; Notes: ; ;-------------------------------------...
; Starter Point #begin E000h ; Locate code in this address #org E000h ; Setting the value of some Registers MVI H,BEh MVI L,EFh ; Operate with the Accumulator ADD H SUB L ADI 30h SUI FFh ; INR - Increment Register by one INR A ; DCR - Decrement Register by one DCR A ; Stop the program HLT ; End Code Section #en...
; double log(double x) SECTION code_fp_math48 PUBLIC am48_log EXTERN mm48_ln ; compute natural logarithm of AC' ; ; enter : AC' = double x ; ; exit : success ; ; AC' = ln(x) ; carry reset ; ; fail on domain error ; ; AC' = -inf ; ...
%macro INI 0 push ebp mov ebp, esp pusha %endmacro %macro END 0 popa mov esp, ebp pop ebp %endmacro global paint_actual_power paint_actual_power: INI %define punt_map [ebp + 12] %define punt_actual_power [ebp + 8] mov esi, punt_map add esi, 80 mov [esi], byte 'P' add esi, 4 ...
; Code for Zolatron 64 6502-based microcomputer. ; ; GitHub: https://github.com/mspeculatrix/Zolatron64/ ; Blog: https://mansfield-devine.com/speculatrix/category/projects/zolatron/ ; ; Written for the Beebasm assembler ; Assemble with: ; beebasm -v -i TESTB.asm CPU 1 ; use 65C02 instruct...
#include "bits_of_matcha/random.h" #include "bits_of_matcha/engine/tensor/factories.h" #include "bits_of_matcha/engine/ops/Uniform.h" #include "bits_of_matcha/engine/ops/Normal.h" #include <random> using namespace matcha::engine; namespace matcha { random::Uniform uniform; random::Normal normal; } namespace matc...
.file "newoffsets" .init main .int8 small 42 .int8 tiny 9 .int64 nice 69 <loads: ldb r0 $0(gs) ; 42 ldw r1 $2(gs) ; 69 stb $0(gs) r0 ; Stores 42 where it came from stw $2(gs) r1 ; Stores 400 where it came from ldb r0 $0(gs) ; 42 ldw r1 $2(gs) ; 69 > <do_push: push ls r0 ; Pushes LSB to l...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A239126: Rectangular array showing the starting values M(n, k), k >= 1, for the Collatz operation (ud)^n, n >= 1, ending in an odd number, read by antidiagonals. ; Submitted by Jon Maiga ; 3,7,7,11,15,15,15,23,31,31,19,31,47,63,63,23,39,63,95,127,127,27,47,79,127,191,255,255,31,55,95,159,255,383,511,511,35,63,111,191...
; A022310: a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=5. ; 0,5,6,12,19,32,52,85,138,224,363,588,952,1541,2494,4036,6531,10568,17100,27669,44770,72440,117211,189652,306864,496517,803382,1299900,2103283,3403184,5506468,8909653,14416122,23325776,37741899,61067676,98809576,159877253,258686830,418564084,677250915,1095...
/* * Copyright (C) 2014 Intel Corporation. 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
db "BONEKEEPER@" ; species name dw 303, 990 ; height, weight db "Somewhere in the" next "world is a ceme-" next "tery just for" page "MAROWAK. It gets" next "its bones from" next "those graves.@"
; A169963: Number of (2n+1)-digit squares in carryless arithmetic mod 10. ; Submitted by Jamie Morken(s2) ; 5,46,452,4504,45008,450016,4500032,45000064,450000128,4500000256,45000000512,450000001024,4500000002048,45000000004096,450000000008192,4500000000016384,45000000000032768,450000000000065536,4500000000000131072,450...
/* * Copyright (c) 2019 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 ...
; A311225: Coordination sequence Gal.6.216.1 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 Jamie Morken(s3) ; 1,4,8,12,16,20,26,30,34,38,42,46,50,54,58,62,66,72,76,80,84,88,92,96,100,104,108,112,118,122,126,130,134,138...
//$Id: $ //------------------------------------------------------------------------------ // BodyFixedStateConverter //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2018 United States Government as...
// 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...
.code main PROC main ENDP END
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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 // // See http://kylelutz.gi...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; Serial libraries ; serial control commands ; ; ------ ; $Id: ozsetbaud.asm,v 1.1 2003/10/22 09:56:34 stefano Exp $ ; XLIB ozsetbaud ozsetbaud: ld hl,2 add hl,s...
; A022366: Fibonacci sequence beginning 0, 32. ; 0,32,32,64,96,160,256,416,672,1088,1760,2848,4608,7456,12064,19520,31584,51104,82688,133792,216480,350272,566752,917024,1483776,2400800,3884576,6285376,10169952,16455328,26625280,43080608,69705888,112786496,182492384,295278880,477771264,773050144,1250821408,2023871552,32...
; A112073: Odd numbers n for which 5 is the smallest i (>= 1) with Jacobi symbol J(i,n) getting either a value 0 or -1. ; 23,25,47,73,95,97,143,145,167,193,215,217,263,265,287,313,335,337,383,385,407,433,455,457,503,505,527,553,575,577,623,625,647,673,695,697,743,745,767,793,815,817,863,865,887,913,935,937,983,985,1007...
; =========================================================================== ; * S1HS - Levels order in Level Select Menu * ; =========================================================================== ; This file stores level order in level select menu ; The format of each item is: ZZAA...
; A315479: Coordination sequence Gal.6.210.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. ; Submitted by Simon Strandgaard ; 1,6,11,16,21,27,33,39,45,50,55,60,66,72,77,82,87,93,99,105,111,116,121,126,132,138,143,148,153,159,165,171,...
.include "myTiny13.h" ; This Programm analysed 2 bytes to make a sequence of numbers ; who represents the LEDs, which have to be ON : ; ; Positions (0=off) ; --------------------- ; 11,10, 9, 8 ; 15,14,13,12 ; 23,22,21,20 ; 19,18,17,16 ; Register to Load up- and down-Byte U = 19 D = 20 Main: ;initial values ldi ...
; stores hl in [wTrainerHeaderPtr] StoreTrainerHeaderPointer:: ld a, h ld [wTrainerHeaderPtr], a ld a, l ld [wTrainerHeaderPtr+1], a ret ; executes the current map script from the function pointer array provided in de. ; a: map script index to execute (unless overridden by [wd733] bit 4) ; hl: trainer header poin...
; Version symbols char_ikarus_symb db 'IKARUS_VERSION', 0 char_lego_symb db 'LEGO_VERSION', 0 char__repeat db '_REPEAT', 0 char__repeat_len equ $-char__repeat char__while db '_WHILE', 0 ; Preserved Gothic symbols keep_func_symbol_start db 'INIT_GLOBAL', ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2008, 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 distributi...
/** * Mojang Session API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2020-06-05 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the c...
main: clear filters filterop and table orders clear filter filter field,give_asset filter op,== filter value,PEPEBALT push filter clear filter filter field,give_quantity filter op,>= filter value,5 push filter get_table list.0 load_len list.0,int.0 loop: rlcmp int.0,0 jz endloop ...
copyright zengfr site:http://github.com/zengfr/romhack 08C0EC move.b ($a8,A6), ($517,A5) 08C0F2 jsr $189c.l [base+517] copyright zengfr site:http://github.com/zengfr/romhack
; A183868: a(n) = n + floor(2*sqrt(n+1)); complement of A079524. ; 3,5,7,8,9,11,12,14,15,16,17,19,20,21,23,24,25,26,27,29,30,31,32,34,35,36,37,38,39,41,42,43,44,45,47,48,49,50,51,52,53,55,56,57,58,59,60,62,63,64,65,66,67,68,69,71,72,73,74 mov $2,$0 add $0,2 mul $0,4 mov $1,$2 mov $2,2 lpb $0,1 sub $0,$2 trn $0,1 ...
// license:BSD-3-Clause // copyright-holders:Chris Hardy /*************************************************************************** Roc'n Rope (c) 1983 Konami Based on drivers from Juno First emulator by Chris Hardy (chrish@kcbbs.gen.nz) *********************************************************************...
#pragma once #include <bit> #include <cstdint> #include <concepts> #include <iostream> #include <limits> #include <stdexcept> #include <vector> #include <tdc/util/index.hpp> #include "stats.hpp" namespace tdc { namespace comp { namespace lz77 { namespace qgram { template<typename char_t, bool m_mtf> class TrieProc...
first: .code seventh fifth_length .data 0x1234567890123456789012345678901234567890123456789012345678901234 second: 0x1234567890123456789012345678901234567890123456789012345678901234 third: 0x1234567890123456789012345678901234567890123456789012345678901234 0x12345678901234567890123456789012345678901234567890123456789012...
SECTION code_fp_math48 PUBLIC deq EXTERN cm48_sccz80p_deq defc deq = cm48_sccz80p_deq
;Copyright (c) 2016, Kyle D Pelton ;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 copyright notice, this ; list of conditions and the fol...
;* * * * * Small-C/Plus z88dk * * * * * ; Version: 16668-1b318d7b8-20200708 ; ; Reconstructed for z80 Module Assembler ; ; Module compile time: Sat Jul 11 20:26:34 2020 C_LINE 0,"log2f16.c" MODULE log2f16_c INCLUDE "z80_crt0.hdr" C_LINE 40,"log2f16.c" C_LINE 0,"math16.h" C_LINE 0,"/home/phillip/Z80/z88dk...
; A315637: Coordination sequence Gal.6.352.6 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 Christian Krause ; 1,6,12,16,20,26,32,36,40,46,52,58,64,68,72,78,84,88,92,98,104,110,116,120,124,130,136,140,144,150,156,162,16...
;=============================================================================== ; GBSound.asm ; 2000.03.06 by Abe Pralle ;=============================================================================== MPRINT: MACRO push bc ld a,\4 ld [textColor],a ld b,\2 ...
/* CirKit: A circuit toolkit * Copyright (C) 2009-2015 University of Bremen * Copyright (C) 2015-2017 EPFL * * 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, in...
#include <bits/stdc++.h> using namespace std; vector<int> coins(3); int dp[4][4010]; bool vis[4][4010]; int func( int pos, int left ) { if (left == 0) return 0; if (pos == 3) return -1e8; if (vis[pos][left]) return dp[pos][left]; vis[pos][left] = 1; int p = -1e8, q = -1e8; if ( left - coin...
db 0 ; species ID placeholder db 70, 80, 65, 85, 90, 65 ; hp atk def spd sat sdf db NORMAL, PSYCHIC ; type db 60 ; catch rate db 149 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/girafarig/front.dimensions" db GROWTH_MEDIUM...
/* This file contains the floating-point save and restore routines. * * Copyright (C) 2004, 2009 Free Software Foundation, Inc. * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ve...
; A319795: a(n) = n^(n+1)/(n-1)^n for n>1, rounded to nearest integer. ; 8,10,13,15,18,21,23,26,29,31,34,37,40,42,45,48,50,53,56,59,61,64,67,69,72,75,78,80,83,86,88,91,94,97,99,102,105,107,110,113,116,118,121,124,126,129,132,135,137,140,143,145,148,151,154,156,159,162,164 mov $3,$0 mul $0,2 add $0,2 mov $2,8 trn $2,$0...
serialLnBC: push af push hl push bc push de ld hl, bc jr serialLn2 serialLnHL: push af push hl push bc push de serialLn2: ld de, numstr ; Get the number in hl as text in de ld bc, -10000 call one ld bc, -1000 call one ld bc, -100 call one ld bc, -10 call one ld c, -1 call on...
; A073718: Powers of 2 with composite exponents. ; 16,64,256,512,1024,4096,16384,32768,65536,262144,1048576,2097152,4194304,16777216,33554432,67108864,134217728,268435456,1073741824,4294967296,8589934592,17179869184,34359738368,68719476736 cal $0,72668 ; Numbers one less than composite numbers. cal $0,290114 ; Decimal...
; A084850: 2^(n-1)*(n^2+2n+2). ; 1,5,20,68,208,592,1600,4160,10496,25856,62464,148480,348160,806912,1851392,4210688,9502720,21299200,47448064,105119744,231735296,508559360,1111490560,2420113408,5251268608,11358175232,24494735360 mov $1,$0 add $0,1 pow $1,2 add $1,$0 add $1,$0 mov $2,2 pow $2,$0 mul $1,$2 mov $0,$1 div...
; A290312: Third diagonal sequence of the Sheffer triangle A094816 (special Charlier). ; 1,8,29,75,160,301,518,834,1275,1870,2651,3653,4914,6475,8380,10676,13413,16644,20425,24815,29876,35673,42274,49750,58175,67626,78183,89929,102950,117335,133176,150568,169609,190400,213045,237651,264328,293189,324350,357930,394051,4...
; A080676: a(1) = 1; for n>1, a(n) is the smallest number > a(n-1) such that the first n terms of the sequence contain a total of a(n) digits. ; 1,2,3,4,5,6,7,8,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,102,105,108,111,114,11...
;/**************************************************************************** ; * ; * XVID MPEG-4 VIDEO CODEC ; * - MMX and XMM YUYV<->YV12 conversion - ; * ; * Copyright(C) 2002 Peter Ross <pross@xvid.org> ; * ; * This program is free software; you can redistribute it and/or modify it ; * under the terms of the ...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld a, ff ldff(45), a ld b, 91 call lwaitly_b ld hl, fe00 ld d, 10 ld a, d ld(hl++), a ld a, 08 ld(hl++), a inc l inc l ld a, d ld(hl++), ...
// // Stroustrup - Programming Principles & Practice // // Chapter 24 Exercise 3 // // Write an apply(f,a) that can take a void (T&), a T (const T&) and their // function object equivalents. // // This is indicated to be "Expert only" so I'll put this on the back-burner // and potentially use it when I look at Boost m...
//---------------------------------------------------------------------------- // File: DXUTRes.cpp // // Copyright (c) Microsoft Corp. All rights reserved. //----------------------------------------------------------------------------- #include "DXUT.h" #include "DXUTres.h" static const DWORD g_DXUTGUITextureSrcData[...
section .text global steps steps: ; Provide your implementation here ret
; A308580: a(n) = 3*2^n + n^2 - n. ; Submitted by Jon Maiga ; 3,6,14,30,60,116,222,426,824,1608,3162,6254,12420,24732,49334,98514,196848,393488,786738,1573206,3146108,6291876,12583374,25166330,50332200,100663896,201327242,402653886,805307124,1610613548,3221226342,6442451874,12884902880,25769804832 mov $1,2 pow $1,$0 m...
object_const_def ; object_event constants OreburghApartmentNW1F_MapScripts: db 0 ; scene scripts db 0 ; callbacks OreburghApartmentNW1F_KidScript: jumptextfaceplayer .Text .Text: text "A GYM LEADER isn't" line "like just any" cont "TRAINER you meet." para "Obviously, they're" line "a lot tougher." cont "A...
; void *tshc_saddrpright(void *saddr, uint bitmask) SECTION code_clib SECTION code_arch PUBLIC tshc_saddrpright EXTERN zx_saddrpright defc tshc_saddrpright = zx_saddrpright ; SDCC bridge for Classic IF __CLASSIC PUBLIC _tshc_saddrpright defc _tshc_saddrpright = tshc_saddrpright ENDIF
#include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <string> #include <iostream> #include <dirent.h> #include <cstring> #include <errno.h> #include <attr/xattr.h> #include "../BaseTestCase.h" #include "../../user_tools/api/workload.h" #include "../../user_tools/api/actions.h" ...
; ; Boot sector - Enters kernel in 32-bit PM ; ;[bits 16] ; CPU boots in 16-bit real mode for back compatibility. [org 0x7c00] ; account for memory offset as loaded by BIOS ; this is done with assembler directives rather ; than memory segmentation to save bytes in the MBR. KERNEL_OFFSET equ 0x1000 ; as...
; A008864: a(n) = prime(n) + 1. ; Submitted by Jamie Morken(s3) ; 3,4,6,8,12,14,18,20,24,30,32,38,42,44,48,54,60,62,68,72,74,80,84,90,98,102,104,108,110,114,128,132,138,140,150,152,158,164,168,174,180,182,192,194,198,200,212,224,228,230,234,240,242,252,258,264,270,272,278,282,284,294,308,312,314,318,332,338,348,350,354...
#include "appsettings.h" AppSettings::AppSettings(QObject *parent) : QObject(parent) { auto fileName = qApp->applicationDirPath() + "/config.ini"; settings_ = new QSettings(fileName, QSettings::IniFormat, this); settings_->setIniCodec("UTF-8"); } AppSettings::~AppSettings() {} int AppSettings::theme() const { ...
; A336861: a(n) = ceiling((n-1-sqrt(n+1))/2). ; 0,0,0,1,1,2,2,2,3,3,4,4,5,5,5,6,6,7,7,8,8,9,9,9,10,10,11,11,12,12,13,13,14,14,14,15,15,16,16,17,17,18,18,19,19,20,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,27,28,28,29,29,30,30,31,31,32 mov $3,$0 mov $5,$0 lpb $5,1 mov $0,$3 sub $5,1 sub $0,$5 mov $2,$0 m...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t wa_stack_size(wa_stack_t *s) ; ; Return number of words in stack. ; ; =============================================================== SECTION code_adt_wa_stack PU...
#include "testing/testing.hpp" #include "indexer/data_source.hpp" #include "indexer/feature_utils.hpp" #include "indexer/features_vector.hpp" #include "indexer/mwm_set.hpp" #include "platform/local_country_file.hpp" #include "platform/preferred_languages.hpp" #include <string> namespace feature_names_test { using n...
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaGUIGizmoRotateTest Authors: Stefano Perticoni Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; withou...
//---------------------------------------------------------------------------// // Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
;NES Copper Bars demo ;Run program for description ;Quietust, 2004/10/06 .org $0000 ptr: .block 2 ;for initializing VRAM vbflag: .block 1 ;signal when we've gotten an NMI overflow: .block 1 ;1/3 cycle counter rbars: .block $06 ;this holds the position of each bar ctabl: .block $02 ;(padding) .block $C0 ;this store...
;Testname=unoptimized; Arguments=-O0 -fbin -oavx.bin; Files=stdout stderr avx.bin ;Testname=optimized; Arguments=-Ox -fbin -oavx.bin; Files=stdout stderr avx.bin bits 64 blendvpd xmm2,xmm1,xmm0 vblendvpd xmm2,xmm1,xmm0,xmm0 vblendvpd xmm2,xmm1,xmm0 vblendvpd ymm2,ymm1,ymm0,ymm0 vblendvpd ymm2,y...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t wv_priority_queue_max_size(wv_priority_queue_t *q) ; ; Return maximum size of the priority_queue. ; ; ==============================================================...
//-------------------------------------------------------------------------------------- // File: HDRToneMappingCS11.cpp // // Demonstrates how to use Compute Shader to do post-processing // // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
LI D, 0xff beginning: LI A, 254 LI B, 255 CMP CMP LXY not_equal JNE NOP NOP LI D, 1 HLT not_equal: LI D, 0 HLT
// // Copyright (C) 2017-2018 Google, Inc. // Copyright (C) 2017 LunarG, Inc. // // 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 source code must retain the abov...
; A005076: Sum of cubes of primes = 2 mod 3 dividing n. ; Submitted by Jon Maiga ; 0,8,0,8,125,8,0,8,0,133,1331,8,0,8,125,8,4913,8,0,133,0,1339,12167,8,125,8,0,8,24389,133,0,8,1331,4921,125,8,0,8,0,133,68921,8,0,1339,125,12175,103823,8,0,133,4913,8,148877,8,1456,8,0,24397,205379,133,0,8,0,8,125,1339,0,4921,12167,133,35...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ; $Id: w_circle.asm,v 1.2 2015/01/19 01:32:46 pauloscustodio Exp $ ; ;Usage: circle(struct *pixels) PUBLIC circle EXTERN w_draw_circle EXTERN w_pl...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_settile0data...
;====================================================================================================================== ; FAMISTUDIO SOUND ENGINE (3.3.0) ; Copyright (c) 2019-2022 Mathieu Gauthier ; ; Copying and distribution of this file, with or without ; modification, are permitted in any medium without royalty prov...
; Copyright Oliver Kowalke 2009. ; 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) ; ---------------------------------------------------------------------------------- ; | 0 |...
SECTION code_fp_am9511 PUBLIC cam32_sdcc___fsgt EXTERN asm_am9511_compare ; Entry: stack: float right, float left, ret .cam32_sdcc___fsgt call asm_am9511_compare jr Z,gt1 ccf ret C .gt1 dec hl ret
; A151669: G.f.: Product_{k>=0} (1 + 2*x^(4^k)). ; Submitted by Jon Maiga ; 1,2,0,0,2,4,0,0,0,0,0,0,0,0,0,0,2,4,0,0,4,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,0,4,8,0,0,0,0,0,0,0,0,0,0,4,8,0,0,8,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $1,1 lpb $0 mov $2,1 lpb $0 di...
; A029610: Numbers to the left of the central numbers of the (2,3)-Pascal triangle A029600. ; Submitted by Simon Strandgaard ; 2,2,2,7,2,9,2,11,24,2,13,35,2,15,48,85,2,17,63,133,2,19,80,196,308,2,21,99,276,504,2,23,120,375,780,1134,2,25,143,495,1155,1914,2,27,168,638,1650,3069,4224,2,29,195,806,2288,4719,7293,2,31,224,...
COMMENT @---------------------------------------------------------------------- Copyright (c) Geoworks 1992-1994 -- All Rights Reserved PROJECT: GEOS MODULE: Studio FILE: documentAttributeManager.asm ROUTINES: Name Description ---- ----------- INT RelayCommon Handle a request to substitute a...
#include "Timer.h" #include "SDL_timer.h" Timer::Timer() { } Timer::~Timer() { } void Timer::Start() { initTime = SDL_GetTicks(); timerOn = true; } int Timer::Read() { float time = 0.0f; if (timerOn) { time = (SDL_GetTicks() - initTime + skippedTime); } return time; } float Timer::ReadSeconds() { floa...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x17aeb, %r11 nop nop nop nop nop sub %rdx, %rdx mov $0x6162636465666768, %rdi movq %rdi, (%r11) cmp %rax, %rax lea addresses_D_ht+0x1e45b, %r9 nop nop nop nop nop xor %rcx, %rc...
MODULE __scanf_get_number SECTION code_clib PUBLIC __scanf_get_number EXTERN scanf_exit EXTERN __scanf_ungetchar EXTERN __scanf_getchar EXTERN l_long_neg EXTERN l_long_mult EXTERN asm_toupper ; hl = fmt ; de = destination ; b = radix __scanf_get_number: push hl ...
// // main.cpp // Byte_logical_function // // Created by Александр Ноянов on 24/02/2019. // Copyright © 2019 MPEI. All rights reserved. // #include <iostream> using namespace std; bool f(bool x1,bool x2,bool x3) { return x1&&(!x2)&&x3 | (!x1)&&x2&&x3 | (!x1)&&x2&&(!x3) | (x1)&&(x2)&&x3 | (!x1)&&(!x2)&&(!x3)...
; A125687: The base 6 numbers 4 44 444 4444 44444 ... converted to base 10. ; 4,28,172,1036,6220,37324,223948,1343692,8062156,48372940,290237644,1741425868,10448555212,62691331276,376147987660,2256887925964,13541327555788,81247965334732,487487792008396,2924926752050380,17549560512302284 mov $1,6 pow $1,$0 div $1,5 mul...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0xf3b9, %rsi lea addresses_UC_ht+0x1cab9, %rdi nop nop nop and $64943, %r15 mov $101, %rcx rep movsq nop nop nop nop lfence lea addresses_WC_ht+0x1d739, %r10 nop xor $35778, %r12 and $0x...
; A304725: a(n) = n^4 + 8*n^3 + 20*n^2 + 16*n + 2. ; 2,47,194,527,1154,2207,3842,6239,9602,14159,20162,27887,37634,49727,64514,82367,103682,128879,158402,192719,232322,277727,329474,388127,454274,528527,611522,703919,806402,919679,1044482,1181567,1331714,1495727,1674434,1868687 add $0,2 pow $0,2 sub $0,2 pow $0,2 mov ...
// Copyright (c) 2017-2020, University of Tennessee. All rights reserved. // SPDX-License-Identifier: BSD-3-Clause // This program is free software: you can redistribute it and/or modify it under // the terms of the BSD 3-Clause license. See the accompanying LICENSE file. #include "test.hh" #include "cblas.hh" #includ...
; A011852: a(n) = floor(binomial(n,6)/6). ; 0,0,0,0,0,0,0,1,4,14,35,77,154,286,500,834,1334,2062,3094,4522,6460,9044,12435,16824,22432,29516,38371,49335,62790,79170,98962,122713,151032,184594,224150,270526,324632 bin $0,6 div $0,6 mov $1,$0
.CODE WriteFSBase PROC EXPORT wrfsbase rcx ret WriteFSBase ENDP WriteGSBase PROC EXPORT wrgsbase rcx ret WriteGSBase ENDP ReadFSBase PROC EXPORT rdfsbase rax ret ReadFSBase ENDP ReadGSBase PROC EXPORT rdgsbase rax ret ReadGSBase ENDP ExecuteNop PROC EXPORT nop ret ExecuteNop ENDP END
; A006975: Negated coefficients of Chebyshev T polynomials: a(n) = -A053120(n+10, n), n >= 0. ; Submitted by Jon Maiga ; 1,11,72,364,1568,6048,21504,71808,228096,695552,2050048,5870592,16400384,44843008,120324096,317521920,825556992,2118057984,5369233408,13463453696,33426505728,82239815680,200655503360,485826232320 mo...
NamePointers:: ; entries correspond to *_NAME constants dw MonsterNames dw MoveNames dw UnusedBadgeNames dw ItemNames dw wPartyMonOT ; player's OT names list dw wEnemyMonOT ; enemy's OT names list dw TrainerNames GetName:: ; arguments: ; [wd0b5] = which name ; [wNameListType] = which list ; [wPredefBank] = bank...
; A113709: a(n) is the composite between p(n) and p(n+1), where p(n) is the n-th prime, which is divisible by (p(n+1)-p(n)). ; Submitted by Christian Krause ; 4,6,8,12,16,18,20,24,30,36,40,42,44,48,54,60,66,68,72,78,80,84,96,100,102,104,108,112,126,128,132,138,140,150,156,162,164,168,174,180,190,192,196,198,204,216,224...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2012 - 2013, 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 distributi...
; A017805: Binomial coefficients C(89,n). ; 1,89,3916,113564,2441626,41507642,581106988,6890268572,70625252863,635627275767,5085018206136,36519676207704,237377895350076,1406007533996604,7632612327410136,38163061637050680,176504160071359395,757929628541719755,3031718514166879020,11329053395044653180,39651686882656286130...
db MAGCARGO ; 219 db 50, 50, 120, 30, 80, 80 ; hp atk def spd sat sdf db FIRE, ROCK ; type db 75 ; catch rate db 154 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/magcargo/front.dimension...