text
stringlengths
1
1.05M
; { "technology": "Phantasy Star Gaiden (fast)", "extension": "psgcompr" } .memorymap defaultslot 0 slotsize $4000 slot 0 $0000 .endme .rombankmap bankstotal 1 banksize $4000 banks 1 .endro .bank 0 slot 0 .org 0 ld hl,data ld de,$4000 call PSGaiden_tile_decompr ret ; ends the test .define PSGaiden_decomp_buff...
db MANKEY ; pokedex id db 40 ; base hp db 80 ; base attack db 35 ; base defense db 70 ; base speed db 35 ; base special db FIGHTING ; species type 1 db FIGHTING ; species type 2 db 190 ; catch rate db 74 ; base exp yield INCBIN "pic/gsmon/mankey.pic",0,1 ; 55, sprite dimensions dw MankeyPicFront dw MankeyPicBack ; atta...
; CALLER linkage for function pointers XLIB bcopy LIB memcpy_callee XREF ASMDISP_MEMCPY_CALLEE .bcopy pop af pop bc pop hl pop de push de push hl push bc push af jp memcpy_callee + ASMDISP_MEMCPY_CALLEE
; A005029: 13*2^n. ; 13,26,52,104,208,416,832,1664,3328,6656,13312,26624,53248,106496,212992,425984,851968,1703936,3407872,6815744,13631488,27262976,54525952,109051904,218103808,436207616,872415232,1744830464,3489660928,6979321856,13958643712,27917287424,55834574848,111669149696,223338299392,446676598784,893353197568,1...
/* * Copyright (c) 2016, The OpenThread Authors. * 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 ...
#define __gmp_const const #include <igl/copyleft/cgal/piecewise_constant_winding_number.h> #include <spdlog/spdlog.h> #include "cutmesh_validation.hpp" using namespace mandoline; std::array<int, 2> grid_cells_fully_utilized_count(const CutCellMesh<3>& ccm) { auto V = ccm.vertices(); Eigen::MatrixXd IV = V.tra...
TITLE 'bfp-012-loadtest.asm: Test IEEE Test Data Class, Load And Test' *********************************************************************** * *Testcase IEEE Test Data Classs and Load And Test * Exhaustively test results from the Test Data Class instruction. * Exhaustively test condition code setting from Load A...
; A084568: a(0)=1, a(1)=5, a(n+2)=4a(n), n>0. ; 1,5,8,20,32,80,128,320,512,1280,2048,5120,8192,20480,32768,81920,131072,327680,524288,1310720,2097152,5242880,8388608,20971520,33554432,83886080,134217728,335544320,536870912,1342177280,2147483648 mov $3,$0 add $3,1 mov $8,$0 lpb $3,1 mov $0,$8 sub $3,1 sub $0,$3 ...
;; ;; Copyright (c) 2012-2020, 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...
#include "ThuVien.h" using namespace std; int main() { //Initialize data //LƯU Ý: nhớ đỗi đường dẫn phù hơp const string wd = "E:\\Visual Studio\\ThuVien\\ThuVien\\Data\\"; const string pSachViet = wd + "SachViet.txt"; const string pSachNgoai= wd + "SachNgoai.txt"; const string pDocGia = wd + "DocGia.txt"...
db "PROTECTOR@" ; species name db "It protects its" next "child with its" next "life. The bone of" page "its skull is five" next "times harder than" next "staineless steel.@"
/* * Copyright 2009-2017 Alibaba Cloud 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...
;; ;; Copyright (c) 2020, 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 the ...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006 - 2015, 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...
SECTION code_fp_am9511 PUBLIC l_f32_sub EXTERN cam32_sccz80_fsub_callee defc l_f32_sub = cam32_sccz80_fsub_callee
#include "binary_search.h" #include <benchmark/benchmark.h> #include "data_generators.hpp" using namespace mrai; static void recursive_binary_search( benchmark::State& state ) { auto input = generate_incrementing_sequence( state.range( 0 ) ); auto target = generate_random_target( state.range( 0 ) ); for ( aut...
SECTION code_fp_am9511 PUBLIC _cos EXTERN cam32_sdcc_cos defc _cos = cam32_sdcc_cos
COMMENT @---------------------------------------------------------------------- Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoWrite FILE: documentDisplay.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/92 Initial version DESCR...
; A032509: a(n) = round(tan(Pi*(1-1/n)/2)). ; 0,1,2,2,3,4,4,5,6,6,7,8,8,9,10,10,11,11,12,13,13,14,15,15,16,17,17,18,18,19,20,20,21,22,22,23,24,24,25,25,26,27,27,28,29,29,30,31,31,32,32,33,34,34,35,36,36,37,38,38,39,39,40,41,41,42,43,43,44 add $0,3 mov $3,2 lpb $0 mov $1,11 add $3,$0 mov $0,0 mov $5,8 mul $5,...
// Copyright 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. // // 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 // // https:www.apache.org/licenses/LICENSE-2.0...
/* * Copyright 2017-2018, 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 ...
; A152017: a(n) = n^5-n^4-n^3-n^2-n. ; 0,-3,2,123,684,2345,6222,14007,28088,51669,88890,144947,226212,340353,496454,705135,978672,1331117,1778418,2338539,3031580,3879897,4908222,6143783,7616424,9358725,11406122,13797027,16572948,19778609,23462070,27674847,32472032,37912413,44058594,50977115,58738572,67417737,77093678,8...
global get_fs_sentinel_value:function global pre_initialize_tls:function extern _ELF_START_ extern kernel_start %define IA32_FS_BASE 0xc0000100 get_fs_sentinel_value: mov rax, [fs:0x28] ret pre_initialize_tls: mov ecx, IA32_FS_BASE mov edx, 0x0 mov eax, initial_tls_table wrmsr ...
; A089633: Numbers having no more than one 0 in their binary representation. ; 0,1,2,3,5,6,7,11,13,14,15,23,27,29,30,31,47,55,59,61,62,63,95,111,119,123,125,126,127,191,223,239,247,251,253,254,255,383,447,479,495,503,507,509,510,511,767,895,959,991,1007,1015,1019,1021,1022,1023,1535,1791,1919,1983,2015,2031,2039,2043,2...
-- 7 Billion Humans (2145) -- -- 53: 100 Cubes on the Floor -- -- Author: landfillbaby -- Size: 26 -- Speed: 61 a: step w if c == nothing: jump a endif pickup c if n == wall: mem1 = set 99 jump b endif if s == wall: mem1 = set 9 jump c endif d: mem1 = set n if mem1 != 0: mem1 = calc mem1 - 10 jump e endif mem1...
;***************************************************** ; ; Video Technology library for small C compiler ; ; Juergen Buchmueller ; ;***************************************************** XLIB isqrt ; ----- uint __FASTCALL__ isqrt(uint val) .isqrt ld b,l ; b = LSB of val ld l,h ...
;// TI File $Revision: /main/2 $ ;// Checkin $Date: January 4, 2011 10:10:10 $ ;//########################################################################### ;// ;// FILE: F2806x_CSMPasswords.asm ;// ;// TITLE: F2806x Code Security Module Passwords. ;// ;// DESCRIPTION: ;// ;// This file is used to specify...
/* * Thread key. * * A thead key can be used to create variables that have different values in * different threads. */ #ifndef CONCURRENT__THREADS__THREAD_KEY_HH #define CONCURRENT__THREADS__THREAD_KEY_HH #include "lang/exceptions/ex_not_found.hh" #include "lang/null.hh" #include <pthread.h> namespace concurr...
; ; Fast background area save ; ; MSX version ; ; $Id: bksave.asm,v 1.7 2016-07-02 09:01:36 dom Exp $ ; SECTION smc_clib PUBLIC bksave PUBLIC _bksave PUBLIC bkpixeladdress EXTERN l_tms9918_disable_interrupts EXTERN l_tms9918_enable_inte...
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by Alexander R. Pruss ; by Stefano Bodrato - Oct. 2003 ; ; ; clock functions ; ; ; ------ ; $Id: oztimecompute.asm,v 1.1 2003/10/21 17:15:22 stefano Exp $ ; XLIB Compute Compute: in a,(c) and 0fh add a,a ld...
// Eggs.SD-6 // // Copyright Agustin K-ballo Berge, Fusion Fenix 2015 // // 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) void test_noexcept() noexcept { } void test_noexcept_if() noexcept(true) { } void test_noex...
#include "JWModules.hpp" struct Pete : Module { enum ParamIds { BOWL_PARAM, NUM_PARAMS }; enum InputIds { NUM_INPUTS }; enum OutputIds { NUM_OUTPUTS }; enum LightIds { NUM_LIGHTS }; int catY = 0; bool goingDown = true; Pete() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); } }; ...
.data arrSize: .word 0 arr: .space 4000 #4000 bytes can contains 1000 word elements inputFile: .asciiz "input_sort.txt" outputFile: .asciiz "output_sort.txt" inputBuffer: .space 20000 outputBuffer: .space 20000 .text .globl main main: jal readFile #Read number of elements la $a0, inputBuffer jal charToInt addi $...
; A093142: Expansion of (1-5x)/((1-x)(1-10x)). ; 1,6,56,556,5556,55556,555556,5555556,55555556,555555556,5555555556,55555555556,555555555556,5555555555556,55555555555556,555555555555556,5555555555555556 mov $1,10 pow $1,$0 div $1,9 mul $1,5 add $1,1
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24)) %define fourcc(a) db a moov_start: dd BE(moov_end - moov_start) fourcc("moov") mvhd_start: dd BE(mvhd_end - mvhd_start) dd "mvhd" mvhd_end: trak_start: dd BE(trak_end - trak_start) fourcc("tr...
global _main section .text _main: mov ah, 0x0e ; tty mode mov bp, 0x8000 ; this is an address far away from 0x7c00 so that we don't get overwritten mov sp, bp ; if the stack is empty then sp points to bp mov al, bl ; 0x8000 - 2 push 'A' push 'B' push 'C' po...
; A194149: Sum{floor(j*(5-sqrt(3))/2) : 1<=j<=n}; n-th partial sum of Beatty sequence for (5-sqrt(3))/2. ; 1,4,8,14,22,31,42,55,69,85,102,121,142,164,188,214,241,270,301,333,367,402,439,478,518,560,604,649,696,745,795,847,900,955,1012,1070,1130,1192,1255,1320,1386,1454,1524,1595,1668,1743,1819,1897,1977 mov $2,$0 add ...
#include <catch.hpp> #include <internal/facts/resolvers/ldom_resolver.hpp> #include <facter/facts/collection.hpp> #include <facter/facts/fact.hpp> #include <facter/facts/scalar_value.hpp> #include <facter/facts/map_value.hpp> #include "../../collection_fixture.hpp" using namespace std; using namespace facter::facts; u...
; generated assembly file [May 16 2021 & 17:20:32] ; link using "ld object_file.o - o exe_file" command %define program _start section .text global program program: push rbp mov rbp, rsp mov QWORD [rbp-8], rdi mov QWORD [rbp-16], rsi mov QWORD [rbp-24], 10 mov QWORD [rbp-32], 20 mov BYTE [rbp-33...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: tcp_chktimeout PUBLIC tcp_chktimeout EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .tcp_chktimeout ld a,r_tcp_chktimeout call_pkg(tcp_all) ret nc ; We failed..are we installed? cp rc_pnf scf ...
SYS_EXIT equ 1 SYS_READ equ 3 SYS_WRITE equ 4 STDIN equ 0 STDOUT equ 1 segment .data msg_1 db "Enter a digit:", 0x20 len_1 equ $ - msg_1 msg_2 db "Please enter as second digit:", 0x20 len_2 equ $ - msg_2 msg_3 db "The sum is:", 0x20 len_3 equ $ - msg_3 segment .bss num_1 resb 2...
// Demonstrates a problem where wrong alive ranges result in clobbering an alive variable // The compiler does not realize that A is alive in the statement b=b-a - and thus can clobber it. // Commodore 64 PRG executable file .file [name="euclid-problem.prg", type="prg", segments="Program"] .segmentdef Program [segmen...
processor 6502 org $1000 loop: ldx #$20 lda #$03 sta $d000,X sta $d001,X jmp loop
#include "core/ecs/system_descriptor.h" #include "core/ecs/world.h" #include "world/render/render_tags.h" #include "world/shared/normal_input_single_component.h" #include "world/shared/window_single_component.h" #include "world/shared/window_system.h" #include <SDL2/SDL.h> #include <fmt/format.h> #include <iostream> ...
; $Id: bit_close.asm,v 1.3 2015/01/19 01:32:45 pauloscustodio Exp $ ; ; TI calculator "Infrared port" 1 bit sound functions stub ; ; void bit_close(); ; ; Stefano Bodrato - 24/10/2001 ; PUBLIC bit_close .bit_close ret
// 2tm1637 program for 4-Digit display with TM1637 chip // Code Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) // written by m.stroh #include "TM1637Display.h" #include <fcntl.h> #include <unistd.h> int main(int argc, char *argv[]) { TM1637Display display(23, 24, 60); // CLK to GPIO 23 and DIO...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x117c8, %r10 nop nop nop nop nop and %r8, %r8 and $0xffffffffffffffc0, %r10 movaps (%r10), %xmm5 vpextrq $0, %xmm5, %r14 nop sub %r15, %r15 lea addresses_UC_ht+0x1454...
/* * Copyright (c) 2017, Intel Corporation * * 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, publi...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x151c3, %rsi lea addresses_WC_ht+0x4073, %rdi nop xor $24387, %r15 mov $78, %rcx rep movsb nop nop nop inc %r11 lea addresses_A_ht+0x1bd3f, %rsi lea addresses_normal_ht+0x1ca7...
#include "Object.hpp" #include "Class.hpp" #include "String.hpp" #include "Array.hpp" #include <algorithm> #include <iostream> namespace Rice { Object const Nil(Qnil); Object const True(Qtrue); Object const False(Qfalse); Object const Undef(Qundef); } Rice::Class Rice::Object:: class_of() const { return rb_class...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x19ff6, %rsi lea addresses_normal_ht+0x6e86, %rdi nop nop sub %r15, %r15 mov $93, %rcx rep movsw add $57896, %r8 lea addresses_D_ht+0x150c2, %r15 nop nop nop sub $21504, %r8 mo...
AREA SBCS, CODE, READONLY ENTRY LDR R0, =0X00000000 LDR R1, =0X40001000 MOV R3, #32 LDR R2, [R1], #04 LOOP MOVS R2, R2, LSR #01 ADDCS R0, R0, #01 ADDCC R0, R0, #00 SUBS R3, R3, #01 BNE LOOP STR R0, [R1] UP B UP END
;************************************************************************** ; arch/z80/src/ez80/ez80_reset.asm ; ; 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 ownersh...
%define BOOTADD 0x500 %define COM1 [0x400]
; A POC demonstrating adding a convar to the CSS console and calling CSS console commands. ; Adding a cvar requires 2 steps: 1. Registering the cvar with the console, and 2. Adding the cvar to ; the internal linked-list of all cvars. ; ; Originally written 2010/06/02 by attilathedud. ; System descriptors .38...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ;*************************************************** ; CHARACTER FONT FILE ; Source Assembler File ; ; CODE PAGE: 860 ; FONT RESOLUTION: 8 x...
; A017643: a(n) = (12n+10)^3. ; 1000,10648,39304,97336,195112,343000,551368,830584,1191016,1643032,2197000,2863288,3652264,4574296,5639752,6859000,8242408,9800344,11543176,13481272,15625000,17984728,20570824,23393656,26463592,29791000,33386248,37259704 mul $0,12 add $0,10 pow $0,3
; A092353: Expansion of (1+x^3)/((1-x)^2*(1-x^3)^2). ; 1,2,3,7,11,15,24,33,42,58,74,90,115,140,165,201,237,273,322,371,420,484,548,612,693,774,855,955,1055,1155,1276,1397,1518,1662,1806,1950,2119,2288,2457,2653,2849,3045,3270,3495,3720,3976,4232,4488,4777,5066,5355,5679,6003,6327,6688,7049,7410,7810,8210,8610,9051,9492...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
lui $1,19519 ori $1,$1,48194 lui $2,61094 ori $2,$2,59664 lui $3,50492 ori $3,$3,36876 lui $4,32230 ori $4,$4,13622 lui $5,1046 ori $5,$5,34330 lui $6,4566 ori $6,$6,2118 mthi $1 mtlo $2 sec0: nop nop nop sltu $1,$6,$6 sec1: nop nop xor $6,$4,$3 sltu $3,$6,$6 sec2: nop nop sltiu $6,$5,26085 sltu $3,$6,$6 se...
TITLE "Interrupt Object Support Routines" ;++ ; ; Copyright (c) 2000 Microsoft Corporation ; ; Module Name: ; ; intsup.asm ; ; Abstract: ; ; This module implements the platform specific code to support interrupt ; objects. It contains the interrupt dispatch code and the code template ; ...
; A209404: Negated coefficients of Chebyshev T polynomials: a(n) = -A053120(n+14, n), n >= 0. ; Submitted by Christian Krause ; 1,15,128,816,4320,20064,84480,329472,1208064,4209920,14057472,45260800,141213696,428654592,1270087680,3683254272,10478223360,29297934336,80648077312,218864025600,586290298880,1551944908800,406...
; A087404: a(n) = 4a(n-1) + 5a(n-2). ; 2,4,26,124,626,3124,15626,78124,390626,1953124,9765626,48828124,244140626,1220703124,6103515626,30517578124,152587890626,762939453124,3814697265626,19073486328124,95367431640626,476837158203124 mov $1,5 pow $1,$0 mod $0,2 mul $0,2 add $1,4 sub $1,$0 sub $1,3 mov $0,$1
; A139271: a(n) = 2*n*(4*n-3). ; 0,2,20,54,104,170,252,350,464,594,740,902,1080,1274,1484,1710,1952,2210,2484,2774,3080,3402,3740,4094,4464,4850,5252,5670,6104,6554,7020,7502,8000,8514,9044,9590,10152,10730,11324,11934,12560,13202,13860,14534,15224,15930,16652,17390,18144,18914,19700,20502,21320,22154,23004,23870,24752...
! crt1.s for solaris 2.0. ! Copyright (C) 1992 Free Software Foundation, Inc. ! Written By David Vinayak Henkel-Wallace, June 1992 ! ! 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 ver...
ColosseumObject: db $e ; border block db $0 ; warps db $0 ; signs db $1 ; objects object SPRITE_RED, $2, $2, STAY, $0, $1 ; person
; A010215: Continued fraction for sqrt(167). ; Submitted by Jamie Morken(s3) ; 12,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1,11,1,24,1 gcd $0,262156 mul $0,42 mod $0,13 mov $1,$0 div $1,5 mul $1,7 add $0,$1 sub...
[bits 64] GLOBAL LoadGDT section .text LoadGDT: LGDT [rdi] MOV ax, 0x10 MOV ds, ax MOV es, ax MOV fs, ax MOV gs, ax MOV ss, ax POP rdi MOV rax, 0x08 PUSH rax PUSH rdi RETFQ
; Copyright (c) 2018-2019, tevador <tevador@gmail.com> ; ; 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 above copyright ; notice, this list ...
_cat: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 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) e: 55 ...
;Talk to ADC (don't forget CS assertion) ;Out in C, In in D spicomb: push bc ld d,0 ld b,8 -: rl c ld a,$08 jr nc,+ ld a,$28 +: ; 00D0 1000 ld ($2000),a ; Data out nop or $10 ; 00D1 1000 ld ($2000),a ; SCK high...
SECTION code_clib SECTION code_fp_math48 PUBLIC atan2_callee EXTERN cm48_sccz80_atan2_callee defc atan2_callee = cm48_sccz80_atan2_callee
; A137457: Consider a row of standard dice as a counter. This sequence enumerates the number of changes (one face rotated over an edge to an adjacent face) from n-1 to n. ; 0,1,1,2,1,1,3,1,1,2,1,1,3,1,1,2,1,1,4,1,1,2,1,1,3,1,1,2,1,1,3,1,1,2,1,1,5,1,1,2,1,1,3,1,1,2,1,1,3,1,1,2,1,1,4,1,1,2,1,1,3,1,1,2,1,1,3,1,1,2,1,1,5,1...
; A028878: a(n) = (n+3)^2 - 6. ; 3,10,19,30,43,58,75,94,115,138,163,190,219,250,283,318,355,394,435,478,523,570,619,670,723,778,835,894,955,1018,1083,1150,1219,1290,1363,1438,1515,1594,1675,1758,1843,1930,2019,2110,2203,2298,2395,2494,2595,2698,2803,2910,3019,3130,3243,3358,3475,3594,3715,3838,3963,4090,4219,4350,4483,...
; ; Copy the graphics from screen to the zx printer ; It can be used for any redefined (or not) pseudo-graphics, fonts and characters. ; ; Traps the BREAK key to avoid an unwanted C program termination, etc.. ; ; Stefano Bodrato, 2018 ; ; ; $Id: zx_hardcopy.asm $ ; SECTION code_clib PUBLIC zx_hardcopy PUBL...
; A298008: a(n) = f(n-1,n) + 10*(n-1), where f(a,b) is the number of primes in the range [10*a,10*b]. ; 4,14,22,32,43,52,62,73,82,91,104,111,121,133,141,152,162,172,181,194,200,211,223,232,241,252,262,272,282,291,301,313,320,332,342,352,361,372,382,391,402,411,421,433,442,451,463,471,481,492,502,510,522,530,542,551,562...
; A274072: a(n) = 5^n-(-1)^n. ; 0,6,24,126,624,3126,15624,78126,390624,1953126,9765624,48828126,244140624,1220703126,6103515624,30517578126,152587890624,762939453126,3814697265624,19073486328126,95367431640624,476837158203126,2384185791015624,11920928955078126 mov $1,5 pow $1,$0 add $1,4 div $1,6 mul $1,6
/* The MIT License (MIT) Copyright (c) 2014 by Jakob Larsson 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, m...
; A038057: a(n) = 2^n*n^(n-1). ; 2,8,72,1024,20000,497664,15059072,536870912,22039921152,1024000000000,53119845582848,3043362286338048,190857913323364352,13004222844995895296,956593800000000000000,75557863725914323419136 mov $1,1 add $1,$0 mul $1,2 pow $1,$0 mul $1,2 mov $0,$1
; SCCSID = @(#)dprintf.asm 6.3 92/05/05 ; $Source: R:/source/driver/raid/RCS/Dprintf.asm,v $ ;/***********************************************************************/ ;/* */ ;/* Driver Name: IBM2SCSI.ADD - Adapter Driver for ABIOS SCB Devices */ ;/* --------------------------------------------------- */ ;/*...
; A132118: Triangle read by rows: T(n,k) = n*(n-1)/2 + 2*k - 1. ; 1,2,4,4,6,8,7,9,11,13,11,13,15,17,19,16,18,20,22,24,26,22,24,26,28,30,32,34,29,31,33,35,37,39,41,43,37,39,41,43,45,47,49,51,53,46,48,50,52,54,56,58,60,62,64,56,58,60,62,64,66,68,70,72,74,76,67,69,71,73,75,77,79,81,83,85,87,89,79,81,83,85,87,89,91,93,95,9...
SECTION code_clib SECTION code_fp_math48 PUBLIC am48_dldpush EXTERN am48_dload am48_dldpush: ; load double from memory and push onto stack ; ; enter : hl = double * ; ; exit : AC = double x (*hl) ; stack = double x (*hl) ; ; uses : af, bc, de, hl call am48_dload exx ...
CeladonMart1F_Object: db $f ; border block db 6 ; warps warp 2, 7, 0, -1 warp 3, 7, 0, -1 warp 16, 7, 1, -1 warp 17, 7, 1, -1 warp 12, 1, 0, CELADON_MART_2F warp 1, 1, 0, CELADON_MART_ELEVATOR db 2 ; signs sign 11, 4, 2 ; CeladonMart1Text2 sign 14, 1, 3 ; CeladonMart1Text3 db 1 ; objects object SPRITE_C...
; A246298: Numbers k such that sin(k) > sin(k+1) > sin(k+2) < sin(k+3). ; 3,9,15,22,28,34,40,47,53,59,66,72,78,84,91,97,103,110,116,122,128,135,141,147,154,160,166,172,179,185,191,197,204,210,216,223,229,235,241,248,254,260,267,273,279,285,292,298,304,311,317,323,329,336,342,348,355,361,367,373,380,386,392,399,405,411,...
; A076627: a(n) = tau(n)*(n-tau(n)), where tau(n) = number of divisors of n (A000005). ; 0,0,2,3,6,8,10,16,18,24,18,36,22,40,44,55,30,72,34,84,68,72,42,128,66,88,92,132,54,176,58,156,116,120,124,243,70,136,140,256,78,272,82,228,234,168,90,380,138,264,188,276,102,368,204,384,212,216,114,576,118,232,342,399,244,464,130,3...
; A003516: Binomial coefficients C(2n+1, n-2). ; 1,7,36,165,715,3003,12376,50388,203490,817190,3268760,13037895,51895935,206253075,818809200,3247943160,12875774670,51021117810,202112640600,800472431850,3169870830126,12551759587422,49699896548176,196793068630200,779255311989700,3085851035479212,12220888964329584,4840264...
; A010848: Number of numbers k <= n such that at least one prime factor of n is not a prime factor of k. ; 0,1,2,2,4,5,6,4,6,9,10,10,12,13,14,8,16,15,18,18,20,21,22,20,20,25,18,26,28,29,30,16,32,33,34,30,36,37,38,36,40,41,42,42,42,45,46,40,42,45,50,50,52,45,54,52,56,57,58,58,60,61,60,32,64,65,66,66,68,69,70,60,72,73,70...
; A002055: Number of diagonal dissections of a convex n-gon into n-4 regions. ; 1,9,56,300,1485,7007,32032,143208,629850,2735810,11767536,50220040,212952285,898198875,3771484800,15775723920,65770848990,273420862110,1133802618000,4691140763400,19371432850770,79850555673174,328627887379776,1350540667070000,55430047664173...
#include <Core/Utils/Log.hpp> #include <Engine/Renderer/RenderTechnique/RenderParameters.hpp> namespace Ra { namespace Engine { void RenderParameters::bind( const ShaderProgram* shader ) const { m_boolParamsVector.bind( shader ); m_intParamsVector.bind( shader ); m_uintParamsVector.bind( shader ); m_sc...
db 0 ; species ID placeholder db 130, 85, 80, 60, 85, 95 ; hp atk def spd sat sdf db WATER, ICE ; type db 45 ; catch rate db 219 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 40 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/lapras/front...
/* * Copyright 2021 Google LLC * * 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 ...
/* */ #include<iostream> #include<vector> #include<string> #include<climits> #include<math.h> #include<stack> #include<list> #include<algorithm> #include<queue> #include<map> #include<set> #include <iomanip> #include<utility> #define int int64_t #define vi vector<int> #define vii vector<pair<int,int>> #define vs ve...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/IAreaSettings.hpp> namespace RED4ext { struct DistantLightsAreaSettings : IAreaSettings { static constexpr const char* NAME = "D...
;; ; Name: Print Diagonally (schraeg) in x86_64 ; Author: Saadat M. Baig, <me@saadat.dev> ;; ; system_consts (x86_64) %define SYS_WRITE 1 %define SYS_READ 0 ; fd consts %define STDIN 0 %define STDOUT 1 ; custom consts %define NoError 0 %define NEWLINE 10 section .data ; errors argcError db "...
/**************************************************************************** * * Copyright (c) 2020 PX4 Development Team. 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. Redistri...
; BIOS will load this to address 7c00 [org 0x7c00] mov ah, 0x0e mov al, [my_character] int 0x10 my_character: db 'X' jmp $ times (510-($-$$)) db 0 db 0x55, 0xaa
bits 64 default rel ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; segment .rodata BOARD_HEIGHT equ 28 BOARD_WIDTH equ 45 NEWLINE db 0xd, 0xa, 0 FMT_INT db "%d", 0xd, 0xa, 0 FMT_SHORT db "%hd", 0xd, 0xa, 0 FMT_UINT db "%u", 0xd, 0xa, 0 FMT_CHAR db "%c", 0xd, 0xa, 0 FMT_STRING db "%s", 0xd, 0xa, 0 FMT_TITLE db "Snake in x64...
; A182027: a(n) = number of n-lettered words in the alphabet {1, 2} with as many occurrences of the substring (consecutive subword) [1, 1] as of [2, 2]. ; 1,2,2,2,4,6,12,20,40,70,140,252,504,924,1848,3432,6864,12870,25740,48620,97240,184756,369512,705432,1410864,2704156,5408312,10400600,20801200,40116600,80233200,15511...
// Mapper 34: BNROM // TODO: support NINA-001 scope Mapper34: { Init: addi sp, 8 sw ra, -8(sp) // 32K jal TLB.AllocateVaddr lui a0, 0x1'0000 >> 16 // align 64K to leave a 32k guard page unmapped ls_gp(sw a0, mapper34_prgrom_vaddr) ls_gp(sb a1, mapper34_prgrom_tlb_index) // 0x8000-0x1'0000 addi t0, a0...
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_ipv4_ma_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_ipv4_ma_cfg { Ipv4NetworkGlobal::Ipv4NetworkGlobal() : source_r...